summaryrefslogtreecommitdiffstats
path: root/include/clang/Sema/CodeCompleteConsumer.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-09-18 15:16:27 +0000
committerDouglas Gregor <dgregor@apple.com>2010-09-18 15:16:27 +0000
commit97fe61ca1749110c28eb4570a710c8983711c7b3 (patch)
treed633ec7ae41ad70f3d18638d2c302e6595d2b1a1 /include/clang/Sema/CodeCompleteConsumer.h
parent38c9b1765c56406e97510889b465b7885ccb59f3 (diff)
Give the Objective-C _cmd an "unlikely" code completion priority; it's
very rarely used. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114286 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/CodeCompleteConsumer.h')
-rw-r--r--include/clang/Sema/CodeCompleteConsumer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/clang/Sema/CodeCompleteConsumer.h b/include/clang/Sema/CodeCompleteConsumer.h
index 9a388a294b..c251cedaf3 100644
--- a/include/clang/Sema/CodeCompleteConsumer.h
+++ b/include/clang/Sema/CodeCompleteConsumer.h
@@ -59,7 +59,10 @@ enum {
CCP_NestedNameSpecifier = 75,
/// \brief Priority for a result that isn't likely to be what the user wants,
/// but is included for completeness.
- CCP_Unlikely = 80
+ CCP_Unlikely = 80,
+
+ /// \brief Priority for the Objective-C "_cmd" implicit parameter.
+ CCP_ObjC_cmd = CCP_Unlikely
};
/// \brief Priority value deltas that are added to code-completion results