зеркало из https://github.com/microsoft/clang-1.git
simplify this a bit to remove indirection
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41216 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
ee755f9118
Коммит
c748f27f40
|
@ -289,13 +289,13 @@ void AggExprEmitter::VisitConditionalOperator(const ConditionalOperator *E) {
|
|||
// Handle the GNU extension for missing LHS.
|
||||
assert(E->getLHS() && "Must have LHS for aggregate value");
|
||||
|
||||
CGF.EmitAggExpr(E->getLHS(), DestPtr, VolatileDest);
|
||||
Visit(E->getLHS());
|
||||
CGF.Builder.CreateBr(ContBlock);
|
||||
LHSBlock =CGF. Builder.GetInsertBlock();
|
||||
LHSBlock = CGF.Builder.GetInsertBlock();
|
||||
|
||||
CGF.EmitBlock(RHSBlock);
|
||||
|
||||
CGF.EmitAggExpr(E->getRHS(), DestPtr, VolatileDest);
|
||||
Visit(E->getRHS());
|
||||
CGF.Builder.CreateBr(ContBlock);
|
||||
RHSBlock = CGF.Builder.GetInsertBlock();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче