Skip to content

Commit 3065b9b

Browse files
necipfazilPrabhuk
authored andcommitted
[𝘀𝗽𝗿] changes introduced through rebase
Created using spr 1.3.6-beta.1 [skip ci]
1 parent 058a100 commit 3065b9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/CodeGen/CGCall.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5713,8 +5713,8 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo,
57135713
if (callOrInvoke && *callOrInvoke && (*callOrInvoke)->isIndirectCall()) {
57145714
if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(TargetDecl)) {
57155715
// Type id metadata is set only for C/C++ contexts.
5716-
if (dyn_cast<CXXConstructorDecl>(FD) || dyn_cast<CXXMethodDecl>(FD) ||
5717-
dyn_cast<CXXDestructorDecl>(FD)) {
5716+
if (isa<CXXConstructorDecl>(FD) || isa<CXXMethodDecl>(FD) ||
5717+
isa<CXXDestructorDecl>(FD)) {
57185718
CGM.CreateFunctionTypeMetadataForIcall(FD->getType(), *callOrInvoke);
57195719
}
57205720
}

0 commit comments

Comments
 (0)