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 13b4b03 commit a7cbe5cCopy full SHA for a7cbe5c
lib/ConstExtract/ConstExtract.cpp
@@ -312,7 +312,7 @@ extractCompileTimeValue(Expr *expr, const DeclContext *declContext) {
312
return std::make_shared<FunctionCallValue>(identifier, parameters);
313
}
314
315
- if (auto constructorRefCall = dyn_cast<ConstructorRefCallExpr>(callExpr->getFn())) {
+ if (isa<ConstructorRefCallExpr>(callExpr->getFn())) {
316
std::vector<FunctionParameter> parameters =
317
extractFunctionArguments(callExpr->getArgs(), declContext);
318
return std::make_shared<InitCallValue>(callExpr->getType(), parameters);
0 commit comments