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 54b3f3b commit 39bf934Copy full SHA for 39bf934
clang/lib/CodeGen/CGCall.cpp
@@ -4507,7 +4507,7 @@ void CodeGenFunction::EmitCallArgs(
4507
// First, if a prototype was provided, use those argument types.
4508
bool IsVariadic = false;
4509
if (Prototype.P) {
4510
- const auto *MD = dyn_cast_if_present<const ObjCMethodDecl *>(Prototype.P);
+ const auto *MD = dyn_cast<const ObjCMethodDecl *>(Prototype.P);
4511
if (MD) {
4512
IsVariadic = MD->isVariadic();
4513
ExplicitCC = getCallingConventionForDecl(
0 commit comments