[llvm-branch-commits] [clang][CallGraphSection] Type id metadata for indirect calls (PR #117036)
Prabhu Rajasekaran via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Apr 18 19:55:31 PDT 2025
================
@@ -5077,6 +5079,11 @@ static unsigned getMaxVectorWidth(const llvm::Type *Ty) {
return MaxVectorWidth;
}
+static bool isCXXDeclType(const FunctionDecl *FD) {
+ return isa<CXXConstructorDecl>(FD) || isa<CXXMethodDecl>(FD) ||
+ isa<CXXDestructorDecl>(FD);
----------------
Prabhuk wrote:
This snippet was removed. Marking this as resolved.
https://github.com/llvm/llvm-project/pull/117036
More information about the llvm-branch-commits
mailing list