From 11ed43dabf272fe80cc3820bb1a043ca7c1d53ac Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Mon, 21 May 2012 10:42:01 +0000 Subject: [PATCH] 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 --- include/clang/Sema/CodeCompleteConsumer.h | 6 +++--- 1 file 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; -- 2.50.1