diff options
author | Raphael Isemann <teemperor@gmail.com> | 2019-12-23 13:08:22 +0100 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2019-12-23 13:22:29 +0100 |
commit | 40bd809b6d5cfe69ffcb567245bc521b971a80eb (patch) | |
tree | 17400f18c67cebef19ecbf58da1f32ef78553587 /llvm/test/Bitcode/upgrade-pointer-address-space.ll | |
parent | 5bd9eee53d124d00885395f6f2d6a8c64deca188 (diff) | |
download | bcm5719-llvm-40bd809b6d5cfe69ffcb567245bc521b971a80eb.tar.gz bcm5719-llvm-40bd809b6d5cfe69ffcb567245bc521b971a80eb.zip |
[lldb][NFC] Simplify ClangExternalASTSourceCallbacks
This class is only used by the ClangASTContext so we might as well
simplify this whole logic by just passing a ClangASTContext instead
of a list of callbacks and a void* pointer. If we ever need this
to support other classes then we can define some interface that
ClangASTContext implements but for now this isn't needed.
I also removed any code for m_callback_find_by_name as this was
always a nullptr in LLDB and removed all overriden implementations
that just redefined the default no-op implementation that the
ExternalASTSource provides.
Also removed the assert.h workarounds.
Diffstat (limited to 'llvm/test/Bitcode/upgrade-pointer-address-space.ll')
0 files changed, 0 insertions, 0 deletions