[cfe-commits] r69541 - /cfe/trunk/lib/CodeGen/CodeGenFunction.h

Eli Friedman eli.friedman at gmail.com
Sun Apr 19 13:21:56 PDT 2009


Author: efriedma
Date: Sun Apr 19 15:21:56 2009
New Revision: 69541

URL: http://llvm.org/viewvc/llvm-project?rev=69541&view=rev
Log:
Silence gcc warning.


Modified:
    cfe/trunk/lib/CodeGen/CodeGenFunction.h

Modified: cfe/trunk/lib/CodeGen/CodeGenFunction.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenFunction.h?rev=69541&r1=69540&r2=69541&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenFunction.h (original)
+++ cfe/trunk/lib/CodeGen/CodeGenFunction.h Sun Apr 19 15:21:56 2009
@@ -836,7 +836,7 @@
       
       // Either we've emitted all the call args, or we have a call to a 
       // variadic function.
-      assert(Arg == ArgEnd || CallArgTypeInfo->isVariadic() && 
+      assert((Arg == ArgEnd || CallArgTypeInfo->isVariadic()) && 
              "Extra arguments in non-variadic function!");
       
     }





More information about the cfe-commits mailing list