We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78450ce commit b02f223Copy full SHA for b02f223
clang/lib/CodeGen/CGStmt.cpp
@@ -575,7 +575,7 @@ bool CodeGenFunction::EmitXteamRedStmt(const Stmt *S) {
575
if (OpcRedBO == BO_AddAssign) {
576
RedRHSExpr = RedBO->getRHS()->IgnoreImpCasts();
577
} else {
578
- const Expr *L1RhsExpr = RedBO->getRHS();
+ const Expr *L1RhsExpr = RedBO->getRHS()->IgnoreImpCasts();
579
assert(isa<BinaryOperator>(L1RhsExpr) &&
580
"Expected rhs to be a binary operator");
581
const BinaryOperator *L2BO = cast<BinaryOperator>(L1RhsExpr);
0 commit comments