Skip to content
Snippets Groups Projects
Commit 11ed43da authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

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
parent edb66f38
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment