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 64d5e6c commit 92dcbf4Copy full SHA for 92dcbf4
clang/lib/CodeGen/CGExprScalar.cpp
@@ -2142,9 +2142,9 @@ Value *ScalarExprEmitter::VisitInitListExpr(InitListExpr *E) {
2142
bool Ignore = TestAndClearIgnoreResultAssign();
2143
(void)Ignore;
2144
unsigned NumInitElements = E->getNumInits();
2145
- assert(Ignore == false ||
2146
- (NumInitElements == 0 && E->getType()->isVoidType()) &&
2147
- "init list ignored");
+ assert((Ignore == false ||
+ (NumInitElements == 0 && E->getType()->isVoidType())) &&
+ "init list ignored");
2148
2149
// HLSL initialization lists in the AST are an expansion which can contain
2150
// side-effecting expressions wrapped in opaque value expressions. To properly
0 commit comments