clang/test/Tooling
Sam McCall bff78a489e [Tooling] JSONCompilationDatabasePlugin infers compile commands for missing files
Summary:
See the existing InterpolatingCompilationDatabase for details on how this works.
We've been using this in clangd for a while, the heuristics seem to work well.

Reviewers: bkramer

Subscribers: ilya-biryukov, ioeric, kadircet, cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342228 91177308-0d34-0410-b5e6-96231b3b80d8
2018-09-14 12:24:09 +00:00
..
Inputs [Tooling] Use FixedCompilationDatabase when `compile_flags.txt` is found. 2017-11-09 10:37:39 +00:00
auto-detect-from-source-parent-of-cwd.cpp clang/test/Tooling: Remove mention to PR15590 out of a couple of tests. They are suppressed with another issue. 2014-11-04 13:32:29 +00:00
auto-detect-from-source-parent.cpp clang/test/Tooling: [PR15590] Avoid backslashes in JSON. Should work on win32. 2014-11-04 13:32:17 +00:00
auto-detect-from-source.cpp [Tooling] JSONCompilationDatabasePlugin infers compile commands for missing files 2018-09-14 12:24:09 +00:00
clang-check-analyzer.cpp [Tooling] Allow -flto flags and filter out -Wa, flags 2018-08-22 17:13:40 +00:00
clang-check-args.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
clang-check-ast-dump.cpp Add indents to AST dumping and removed parenthesis from AST nodes. 2013-01-31 01:44:26 +00:00
clang-check-autodetect-dir.cpp clang/test/Tooling: [PR15590] Avoid backslashes in JSON. Should work on win32. 2014-11-04 13:32:17 +00:00
clang-check-builtin-headers.cpp Back out the test case for r266973 for now. 2016-04-21 10:46:14 +00:00
clang-check-chdir.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
clang-check-extra-arg.cpp int function without a return statement is invalid C++. 2015-11-27 18:10:49 +00:00
clang-check-pwd.cpp clang/test/Tooling: Remove mention to PR15590 out of a couple of tests. They are suppressed with another issue. 2014-11-04 13:32:29 +00:00
clang-check-rel-path.cpp Fixed replacements for files with relative paths are not applied. 2013-10-01 14:59:00 +00:00
clang-check-strip-o.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
clang-check.cpp Add 'not' to commands that are expected to fail. 2013-07-04 16:16:58 +00:00
clang-diff-args.test [clang-diff] Make printing of matches optional 2017-08-19 12:04:04 +00:00
clang-diff-ast.cpp [clang-diff] Treat CXXCtorInitializer as a node 2017-08-27 22:52:20 +00:00
clang-diff-basic.cpp [clang-diff] Use the relative name for NamedDecl 2017-08-22 08:56:26 +00:00
clang-diff-bottomup.cpp [clang-diff] Improve and test getNodeValue 2017-08-20 16:18:43 +00:00
clang-diff-html.test [clang-diff] Reformat test, NFC 2017-08-23 16:32:35 +00:00
clang-diff-json.cpp [lit, python] Always add quotes around the python path in lit 2018-08-06 22:37:45 +00:00
clang-diff-opt.cpp [clang-diff] Improve and test getNodeValue 2017-08-20 16:18:43 +00:00
clang-diff-topdown.cpp [clang-diff] Refactor stop-after command-line flag 2017-08-22 17:42:44 +00:00
fixed-database.cpp [tooling] Make compile_flags.txt negative test more hermetic 2017-11-14 15:22:34 +00:00
lit.local.cfg [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
ms-asm-no-target.cpp Change the expectation for test/Tooling/ms-asm-no-target.cpp since 2015-07-08 01:39:38 +00:00
multi-jobs.cpp PR19601: testcase improvement 2014-05-01 19:36:13 +00:00
pch.cpp Remove "REQUIRES:shell" from tests. They work for me. 2014-11-04 13:41:33 +00:00