[lldb][NFC] Move definition of ClangASTMetadata out of ClangExternalASTSourceCommon.h
authorRaphael Isemann <teemperor@gmail.com>
Mon, 16 Dec 2019 09:37:06 +0000 (10:37 +0100)
committerRaphael Isemann <teemperor@gmail.com>
Mon, 16 Dec 2019 09:52:31 +0000 (10:52 +0100)
commitf49d15b3f8ccd7737a62d40adfe5ff1e710788d4
treecf2ceb443b7eb9863566376da68c54ca19e57f87
parent5c29e8c65fe372b0239f32b38a0299d9abef3167
[lldb][NFC] Move definition of ClangASTMetadata out of ClangExternalASTSourceCommon.h

Changing metadata of a ClangASTContext currently requires to include
the unrelated ClangExternalASTSourceCommon.h header because it actually defines
the ClangASTMetadata class.

This also removes the dependency from ClangASTImporter to ClangExternalASTSourceCommon.
lldb/include/lldb/Symbol/ClangASTMetadata.h [new file with mode: 0644]
lldb/include/lldb/Symbol/ClangExternalASTSourceCommon.h
lldb/source/Symbol/CMakeLists.txt
lldb/source/Symbol/ClangASTImporter.cpp
lldb/source/Symbol/ClangASTMetadata.cpp [new file with mode: 0644]
lldb/source/Symbol/ClangExternalASTSourceCommon.cpp