summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGVTT.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2011-01-29 20:24:48 +0000
committerAnders Carlsson <andersca@mac.com>2011-01-29 20:24:48 +0000
commit265aa7c070bdb019c880aca348381cc27189ea03 (patch)
treec938718257f2c4ef6f1e04e85b23020aa5462ca5 /clang/lib/CodeGen/CGVTT.cpp
parent326e4a2966eb68192c8ab7a60cd44ee3791b0f83 (diff)
downloadbcm5719-llvm-265aa7c070bdb019c880aca348381cc27189ea03.tar.gz
bcm5719-llvm-265aa7c070bdb019c880aca348381cc27189ea03.zip
Change CodeGenModule::setTypeVisibility to take a TypeVisibilityKind enum instead of an "IsForRTTI" flag.
llvm-svn: 124546
Diffstat (limited to 'clang/lib/CodeGen/CGVTT.cpp')
-rw-r--r--clang/lib/CodeGen/CGVTT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGVTT.cpp b/clang/lib/CodeGen/CGVTT.cpp
index fd8f576a044..604e4cb7736 100644
--- a/clang/lib/CodeGen/CGVTT.cpp
+++ b/clang/lib/CodeGen/CGVTT.cpp
@@ -386,7 +386,7 @@ CodeGenVTables::EmitVTTDefinition(llvm::GlobalVariable *VTT,
VTT->setLinkage(Linkage);
// Set the right visibility.
- CGM.setTypeVisibility(VTT, RD, /*ForRTTI=*/false);
+ CGM.setTypeVisibility(VTT, RD, CodeGenModule::TVK_ForVTT);
}
llvm::GlobalVariable *CodeGenVTables::GetAddrOfVTT(const CXXRecordDecl *RD) {
OpenPOWER on IntegriCloud