summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-06-17 19:08:05 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-06-17 19:08:05 +0000
commit86d34a72b3c1abcbeb38fa6670f83cd733de1234 (patch)
treee73836c747aa5f9c6f3e258bb25d461317b02a37 /clang/lib/CodeGen/CodeGenModule.h
parent3d920eed5d1908fb62b58124369493dfd3a2b42c (diff)
downloadbcm5719-llvm-86d34a72b3c1abcbeb38fa6670f83cd733de1234.tar.gz
bcm5719-llvm-86d34a72b3c1abcbeb38fa6670f83cd733de1234.zip
CodeGen: Factor out some of the bitset entry creation code. NFC.
llvm-svn: 239927
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index edde426e923..8e671fa7878 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -1115,6 +1115,11 @@ public:
void EmitVTableBitSetEntries(llvm::GlobalVariable *VTable,
const VTableLayout &VTLayout);
+ /// Create a bitset entry for the given vtable.
+ llvm::MDTuple *CreateVTableBitSetEntry(llvm::GlobalVariable *VTable,
+ CharUnits Offset,
+ const CXXRecordDecl *RD);
+
/// \breif Get the declaration of std::terminate for the platform.
llvm::Constant *getTerminateFn();
OpenPOWER on IntegriCloud