diff options
author | Richard Trieu <rtrieu@google.com> | 2018-12-29 02:02:30 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2018-12-29 02:02:30 +0000 |
commit | b3e902f4c38bc5f4a398f474fbe37a8f44fb4d34 (patch) | |
tree | 51d635ce21b65f7cfbea5837ef046dee91c02f1d /clang/lib/AST/DeclTemplate.cpp | |
parent | a87b70d1db817b34f9ef7f4312094da46b575205 (diff) | |
download | bcm5719-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.cpp | 2 |
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; |