Skip to content

Commit 39bf934

Browse files
Address comments.
1 parent 54b3f3b commit 39bf934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CGCall.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4507,7 +4507,7 @@ void CodeGenFunction::EmitCallArgs(
45074507
// First, if a prototype was provided, use those argument types.
45084508
bool IsVariadic = false;
45094509
if (Prototype.P) {
4510-
const auto *MD = dyn_cast_if_present<const ObjCMethodDecl *>(Prototype.P);
4510+
const auto *MD = dyn_cast<const ObjCMethodDecl *>(Prototype.P);
45114511
if (MD) {
45124512
IsVariadic = MD->isVariadic();
45134513
ExplicitCC = getCallingConventionForDecl(

0 commit comments

Comments
 (0)