[cfe-commits] r56800 - /cfe/trunk/lib/Sema/SemaDecl.cpp

Steve Naroff snaroff at apple.com
Mon Sep 29 13:07:12 PDT 2008


Author: snaroff
Date: Mon Sep 29 15:07:05 2008
New Revision: 56800

URL: http://llvm.org/viewvc/llvm-project?rev=56800&view=rev
Log:
Add a random C99 comment/reference.

Modified:
    cfe/trunk/lib/Sema/SemaDecl.cpp

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

==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Mon Sep 29 15:07:05 2008
@@ -562,6 +562,7 @@
     if (StringLiteral *strLiteral = IsStringLiteralInit(Init, DeclType))
       return CheckStringLiteralInit(strLiteral, DeclType);
 
+    // C99 6.7.8p16.
     if (DeclType->isArrayType())
       return Diag(Init->getLocStart(),
                   diag::err_array_init_list_required, 





More information about the cfe-commits mailing list