Revert r366449: [CrossTU] Add a function to retrieve original source location.
authorIlya Biryukov <ibiryukov@google.com>
Thu, 18 Jul 2019 15:43:26 +0000 (15:43 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Thu, 18 Jul 2019 15:43:26 +0000 (15:43 +0000)
commitabc744d2631fd8467c342a05c7c3bc83ad9de54f
treef9909c5273e5abebd7c5e46b63ed2b1c9c23fffa
parent6acdf83cfa57503e1202bc5b5e5582c6c9cdacfa
Revert r366449: [CrossTU] Add a function to retrieve original source location.

Reason: the commit breaks layering by adding a dependency on ASTUnit
(which is inside clangFrontend) from the ASTImporter (which is inside
clangAST).

llvm-svn: 366453
clang/include/clang/AST/ASTImporter.h
clang/include/clang/AST/ASTImporterSharedState.h
clang/include/clang/CrossTU/CrossTranslationUnit.h
clang/lib/AST/ASTImporter.cpp
clang/lib/CrossTU/CrossTranslationUnit.cpp
clang/unittests/CrossTU/CrossTranslationUnitTest.cpp