aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorJorge Gorbe Moya <jgorbe@google.com>2019-10-14 23:25:25 +0000
committerJorge Gorbe Moya <jgorbe@google.com>2019-10-14 23:25:25 +0000
commitb052331bd614ff2d06bbb3e5af15e899e3f7e52f (patch)
tree820eb125616254eeeefc9d6ad5d3c3c174ed78b9 /clang/lib/CodeGen/CodeGenModule.h
parent3be9169caab619c9c87ec29b5530bd2db8382938 (diff)
downloadllvm-b052331bd614ff2d06bbb3e5af15e899e3f7e52f.zip
llvm-b052331bd614ff2d06bbb3e5af15e899e3f7e52f.tar.gz
llvm-b052331bd614ff2d06bbb3e5af15e899e3f7e52f.tar.bz2
Revert "Dead Virtual Function Elimination"
This reverts commit 9f6a873268e1ad9855873d9d8007086c0d01cf4f. llvm-svn: 374844
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 73f81ad..597b8d7 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -1280,16 +1280,8 @@ public:
/// optimization.
bool HasHiddenLTOVisibility(const CXXRecordDecl *RD);
- /// Returns the vcall visibility of the given type. This is the scope in which
- /// a virtual function call could be made which ends up being dispatched to a
- /// member function of this class. This scope can be wider than the visibility
- /// of the class itself when the class has a more-visible dynamic base class.
- llvm::GlobalObject::VCallVisibility
- GetVCallVisibilityLevel(const CXXRecordDecl *RD);
-
/// Emit type metadata for the given vtable using the given layout.
- void EmitVTableTypeMetadata(const CXXRecordDecl *RD,
- llvm::GlobalVariable *VTable,
+ void EmitVTableTypeMetadata(llvm::GlobalVariable *VTable,
const VTableLayout &VTLayout);
/// Generate a cross-DSO type identifier for MD.