From 50a2e0e894083f57f5635155ed79136363a9a442 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. llvm-svn: 124767 --- clang/include/clang/Sema/CodeCompleteConsumer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/include/clang/Sema/CodeCompleteConsumer.h b/clang/include/clang/Sema/CodeCompleteConsumer.h index 8cb8e753934f..00e76eadaf83 100644 --- a/clang/include/clang/Sema/CodeCompleteConsumer.h +++ b/clang/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