diff options
| author | Justin Bogner <mail@justinbogner.com> | 2014-01-13 21:24:22 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2014-01-13 21:24:22 +0000 |
| commit | 0718a3a42004047fa034c31bc7b0b72e2fc24888 (patch) | |
| tree | fd9ff863545d93ba56decb3f5c27e0c52d5f6674 /clang/lib/CodeGen/CGExprAgg.cpp | |
| parent | 06bd6d04e05ee77710707ca777cbf25da4c414f5 (diff) | |
| download | bcm5719-llvm-0718a3a42004047fa034c31bc7b0b72e2fc24888.tar.gz bcm5719-llvm-0718a3a42004047fa034c31bc7b0b72e2fc24888.zip | |
CodeGen: Rename adjustFallThroughCount -> adjustForControlFlow
adjustFallThroughCount isn't a good name, and the documentation was
even worse. This commit attempts to clarify what it's for and when to
use it.
llvm-svn: 199139
Diffstat (limited to 'clang/lib/CodeGen/CGExprAgg.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGExprAgg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGExprAgg.cpp b/clang/lib/CodeGen/CGExprAgg.cpp index 1a6274e8284..3395bd7d33b 100644 --- a/clang/lib/CodeGen/CGExprAgg.cpp +++ b/clang/lib/CodeGen/CGExprAgg.cpp @@ -903,7 +903,7 @@ VisitAbstractConditionalOperator(const AbstractConditionalOperator *E) { CGF.EmitBlock(LHSBlock); Cnt.beginRegion(Builder); Visit(E->getTrueExpr()); - Cnt.adjustFallThroughCount(); + Cnt.adjustForControlFlow(); eval.end(CGF); assert(CGF.HaveInsertPoint() && "expression evaluation ended with no IP!"); @@ -919,7 +919,7 @@ VisitAbstractConditionalOperator(const AbstractConditionalOperator *E) { CGF.EmitBlock(RHSBlock); Cnt.beginElseRegion(); Visit(E->getFalseExpr()); - Cnt.adjustFallThroughCount(); + Cnt.adjustForControlFlow(); eval.end(CGF); CGF.EmitBlock(ContBlock); |

