[cfe-commits] r157182 - /cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h
Benjamin Kramer
benny.kra at googlemail.com
Mon May 21 03:42:01 PDT 2012
Author: d0k
Date: Mon May 21 05:42:01 2012
New Revision: 157182
URL: http://llvm.org/viewvc/llvm-project?rev=157182&view=rev
Log:
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.
Modified:
cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h
Modified: cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h?rev=157182&r1=157181&r2=157182&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h (original)
+++ cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h Mon May 21 05:42:01 2012
@@ -669,13 +669,13 @@
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;
More information about the cfe-commits
mailing list