[cfe-commits] r41528 - /cfe/trunk/Sema/SemaDecl.cpp

Chris Lattner sabre at nondot.org
Mon Aug 27 22:10:31 PDT 2007


Author: lattner
Date: Tue Aug 28 00:10:31 2007
New Revision: 41528

URL: http://llvm.org/viewvc/llvm-project?rev=41528&view=rev
Log:
move a todo

Modified:
    cfe/trunk/Sema/SemaDecl.cpp

Modified: cfe/trunk/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Sema/SemaDecl.cpp?rev=41528&r1=41527&r2=41528&view=diff

==============================================================================
--- cfe/trunk/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/Sema/SemaDecl.cpp Tue Aug 28 00:10:31 2007
@@ -969,10 +969,6 @@
     }
   }
   
-  // TODO: If the result value doesn't fit in an int, it must be a long or long
-  // long value.  ISO C does not support this, but GCC does as an extension,
-  // emit a warning.
-  
   EnumConstantDecl *New = new EnumConstantDecl(IdLoc, Id, EltTy, Val, EnumVal,
                                                LastEnumConst);
   
@@ -988,6 +984,11 @@
   EnumDecl *Enum = cast<EnumDecl>(static_cast<Decl*>(EnumDeclX));
   assert(!Enum->isDefinition() && "Enum redefinitions can't reach here");
   
+  // TODO: If the result value doesn't fit in an int, it must be a long or long
+  // long value.  ISO C does not support this, but GCC does as an extension,
+  // emit a warning.
+  
+  
   // Verify that all the values are okay, and reverse the list.
   EnumConstantDecl *EltList = 0;
   for (unsigned i = 0; i != NumElements; ++i) {





More information about the cfe-commits mailing list