[cfe-commits] r38814 - /cfe/cfe/trunk/Parse/DeclSpec.cpp

sabre at cs.uiuc.edu sabre at cs.uiuc.edu
Wed Jul 11 09:24:52 PDT 2007


Author: sabre
Date: Wed Jul 11 11:24:52 2007
New Revision: 38814

URL: http://llvm.org/viewvc/llvm-project?rev=38814&view=rev
Log:
Add a citation

Modified:
    cfe/cfe/trunk/Parse/DeclSpec.cpp

Modified: cfe/cfe/trunk/Parse/DeclSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Parse/DeclSpec.cpp?rev=38814&r1=38813&r2=38814&view=diff

==============================================================================
--- cfe/cfe/trunk/Parse/DeclSpec.cpp (original)
+++ cfe/cfe/trunk/Parse/DeclSpec.cpp Wed Jul 11 11:24:52 2007
@@ -207,7 +207,7 @@
   
   // If this is C99, require that at least one specifier is present!
   if (Lang.C99 && (getParsedSpecifiers() & PQ_TypeSpecifier) == 0) {
-    D.Report(Loc, diag::w_type_defaults_to_int);
+    D.Report(Loc, diag::w_type_defaults_to_int);    // C99 2.7.2p2.
     TypeSpecType = TST_int;
   }
   





More information about the cfe-commits mailing list