diff options
Diffstat (limited to 'clang/lib/CodeGen/MicrosoftVBTables.cpp')
| -rw-r--r-- | clang/lib/CodeGen/MicrosoftVBTables.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/MicrosoftVBTables.cpp b/clang/lib/CodeGen/MicrosoftVBTables.cpp index 4523aa82b73..f901eb562c9 100644 --- a/clang/lib/CodeGen/MicrosoftVBTables.cpp +++ b/clang/lib/CodeGen/MicrosoftVBTables.cpp @@ -170,7 +170,8 @@ VBTableBuilder::getAddrOfVBTable(const CXXRecordDecl *ReusingBase, SmallString<256> OutName; llvm::raw_svector_ostream Out(OutName); - MangleContext &Mangler = CGM.getCXXABI().getMangleContext(); + MicrosoftMangleContext &Mangler = + cast<MicrosoftMangleContext>(CGM.getCXXABI().getMangleContext()); Mangler.mangleCXXVBTable(MostDerived, BasePath, Out); Out.flush(); StringRef Name = OutName.str(); |

