llvm-project/clang/tools
Gabor Horvath e350b0a196 Add Cross Translation Unit support library
This patch introduces a class that can help to build tools that require cross
translation unit facilities. This class allows function definitions to be loaded
from external AST files based on an index. In order to use this functionality an
index is required. The index format is a flat text file but it might be
replaced with a different solution in the near future. USRs are used as names to
look up the functions definitions. This class also does caching to avoid
redundant loading of AST files.

Right now only function defnitions can be loaded using this API because this is
what the in progress cross translation unit feature of the Static Analyzer
requires. In to future this might be extended to classes, types etc.

Differential Revision: https://reviews.llvm.org/D34512

llvm-svn: 313975
2017-09-22 11:11:01 +00:00
..
arcmt-test [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
c-arcmt-test Remove autoconf support 2016-01-26 21:30:40 +00:00
c-index-test [libclang] Support for querying whether an enum is scoped 2017-07-12 11:35:11 +00:00
clang-check Remove 'Filename' parameter from BeginSourceFileAction. 2017-06-09 01:36:10 +00:00
clang-diff [clang-diff] Properly clear the selection in HTML diff 2017-08-23 16:52:15 +00:00
clang-format Update for llvm change. 2017-09-08 00:01:26 +00:00
clang-format-vs clang-format-vs: Update the VSIX ID. 2017-09-12 18:38:34 +00:00
clang-func-mapping Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00
clang-fuzzer [clang-proto-fuzzer] Fix clang-proto-to-cxx build. 2017-08-23 19:58:07 +00:00
clang-import-test This adds the argument --dump-ir to clang-import-test, which allows 2017-08-07 22:27:30 +00:00
clang-offload-bundler Update for llvm change. 2017-09-08 00:01:26 +00:00
clang-refactor [refactor] Use CommonOptionsParser in clang-refactor 2017-09-14 13:16:14 +00:00
clang-rename clang-rename: let -force handle multiple renames 2017-09-11 20:18:38 +00:00
diag-build
diagtool Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00
driver Put target deduced from executable name at the start of argument list 2017-09-20 15:22:27 +00:00
libclang libclang: expose `clang_getCursorTLSKind` 2017-09-13 02:15:09 +00:00
scan-build [scan-build] Patch to scan-build tool to support "--target=<value>" flag 2017-05-26 19:25:32 +00:00
scan-build-py [scan-build-py] Patch to fix "-analyzer-config" option 2017-07-19 00:29:41 +00:00
scan-view Add coding and shebang. 2017-03-02 18:47:22 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00