[clangd] Fix build for gcc 7.4

This commit is contained in:
Kadir Cetinkaya 2020-06-04 12:02:49 +02:00
parent af6e054730
commit 4f4a8ae72e
No known key found for this signature in database
GPG Key ID: E39E36B8D2057ED6
1 changed files with 1 additions and 1 deletions

View File

@ -1031,7 +1031,7 @@ struct SemaCompleteInput {
PathRef FileName;
const tooling::CompileCommand &Command;
const PreambleData &Preamble;
llvm::Optional<const PreamblePatch> Patch;
const llvm::Optional<PreamblePatch> Patch;
llvm::StringRef Contents;
size_t Offset;
llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS;