Suggest "const" and "volatile" code completions after a function
declarator, the very definition of "low-hanging fruit".
llvm-svn: 112274
diff --git a/clang/lib/Frontend/ASTUnit.cpp b/clang/lib/Frontend/ASTUnit.cpp
index 851c666..c76488b 100644
--- a/clang/lib/Frontend/ASTUnit.cpp
+++ b/clang/lib/Frontend/ASTUnit.cpp
@@ -1555,6 +1555,7 @@
case CodeCompletionContext::CCC_PreprocessorDirective:
case CodeCompletionContext::CCC_NaturalLanguage:
case CodeCompletionContext::CCC_SelectorName:
+ case CodeCompletionContext::CCC_TypeQualifiers:
// We're looking for nothing, or we're looking for names that cannot
// be hidden.
return;