diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2013-06-28 20:45:28 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-06-28 20:45:28 +0000 |
commit | 66f82e68c3d858d6628287b400c7ce9ff771b6ec (patch) | |
tree | 392925e237f088a6311eb7483dc40a26562d62a1 /clang/lib/CodeGen/CGCXXABI.cpp | |
parent | 4146b0404eab2a98023276bc377a947f1c44efc0 (diff) | |
download | bcm5719-llvm-66f82e68c3d858d6628287b400c7ce9ff771b6ec.tar.gz bcm5719-llvm-66f82e68c3d858d6628287b400c7ce9ff771b6ec.zip |
[ms-cxxabi] Move CodeGenVTables::needsVTTParameter to ItaniumCXXABI.
This function only makes sense there. Eventually it should no longer
be part of the CGCXXABI interface, as it is an Itanium-specific detail.
Differential Revision: http://llvm-reviews.chandlerc.com/D821
llvm-svn: 185213
Diffstat (limited to 'clang/lib/CodeGen/CGCXXABI.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGCXXABI.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGCXXABI.cpp b/clang/lib/CodeGen/CGCXXABI.cpp index 7f07344adf0..ea4336c9172 100644 --- a/clang/lib/CodeGen/CGCXXABI.cpp +++ b/clang/lib/CodeGen/CGCXXABI.cpp @@ -293,3 +293,7 @@ LValue CGCXXABI::EmitThreadLocalDeclRefExpr(CodeGenFunction &CGF, ErrorUnsupportedABI(CGF, "odr-use of thread_local global"); return LValue(); } + +bool CGCXXABI::NeedsVTTParameter(GlobalDecl GD) { + return false; +} |