[lldb][NFC] Move NameSearchContext to own header/source files
authorRaphael Isemann <teemperor@gmail.com>
Tue, 25 Feb 2020 11:05:46 +0000 (12:05 +0100)
committerRaphael Isemann <teemperor@gmail.com>
Tue, 25 Feb 2020 11:25:36 +0000 (12:25 +0100)
commitdefd0e24aa054aed583d5272e2cc64ae7b0fdc7d
tree3c34fc1af2d9a90757e3f2789e842c6ee7b6e485
parent555d5ad85a4986d003040eb94109c72579021423
[lldb][NFC] Move NameSearchContext to own header/source files

The class is large enough to be in its own file. This patch also removes the cyclic
dependency between ClangASTSource <-> NameSearchContext.
lldb/include/lldb/lldb-forward.h
lldb/source/Plugins/ExpressionParser/Clang/CMakeLists.txt
lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.h
lldb/source/Plugins/ExpressionParser/Clang/NameSearchContext.cpp [new file with mode: 0644]
lldb/source/Plugins/ExpressionParser/Clang/NameSearchContext.h [new file with mode: 0644]
lldb/unittests/Expression/ClangExpressionDeclMapTest.cpp