File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ class ClangdServer {
184184 bool UseDirtyHeaders = false ;
185185
186186 // If true, parse emplace-like functions in the preamble.
187- bool PreambleParseForwardingFunctions = false ;
187+ bool PreambleParseForwardingFunctions = true ;
188188
189189 // / Whether include fixer insertions for Objective-C code should use #import
190190 // / instead of #include.
@@ -501,7 +501,7 @@ class ClangdServer {
501501 // Whether the client supports folding only complete lines.
502502 bool LineFoldingOnly = false ;
503503
504- bool PreambleParseForwardingFunctions = false ;
504+ bool PreambleParseForwardingFunctions = true ;
505505
506506 bool ImportInsertions = false ;
507507
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class IgnoreDiagnostics : public DiagnosticConsumer {
4040
4141// Options to run clang e.g. when parsing AST.
4242struct ParseOptions {
43- bool PreambleParseForwardingFunctions = false ;
43+ bool PreambleParseForwardingFunctions = true ;
4444
4545 bool ImportInsertions = false ;
4646};
You can’t perform that action at this time.
0 commit comments