Manuel Klimek
65fd0e1fd3
Adds support for auto-detection of compilation databases
...
from a source file and changes clang-check to make use of this.
This makes clang-check just work on in-tree builds, and allows
easy setup via a symlink per source directory to make clang-check
work without any extra configuration.
llvm-svn: 159990
2012-07-10 13:10:51 +00:00
NAKAMURA Takumi
2e8124b6df
clang/test/Tooling: Tweak 4 tests to escape the path separator s/\\/\\\\/g in JSON.
...
llvm-svn: 157351
2012-05-23 22:24:27 +00:00
NAKAMURA Takumi
c910b6d075
test/Tooling/clang-check-pwd.cpp: Mark as XFAIL:mingw for now. Fixing is work-in-progress.
...
llvm-svn: 157170
2012-05-20 22:28:03 +00:00
NAKAMURA Takumi
fe3fa7867e
clang/test/Tooling/clang-check-pwd.cpp: Add "REQUIRES: shell".
...
This passes on MSYS bash and Cygwin.
llvm-svn: 156929
2012-05-16 17:37:56 +00:00
Kaelyn Uhrain
606b5291e5
Fix quoting to allow shell expansion to occur for shell variables
...
introduced by the test harness' expansion of %t.
llvm-svn: 154443
2012-04-10 22:27:27 +00:00
Manuel Klimek
1baf89eac9
Fix tautological FileCheck by moving the CHECK to an extra line.
...
llvm-svn: 154393
2012-04-10 12:12:33 +00:00
Manuel Klimek
35fa2655dd
Implementing a test for the use of PWD to base finding the
...
correct compile commands on, based on an idea by Jordan Rose.
llvm-svn: 154335
2012-04-09 19:10:04 +00:00