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 3c9aae3 commit adbd7fbCopy full SHA for adbd7fb
clang/lib/CIR/CodeGen/CIRGenExpr.cpp
@@ -36,7 +36,7 @@ Address CIRGenFunction::emitPointerWithAlignment(const Expr *expr) {
36
37
// Casts:
38
if (auto const *ce = dyn_cast<CastExpr>(expr)) {
39
- if (auto const *ece = dyn_cast<ExplicitCastExpr>(ce)) {
+ if (isa<ExplicitCastExpr>(ce)) {
40
cgm.errorNYI(expr->getSourceRange(),
41
"emitPointerWithAlignment: explicit cast");
42
return Address::invalid();
0 commit comments