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 daf3236 commit 8d8a3d9Copy full SHA for 8d8a3d9
clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp
@@ -90,9 +90,10 @@ class ConstExprEmitter
90
}
91
92
mlir::Attribute VisitCastExpr(CastExpr *e, QualType destType) {
93
- if (const auto *ece = dyn_cast<ExplicitCastExpr>(e))
+ if (isa<ExplicitCastExpr>(e))
94
cgm.errorNYI(e->getBeginLoc(),
95
"ConstExprEmitter::VisitCastExpr explicit cast");
96
+
97
Expr *subExpr = e->getSubExpr();
98
99
switch (e->getCastKind()) {
0 commit comments