diff options
author | Anders Carlsson <andersca@mac.com> | 2011-01-29 20:24:48 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2011-01-29 20:24:48 +0000 |
commit | 265aa7c070bdb019c880aca348381cc27189ea03 (patch) | |
tree | c938718257f2c4ef6f1e04e85b23020aa5462ca5 /clang/lib/CodeGen/CGVTT.cpp | |
parent | 326e4a2966eb68192c8ab7a60cd44ee3791b0f83 (diff) | |
download | bcm5719-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.cpp | 2 |
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) { |