[cfe-commits] r111898 - /cfe/trunk/lib/Sema/SemaCodeComplete.cpp

Douglas Gregor dgregor at apple.com
Mon Aug 23 21:59:56 PDT 2010


Author: dgregor
Date: Mon Aug 23 23:59:56 2010
New Revision: 111898

URL: http://llvm.org/viewvc/llvm-project?rev=111898&view=rev
Log:
State explicitly that we are intentionally not providing macro completions for declarator name completions

Modified:
    cfe/trunk/lib/Sema/SemaCodeComplete.cpp

Modified: cfe/trunk/lib/Sema/SemaCodeComplete.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaCodeComplete.cpp?rev=111898&r1=111897&r2=111898&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaCodeComplete.cpp (original)
+++ cfe/trunk/lib/Sema/SemaCodeComplete.cpp Mon Aug 23 23:59:56 2010
@@ -2380,6 +2380,9 @@
   }
   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





More information about the cfe-commits mailing list