[cfe-commits] r124767 - /cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h

Francois Pichet pichet2000 at gmail.com
Wed Feb 2 18:02:42 PST 2011


Author: fpichet
Date: Wed Feb  2 20:02:42 2011
New Revision: 124767

URL: http://llvm.org/viewvc/llvm-project?rev=124767&view=rev
Log:
Fix Microsoft bit field problem. This resolves the Index\complete-exprs.c regression on Win32.

Modified:
    cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h

Modified: cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h?rev=124767&r1=124766&r2=124767&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h (original)
+++ cfe/trunk/include/clang/Sema/CodeCompleteConsumer.h Wed Feb  2 20:02:42 2011
@@ -383,7 +383,7 @@
   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





More information about the cfe-commits mailing list