diff options
author | Anders Carlsson <andersca@mac.com> | 2011-01-29 05:26:32 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2011-01-29 05:26:32 +0000 |
commit | c93a776c89bd0820813e5c7c87af2c820d9bbd27 (patch) | |
tree | f52bd4ef4ea157569df7aef9d7d467127e9a4842 /lib/CodeGen/CGVTables.cpp | |
parent | 268ab8c6b92dc40c678d8458a335698fa34915c9 (diff) |
Remove IsDefinition from CodeGenModule::setTypeVisibility; it is always true.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVTables.cpp')
-rw-r--r-- | lib/CodeGen/CGVTables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGVTables.cpp b/lib/CodeGen/CGVTables.cpp index 5df3ac52b5..6d8812a3aa 100644 --- a/lib/CodeGen/CGVTables.cpp +++ b/lib/CodeGen/CGVTables.cpp @@ -3019,7 +3019,7 @@ CodeGenVTables::EmitVTableDefinition(llvm::GlobalVariable *VTable, VTable->setLinkage(Linkage); // Set the right visibility. - CGM.setTypeVisibility(VTable, RD, /*ForRTTI*/ false, /*ForDef*/ true); + CGM.setTypeVisibility(VTable, RD, /*ForRTTI=*/false); } llvm::GlobalVariable * |