We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1430d62 commit 1c5d401Copy full SHA for 1c5d401
clang-tools-extra/clangd/CodeComplete.cpp
@@ -954,6 +954,7 @@ struct CompletionRecorder : public CodeCompleteConsumer {
954
if (Config::current().Completion.CodePatterns ==
955
Config::CodePatternsPolicy::None &&
956
Result.Kind == CodeCompletionResult::RK_Pattern &&
957
+ // keep allowing the include files autocomplete suggestions
958
ContextKind != CodeCompletionContext::CCC_IncludedFile)
959
continue;
960
// Class members that are shadowed by subclasses are usually noise.
0 commit comments