diff options
author | Raphael Isemann <teemperor@gmail.com> | 2019-12-17 13:38:07 +0100 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2019-12-17 14:04:12 +0100 |
commit | 4aee81c4f73359230e358108bc428e3b0cc59566 (patch) | |
tree | 75df72f975a0f4ce07975325b6faacdf83c65d99 /clang/lib/AST/ASTImporter.cpp | |
parent | e7f585ed6109b1f20131b91af87e3c2ae1e59616 (diff) | |
download | bcm5719-llvm-4aee81c4f73359230e358108bc428e3b0cc59566.tar.gz bcm5719-llvm-4aee81c4f73359230e358108bc428e3b0cc59566.zip |
[lldb][NFC] Allow creating ClangExpressionDeclMap and ClangASTSource without a Target and add basic unit test
The ClangExpressionDeclMap should be testable from a unit test. This is currently
impossible as they have both dependencies on Target/ExecutionContext from their
constructor. This patch allows constructing these classes without an active Target
and adds the missing tests for running without a target that we can do at least
a basic lookup test without crashing.
Diffstat (limited to 'clang/lib/AST/ASTImporter.cpp')
0 files changed, 0 insertions, 0 deletions