Initial check-in of a skeleton of the future clang-tools-extra repository.


git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@161378 91177308-0d34-0410-b5e6-96231b3b80d8
Put it in the correct place within the repository.


git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@161398 91177308-0d34-0410-b5e6-96231b3b80d8
Fix compilation with mainline AST matchers.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@161399 91177308-0d34-0410-b5e6-96231b3b80d8
Make some directories for the tool-specific regression tests in the new
repository.


git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@161400 91177308-0d34-0410-b5e6-96231b3b80d8
Copy the existing regression test for remove-cstr-calls from the tooling branch
to preserve its history. It's not yet functional.


git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@161401 91177308-0d34-0410-b5e6-96231b3b80d8
Copy some of the testing infrastructure from the primary Clang repository into
the new tools repo to preserve history. I'll subsequently be editting these
down to work w/ the tooling test suites.


git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@161402 91177308-0d34-0410-b5e6-96231b3b80d8
Add a root CMakeLists.txt and fix up all the test build stuff.

With this we can build and test the remove-cstr-calls tool which should
serve as a good example of how to add tools and their tests to the
repository.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@161404 91177308-0d34-0410-b5e6-96231b3b80d8
Added code to let the user specify a compilation database on the command line

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@161432 91177308-0d34-0410-b5e6-96231b3b80d8
Replace the stub README with a proper one based on Clang's.

Also test the commit hooks for the new repository.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@161506 91177308-0d34-0410-b5e6-96231b3b80d8
Add a copy of the LLVM license here so that even a stand-alone checkout
includes the proper license text.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@161514 91177308-0d34-0410-b5e6-96231b3b80d8
Fix up the makefiles in the tools repo, and add a top-level makefile
suitable for building as part of the LLVM/Clang build.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@161538 91177308-0d34-0410-b5e6-96231b3b80d8
Fix the order of the link arguments for this tool. I think there is
something fishy with the rest of the order too, but this at least lets
it build for me.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@161550 91177308-0d34-0410-b5e6-96231b3b80d8
Use parallel dirs here, there shouldn't be cross-tool dependencies
anyways. Also place it after the config makefile inclusion which seems
the more canonical location.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@161613 91177308-0d34-0410-b5e6-96231b3b80d8
Added a tool template to make creating new tools simpler

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@161886 91177308-0d34-0410-b5e6-96231b3b80d8
Rename directory from 'toolTemplate' to 'tool-template'

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@161887 91177308-0d34-0410-b5e6-96231b3b80d8
Fixed some renaming detritus in the comments, and an unused variable warning. Thanks to David Blaikie and Manuel Klimek for the comments

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@162031 91177308-0d34-0410-b5e6-96231b3b80d8