diff options
Diffstat (limited to 'clang/lib/AST/ItaniumMangle.cpp')
-rw-r--r-- | clang/lib/AST/ItaniumMangle.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/lib/AST/ItaniumMangle.cpp b/clang/lib/AST/ItaniumMangle.cpp index cb3c920bcf0..13923ae8f6b 100644 --- a/clang/lib/AST/ItaniumMangle.cpp +++ b/clang/lib/AST/ItaniumMangle.cpp @@ -137,6 +137,9 @@ public: raw_ostream &); void mangleCXXVTable(const CXXRecordDecl *RD, raw_ostream &); + void mangleCXXVFTable(const CXXRecordDecl *Derived, + ArrayRef<const CXXRecordDecl *> BasePath, + raw_ostream &Out); void mangleCXXVTT(const CXXRecordDecl *RD, raw_ostream &); void mangleCXXVBTable(const CXXRecordDecl *Derived, @@ -3772,6 +3775,14 @@ void ItaniumMangleContext::mangleCXXVTable(const CXXRecordDecl *RD, Mangler.mangleNameOrStandardSubstitution(RD); } +void +ItaniumMangleContext::mangleCXXVFTable(const CXXRecordDecl *Derived, + ArrayRef<const CXXRecordDecl *> BasePath, + raw_ostream &Out) { + llvm_unreachable( + "The Itanium C++ ABI does not have vftables (use vtables instead)!"); +} + void ItaniumMangleContext::mangleCXXVTT(const CXXRecordDecl *RD, raw_ostream &Out) { // <special-name> ::= TT <type> # VTT structure |