diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-05-21 10:42:01 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-05-21 10:42:01 +0000 |
commit | 11ed43dabf272fe80cc3820bb1a043ca7c1d53ac (patch) | |
tree | 0a3200135c19ec981c631dbc930d96ed5b480a9d /include/clang/Sema/CodeCompleteConsumer.h | |
parent | edb66f38dbdc501342aa1f17c8a15a34ed73584d (diff) |
Unpack enums in CodeCompletetionResult.
In theory they should be wide enough even when the enum type is signed, but it
looks like MSVC9 still has problems with it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157182 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 56260760e8..001beca905 100644 --- a/include/clang/Sema/CodeCompleteConsumer.h +++ b/include/clang/Sema/CodeCompleteConsumer.h @@ -669,13 +669,13 @@ public: unsigned StartParameter; /// \brief The kind of result stored here. - ResultKind Kind : 3; + ResultKind Kind; /// \brief The cursor kind that describes this result. - CXCursorKind CursorKind : 16; + CXCursorKind CursorKind; /// \brief The availability of this result. - CXAvailabilityKind Availability : 8; + CXAvailabilityKind Availability; /// \brief Whether this result is hidden by another name. bool Hidden : 1; |