diff options
author | Reid Kleckner <rnk@google.com> | 2018-03-29 22:42:24 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2018-03-29 22:42:24 +0000 |
commit | 9e3eb9f9d2a2e34d360d740fe95fc84411010b85 (patch) | |
tree | 7123c24c2a9987ada5f9db2d100b5ebf2dfe1be2 /clang/lib/Lex/ModuleMap.cpp | |
parent | f423062aff913a7f7867de74e7c984b43124b300 (diff) | |
download | llvm-9e3eb9f9d2a2e34d360d740fe95fc84411010b85.zip llvm-9e3eb9f9d2a2e34d360d740fe95fc84411010b85.tar.gz llvm-9e3eb9f9d2a2e34d360d740fe95fc84411010b85.tar.bz2 |
Hoist MethodVFTableLocation out of MicrosoftVTableContext, NFC
This allows forward declaring it so that we can add it to
MicrosoftMangleContext::mangleVirtualMemPtrThunk without including
VTableBuilder.h. That saves a hashtable lookup when emitting virtual
member pointer functions.
It also shortens a really long type name. This struct has "VFtable" in
the name, so it seems pretty unlikely that someone will assume it is
generally useful for non-MS C++ ABI stuff.
llvm-svn: 328845
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions