The style guide prefers preincrement expressions :-)

llvm-svn: 181373
This commit is contained in:
Adrian Prantl 2013-05-07 22:41:09 +00:00
parent 95652c7ccb
commit 8f1fb6f03d
1 changed files with 2 additions and 2 deletions

View File

@ -841,9 +841,9 @@ void CodeGenFunction::EmitReturnStmt(const ReturnStmt &S) {
}
}
NumReturnExprs += 1;
++NumReturnExprs;
if (RV == 0 || RV->isEvaluatable(getContext()))
NumSimpleReturnExprs += 1;
++NumSimpleReturnExprs;
cleanupScope.ForceCleanup();
EmitBranchThroughCleanup(ReturnBlock);