summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclTemplate.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2018-12-29 02:02:30 +0000
committerRichard Trieu <rtrieu@google.com>2018-12-29 02:02:30 +0000
commitb3e902f4c38bc5f4a398f474fbe37a8f44fb4d34 (patch)
tree51d635ce21b65f7cfbea5837ef046dee91c02f1d /clang/lib/AST/DeclTemplate.cpp
parenta87b70d1db817b34f9ef7f4312094da46b575205 (diff)
downloadbcm5719-llvm-b3e902f4c38bc5f4a398f474fbe37a8f44fb4d34.tar.gz
bcm5719-llvm-b3e902f4c38bc5f4a398f474fbe37a8f44fb4d34.zip
Add vtable anchor to classes.
llvm-svn: 350143
Diffstat (limited to 'clang/lib/AST/DeclTemplate.cpp')
-rw-r--r--clang/lib/AST/DeclTemplate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/DeclTemplate.cpp b/clang/lib/AST/DeclTemplate.cpp
index 04e1803281b..76f29dac164 100644
--- a/clang/lib/AST/DeclTemplate.cpp
+++ b/clang/lib/AST/DeclTemplate.cpp
@@ -149,6 +149,8 @@ void *allocateDefaultArgStorageChain(const ASTContext &C) {
// RedeclarableTemplateDecl Implementation
//===----------------------------------------------------------------------===//
+void RedeclarableTemplateDecl::anchor() {}
+
RedeclarableTemplateDecl::CommonBase *RedeclarableTemplateDecl::getCommonPtr() const {
if (Common)
return Common;
OpenPOWER on IntegriCloud