summaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorNecip Fazil Yildiran <necip@google.com>2024-04-03 15:20:04 -0700
committerprabhukr <prabhukr@google.com>2024-04-03 15:20:04 -0700
commit71a46c10cced25d66d36bb224131e75b79768397 (patch)
tree9ebc98309a3b662205acadd38b306447e6bd4e37 /clang/lib/CodeGen/CodeGenModule.h
parent029e1d751503268e3d8b01db769e710835c3010d (diff)
parent4963b5cf66f47be76d1db52caab0aa83e707538e (diff)
Created using spr 1.3.6-beta.1
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 1cc447765e2c..12ac8d0f57ee 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -1473,6 +1473,10 @@ public:
void CreateFunctionTypeMetadataForIcall(const FunctionDecl *FD,
llvm::Function *F);
+ /// Create and attach type metadata to the given call.
+ void CreateFunctionTypeMetadataForIcall(const QualType &QT,
+ llvm::CallBase *CB);
+
/// Set type metadata to the given function.
void setKCFIType(const FunctionDecl *FD, llvm::Function *F);