From: Francois Pichet Date: Thu, 3 Feb 2011 02:02:42 +0000 (+0000) Subject: Fix Microsoft bit field problem. This resolves the Index\complete-exprs.c regression... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b51eee43676c2f4b7c4e1fa1648b438051b2b098;p=clang Fix Microsoft bit field problem. This resolves the Index\complete-exprs.c regression on Win32. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124767 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Sema/CodeCompleteConsumer.h b/include/clang/Sema/CodeCompleteConsumer.h index 8cb8e75393..00e76eadaf 100644 --- a/include/clang/Sema/CodeCompleteConsumer.h +++ b/include/clang/Sema/CodeCompleteConsumer.h @@ -383,7 +383,7 @@ private: unsigned Priority : 30; /// \brief The availability of this code-completion result. - CXAvailabilityKind Availability : 2; + unsigned Availability : 2; CodeCompletionString(const CodeCompletionString &); // DO NOT IMPLEMENT CodeCompletionString &operator=(const CodeCompletionString &); // DITTO