]> granicus.if.org Git - clang/commitdiff
Fix Microsoft bit field problem. This resolves the Index\complete-exprs.c regression...
authorFrancois Pichet <pichet2000@gmail.com>
Thu, 3 Feb 2011 02:02:42 +0000 (02:02 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Thu, 3 Feb 2011 02:02:42 +0000 (02:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124767 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Sema/CodeCompleteConsumer.h

index 8cb8e753934f69bb7064d208f7fe2669eed3a296..00e76eadaf83ba8c9f48f54236b8c22da2f56e17 100644 (file)
@@ -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