File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1023,7 +1023,7 @@ struct SemaCompleteInput {
1023
1023
PathRef FileName;
1024
1024
const tooling::CompileCommand &Command;
1025
1025
const PreambleData &Preamble;
1026
- const PreamblePatch &PreamblePatch ;
1026
+ const PreamblePatch &Patch ;
1027
1027
llvm::StringRef Contents;
1028
1028
size_t Offset;
1029
1029
llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS;
@@ -1096,7 +1096,7 @@ bool semaCodeComplete(std::unique_ptr<CodeCompleteConsumer> Consumer,
1096
1096
PreambleBounds PreambleRegion =
1097
1097
ComputePreambleBounds (*CI->getLangOpts (), ContentsBuffer.get (), 0 );
1098
1098
bool CompletingInPreamble = PreambleRegion.Size > Input.Offset ;
1099
- Input.PreamblePatch .apply (*CI);
1099
+ Input.Patch .apply (*CI);
1100
1100
// NOTE: we must call BeginSourceFile after prepareCompilerInstance. Otherwise
1101
1101
// the remapped buffers do not get freed.
1102
1102
auto Clang = prepareCompilerInstance (
You can’t perform that action at this time.
0 commit comments