summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-10-24 14:11:55 +0000
committerDouglas Gregor <dgregor@apple.com>2012-10-24 14:11:55 +0000
commit47c089624f2e5d5251dfe7989bf34e4a158ccdab (patch)
treec36fdb33e53ef5c71e495fdbbd3feb4504d4167d /clang/lib/CodeGen/CodeGenModule.cpp
parent04dbc2d02211f5953a62c710b8df4185e2000ffd (diff)
downloadbcm5719-llvm-47c089624f2e5d5251dfe7989bf34e4a158ccdab.tar.gz
bcm5719-llvm-47c089624f2e5d5251dfe7989bf34e4a158ccdab.zip
Remove the HiddenWeakTemplateVTables CodeGen option. It's currently unused.
llvm-svn: 166561
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 5a1ff6e978b..5425eaf64eb 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -353,9 +353,7 @@ void CodeGenModule::setTypeVisibility(llvm::GlobalValue *GV,
// to deal with mixed-visibility symbols.
case TSK_ExplicitSpecialization:
case TSK_ImplicitInstantiation:
- if (!CodeGenOpts.HiddenWeakTemplateVTables)
- return;
- break;
+ return;
}
// If there's a key function, there may be translation units
OpenPOWER on IntegriCloud