r181373 - The style guide prefers preincrement expressions :-)
Adrian Prantl
aprantl at apple.com
Tue May 7 15:41:09 PDT 2013
Author: adrian
Date: Tue May 7 17:41:09 2013
New Revision: 181373
URL: http://llvm.org/viewvc/llvm-project?rev=181373&view=rev
Log:
The style guide prefers preincrement expressions :-)
Modified:
cfe/trunk/lib/CodeGen/CGStmt.cpp
Modified: cfe/trunk/lib/CodeGen/CGStmt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGStmt.cpp?rev=181373&r1=181372&r2=181373&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGStmt.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGStmt.cpp Tue May 7 17:41:09 2013
@@ -841,9 +841,9 @@ void CodeGenFunction::EmitReturnStmt(con
}
}
- NumReturnExprs += 1;
+ ++NumReturnExprs;
if (RV == 0 || RV->isEvaluatable(getContext()))
- NumSimpleReturnExprs += 1;
+ ++NumSimpleReturnExprs;
cleanupScope.ForceCleanup();
EmitBranchThroughCleanup(ReturnBlock);
More information about the cfe-commits
mailing list