[cfe-commits] r42007 - /cfe/trunk/include/clang/AST/Decl.h

Chris Lattner sabre at nondot.org
Sun Sep 16 12:12:46 PDT 2007


Author: lattner
Date: Sun Sep 16 14:12:45 2007
New Revision: 42007

URL: http://llvm.org/viewvc/llvm-project?rev=42007&view=rev
Log:
Fix a GCC warning, patch by Justin Handville

Modified:
    cfe/trunk/include/clang/AST/Decl.h

Modified: cfe/trunk/include/clang/AST/Decl.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Decl.h?rev=42007&r1=42006&r2=42007&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/Decl.h (original)
+++ cfe/trunk/include/clang/AST/Decl.h Sun Sep 16 14:12:45 2007
@@ -57,7 +57,7 @@
   Kind DeclKind   :  8;
   
   /// InvalidDecl - This indicates a semantic error occurred.
-  int InvalidDecl :  1;
+  unsigned int InvalidDecl :  1;
 
 protected:
   Decl(Kind DK) : DeclKind(DK), InvalidDecl(0) {





More information about the cfe-commits mailing list