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/CGExprComplex.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/CGExprComplex.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGExprComplex.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGExprComplex.cpp b/clang/lib/CodeGen/CGExprComplex.cpp index 145d94620ee..938b0b331d7 100644 --- a/clang/lib/CodeGen/CGExprComplex.cpp +++ b/clang/lib/CodeGen/CGExprComplex.cpp @@ -760,7 +760,7 @@ VisitAbstractConditionalOperator(const AbstractConditionalOperator *E) { CGF.EmitBlock(LHSBlock); Cnt.beginRegion(Builder); ComplexPairTy LHS = Visit(E->getTrueExpr()); - Cnt.adjustFallThroughCount(); + Cnt.adjustForControlFlow(); LHSBlock = Builder.GetInsertBlock(); CGF.EmitBranch(ContBlock); eval.end(CGF); @@ -769,7 +769,7 @@ VisitAbstractConditionalOperator(const AbstractConditionalOperator *E) { CGF.EmitBlock(RHSBlock); Cnt.beginElseRegion(); ComplexPairTy RHS = Visit(E->getFalseExpr()); - Cnt.adjustFallThroughCount(); + Cnt.adjustForControlFlow(); RHSBlock = Builder.GetInsertBlock(); CGF.EmitBlock(ContBlock); eval.end(CGF); |