diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-09-16 16:21:35 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-09-16 16:21:35 +0000 |
commit | d754d5546ef1faa4216298fd95bc6a7f15808fd2 (patch) | |
tree | 4c17e19b36be58f34768cd63b6749cc532262470 /include/clang/Sema/CodeCompleteConsumer.h | |
parent | da531344723a0533230a7551dd12d6b7e464dc82 (diff) |
Swap the priorities of constants and types, so that we prefer types.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114086 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/CodeCompleteConsumer.h')
-rw-r--r-- | include/clang/Sema/CodeCompleteConsumer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/Sema/CodeCompleteConsumer.h b/include/clang/Sema/CodeCompleteConsumer.h index 452a184250..9a388a294b 100644 --- a/include/clang/Sema/CodeCompleteConsumer.h +++ b/include/clang/Sema/CodeCompleteConsumer.h @@ -49,10 +49,10 @@ enum { CCP_CodePattern = 30, /// \brief Priority for a non-type declaration. CCP_Declaration = 50, - /// \brief Priority for a constant value (e.g., enumerator). - CCP_Constant = 60, /// \brief Priority for a type. - CCP_Type = 65, + CCP_Type = 60, + /// \brief Priority for a constant value (e.g., enumerator). + CCP_Constant = 65, /// \brief Priority for a preprocessor macro. CCP_Macro = 70, /// \brief Priority for a nested-name-specifier. |