State explicitly that we are intentionally not providing macro completions for declarator name completions
llvm-svn: 111898
This commit is contained in:
@@ -2380,6 +2380,9 @@ void Sema::CodeCompleteDeclarator(Scope *S,
|
||||
}
|
||||
Results.ExitScope();
|
||||
|
||||
// Note that we intentionally suppress macro results here, since we do not
|
||||
// encourage using macros to produce the names of entities.
|
||||
|
||||
HandleCodeCompleteResults(this, CodeCompleter,
|
||||
AllowNestedNameSpecifiers
|
||||
? CodeCompletionContext::CCC_PotentiallyQualifiedName
|
||||
|
||||
Reference in New Issue
Block a user