]> granicus.if.org Git - clang/commitdiff
Add a missing case
authorDouglas Gregor <dgregor@apple.com>
Wed, 25 Aug 2010 18:04:30 +0000 (18:04 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 25 Aug 2010 18:04:30 +0000 (18:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112065 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/ASTUnit.cpp

index fe460bb6443dd8ef6064dd229d1657ca2c9b6e59..31e42a3c368136623554d170f25c2cf12e6b0cf3 100644 (file)
@@ -1552,6 +1552,7 @@ void CalculateHiddenNames(const CodeCompletionContext &Context,
   case CodeCompletionContext::CCC_MacroName:
   case CodeCompletionContext::CCC_MacroNameUse:
   case CodeCompletionContext::CCC_PreprocessorExpression:
+  case CodeCompletionContext::CCC_NaturalLanguage:
     // If we're just looking for protocol or macro names, nothing can hide them.
     return;
   }