aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGVTables.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
commitaafd111afa6acd50fe4bec6c41add02ecf556535 (patch)
tree36242a5fa0ba79b03e72a8f8700cfd32a7390f5e /lib/CodeGen/CGVTables.cpp
parent19baf068e8d113a242694003ba04508282804e8e (diff)
Remove the HiddenWeakTemplateVTables CodeGen option. It's currently unused.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166561 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVTables.cpp')
-rw-r--r--lib/CodeGen/CGVTables.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/CGVTables.cpp b/lib/CodeGen/CGVTables.cpp
index 4aeed1b00e..a1a661be84 100644
--- a/lib/CodeGen/CGVTables.cpp
+++ b/lib/CodeGen/CGVTables.cpp
@@ -156,8 +156,7 @@ static void setThunkVisibility(CodeGenModule &CGM, const CXXMethodDecl *MD,
case TSK_ExplicitSpecialization:
case TSK_ImplicitInstantiation:
- if (!CGM.getCodeGenOpts().HiddenWeakTemplateVTables)
- return;
+ return;
break;
}