From b51eee43676c2f4b7c4e1fa1648b438051b2b098 Mon Sep 17 00:00:00 2001 From: Francois Pichet Date: Thu, 3 Feb 2011 02:02:42 +0000 Subject: [PATCH] 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 --- include/clang/Sema/CodeCompleteConsumer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0