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 fe8a62c commit d63c8beCopy full SHA for d63c8be
clang/lib/AST/ExprConstant.cpp
@@ -8006,7 +8006,8 @@ class ExprEvaluatorBase
8006
assert(CorrespondingCallOpSpecialization &&
8007
"We must always have a function call operator specialization "
8008
"that corresponds to our static invoker specialization");
8009
- FD = cast<CXXMethodDecl>(CorrespondingCallOpSpecialization);
+ assert(isa<CXXMethodDecl>(CorrespondingCallOpSpecialization));
8010
+ FD = CorrespondingCallOpSpecialization;
8011
} else
8012
FD = LambdaCallOp;
8013
} else if (FD->isReplaceableGlobalAllocationFunction()) {
0 commit comments