Author: dgregor
Date: Wed Feb 15 09:59:09 2012
New Revision: 150585

URL: http://llvm.org/viewvc/llvm-project?rev=150585&view=rev
Log:
Fix silly precedence error.

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

Modified: cfe/trunk/lib/Sema/SemaStmt.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaStmt.cpp?rev=150585&r1=150584&r2=150585&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaStmt.cpp (original)
+++ cfe/trunk/lib/Sema/SemaStmt.cpp Wed Feb 15 09:59:09 2012
@@ -1849,7 +1849,7 @@
         !Context.hasSameType(ReturnT, CurCap->ReturnType)) { 
       Diag(ReturnLoc, diag::err_typecheck_missing_return_type_incompatible) 
           << ReturnT << CurCap->ReturnType
-          << getCurLambda() != 0;
+          << (getCurLambda() != 0);
       return StmtError();
     }
     CurCap->ReturnType = ReturnT;


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to