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.

llvm-svn: 157182
This commit is contained in:
Benjamin Kramer 2012-05-21 10:42:01 +00:00
parent 163a8338be
commit a63d9531dd
1 changed files with 3 additions and 3 deletions

View File

@ -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;