diff options
Diffstat (limited to 'lib/Sema/SemaCodeComplete.cpp')
-rw-r--r-- | lib/Sema/SemaCodeComplete.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Sema/SemaCodeComplete.cpp b/lib/Sema/SemaCodeComplete.cpp index 3c2c54f952..be94c27158 100644 --- a/lib/Sema/SemaCodeComplete.cpp +++ b/lib/Sema/SemaCodeComplete.cpp @@ -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 |