Skip to content
Commit 4aee81c4 authored by Raphael Isemann's avatar Raphael Isemann
Browse files

[lldb][NFC] Allow creating ClangExpressionDeclMap and ClangASTSource without a...

[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.
parent e7f585ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment