summaryrefslogtreecommitdiff
path: root/tools/Makefile
Commit message (Collapse)AuthorAge
* Re-add clang-check to the Makefile build.Jordan Rose2013-08-22
| | | | | | I was bound to screw this up somehow. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189029 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix dependencies now that the ARC migrator depends on the static analyzer.Jordan Rose2013-08-22
| | | | | | | | | | Thanks for pointing this out, Stephen. I think this is right now -- I attempted to try all four valid combinations with both the autoconf and CMake builds. See also LLVM changes to the configure script. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189027 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix up the BUILD_CLANG_ONLY code to work properly after r184794.Bob Wilson2013-07-26
| | | | | | | | | | When BUILD_CLANG_ONLY is set to YES, it is supposed to simply limit the tools that get built. The change in r184794 broke this feature by moving libclang and c-index-test into PARALLEL_DIRS. Those are both supposed to be in DIRS, because c-index-test has a build dependency on libclang and cannot be reliably built in parallel with it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187246 91177308-0d34-0410-b5e6-96231b3b80d8
* With CLANG_ENABLE_STATIC_ANALYZER=0, link clang properly and skip clang-check.Jordan Rose2013-07-03
| | | | | | | | | | | | | | | Previously, the CMake build still tried to link clang against the static analyzer libraries, even if CLANG_ENABLE_STATIC_ANALYZER was off. Furthermore, clang-check depends on the analyzer, so it should be disabled (in both CMake and configure builds). In theory, clang-check could be made to conditionally include analyzer support (like clang itself), but for now this at least gets a CMake ALL_BUILD working. Patch by Stephen Kelly, modified by me. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185548 91177308-0d34-0410-b5e6-96231b3b80d8
* Reorder builds based by ordering.Eric Christopher2013-06-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184794 91177308-0d34-0410-b5e6-96231b3b80d8
* Add clang-format to the corresponding Makefile.Daniel Jasper2013-03-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177727 91177308-0d34-0410-b5e6-96231b3b80d8
* [c-index-test] When building with BUILD_CLANG_ONLY=YES, include c-index-test.Argyrios Kyrtzidis2012-11-06
| | | | | | It is part of libclang and has other uses besides running the clang tests. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167478 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the directory that these are already in.Bill Wendling2012-10-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165162 91177308-0d34-0410-b5e6-96231b3b80d8
* The top-level clang Makefile is #included into other Makefiles. (sigh) So weBill Wendling2012-10-03
| | | | | | | | | can't have the logic here to add in the 'tools/{driver,libclang}' directories, because they will be added in for ALL Makefiles which #include the top-level one. Place the logic into the 'tools' Makefile. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165103 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove this hack in favor of another, better way of performing the same thing.Bill Wendling2012-09-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164915 91177308-0d34-0410-b5e6-96231b3b80d8
* Use a variable to stop us from building clang testing tools.Bill Wendling2012-09-27
| | | | | | | <rdar://problem/11202465> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164739 91177308-0d34-0410-b5e6-96231b3b80d8
* Temporarily revert r161612 while we figure out just what the semanticsChandler Carruth2012-08-09
| | | | | | | of PARALLEL_DIRS are. They apparantly aren't what either Nick, Eric, or I thought. ;] Should let the bots make forward progress. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161618 91177308-0d34-0410-b5e6-96231b3b80d8
* Make all of the tools build in parallel. Missing this caused incrementalChandler Carruth2012-08-09
| | | | | | | | | rebuilds to serially link each tool, which is really really slow. We still have to build libclang serially first because c-index-test depends on it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161612 91177308-0d34-0410-b5e6-96231b3b80d8
* Recurse into the extra tools repo the correct way from the MakefileChandler Carruth2012-08-09
| | | | | | | build system. Thanks to Nick for pointing at the actual construct which should be used here. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161609 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow the Makefile build system to find the extra repo if it is checkedChandler Carruth2012-08-09
| | | | | | | | | | out. Unfortunately, the existing makefiles for the extra repo don't specify the correct library dependencies. Fixing that next. If you're following along, you'll get linker errors. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161549 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed standalone clang-ast-dump tool.Alexander Kornienko2012-07-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160772 91177308-0d34-0410-b5e6-96231b3b80d8
* The new clang-ast-dump tool for selective AST dumping. Moved common ↵Alexander Kornienko2012-07-16
| | | | | | command-line tool stuff to CommandLineClangTool git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160265 91177308-0d34-0410-b5e6-96231b3b80d8
* Adds a tooling library.Manuel Klimek2012-04-04
| | | | | | | | | | | | | | | | | Provides an API to run clang tools (FrontendActions) as standalone tools, or repeatedly in-memory in a process. This is useful for unit-testing, map-reduce style applications, source transformation daemons or command line tools. The ability to run over multiple translation units with different command line arguments enables building up refactoring tools that need to apply transformations across translation unit boundaries. See tools/clang-check/ClangCheck.cpp for an example. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154008 91177308-0d34-0410-b5e6-96231b3b80d8
* Misc Minix-specific changes to clang:Eli Friedman2011-12-08
| | | | | | | | | | | | | . move compiler-rt to a separate directory so the -L argument only includes compiler-rt (thanks joerg) . build all clang subdirs . switches the Minix platform to ELF . normalizes toolchain invocation Patch by Ben Gras. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146206 91177308-0d34-0410-b5e6-96231b3b80d8
* Add 'diagtool' to the 'tools/' directory. diagtool is a new tool (WIP) for ↵Ted Kremenek2011-08-09
| | | | | | | | | | | | analyzing and working with clang diagnostics. Some interesting stats from 'diagtool list-warnings' on the current version of clang: Percentage of warnings with flags: 48.79% Number of unique flags: 148 Average number of diagnostics per flag: 2.041 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137109 91177308-0d34-0410-b5e6-96231b3b80d8
* [arcmt] Introduce new '-ccc-arcmt-migrate <path>' ARC migration driver option.Argyrios Kyrtzidis2011-07-09
| | | | | | | | | | | | | | | | | | | | This is a new mode of migration, where we avoid modifying the original files but we emit temporary files instead. <path> will be used to keep migration process metadata. Currently the temporary files that are produced are put in the system's temp directory but we can put them in the <path> if is necessary. Also introduce new ARC migration functions in libclang whose only purpose, currently, is to accept <path> and provide pairs of original file/transformed file to map from the originals to the files after transformations are applied. Finally introduce the c-arcmt-test utility that exercises the new libclang functions, update arcmt-test, and add tests for the whole process. rdar://9735086. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134844 91177308-0d34-0410-b5e6-96231b3b80d8
* The ARC Migration Tool. All the credit goes to Argyrios and FariborzJohn McCall2011-06-15
| | | | | | | | for this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133104 91177308-0d34-0410-b5e6-96231b3b80d8
* libclang and c-index-test can be built on Cygming.NAKAMURA Takumi2010-11-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118480 91177308-0d34-0410-b5e6-96231b3b80d8
* Minix doesn't support dylibs, PR7294Chris Lattner2010-06-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107120 91177308-0d34-0410-b5e6-96231b3b80d8
* Makefile: Switch Clang Makefiles to always include the top-level Clang Makefile.Daniel Dunbar2010-06-08
| | | | | | - This eliminates most dependencies on how Clang is installed relative to LLVM. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105637 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename 'CIndex' to 'libclang', since it has basically become our stable publicDaniel Dunbar2010-04-30
| | | | | | (C) API, and will likely grow further in this direction in the future. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102779 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix thinko and enable clang build on mingw again (hopefully)Anton Korobeynikov2010-03-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98492 91177308-0d34-0410-b5e6-96231b3b80d8
* disable these dirs which rely on dynamic linking on mingw/cygwinChris Lattner2010-03-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97892 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate index-test; all of its tested functionality is now in c-index-test.Douglas Gregor2010-01-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94211 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove clang-cc tool, it has joined in unholy union with clang.Daniel Dunbar2009-12-12
| | | | | | - tools/driver will be renamed to tools/clang at some point. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91195 91177308-0d34-0410-b5e6-96231b3b80d8
* wpa is an experiment, don't build it by default, it adds to build times due ↵Chris Lattner2009-09-24
| | | | | | to everything it links in. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82704 91177308-0d34-0410-b5e6-96231b3b80d8
* Lot's of little changes to get the C-based indexing API going...Steve Naroff2009-08-28
| | | | | | | Work in progress. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80367 91177308-0d34-0410-b5e6-96231b3b80d8
* Add initial boilerplate for CIndex, a shared library that will vend high-levelTed Kremenek2009-08-26
| | | | | | | source symbol information (harvested by Clang) through a C API. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80166 91177308-0d34-0410-b5e6-96231b3b80d8
* Unbreak build?Daniel Dunbar2009-07-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75887 91177308-0d34-0410-b5e6-96231b3b80d8
* update makefile.Zhongxing Xu2009-07-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75878 91177308-0d34-0410-b5e6-96231b3b80d8
* Introduce tools/index-test.Argyrios Kyrtzidis2009-06-25
| | | | | | | | This tool will be the test bed for indexing related operations. It basically reads PCH files passed by the command line and performs various operations. Currently it can accept a file:line:column which resolves to a declaration/statement and displays some information about them. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74198 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove ccc from the makefile as well.Daniel Dunbar2009-05-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70650 91177308-0d34-0410-b5e6-96231b3b80d8
* Move <root>/Driver into <root>/tools/clang-cc.Daniel Dunbar2009-03-24
| | | | | | | Again, I tried to update cmake but it is untested. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67605 91177308-0d34-0410-b5e6-96231b3b80d8
* Stub out some structure for C++ driver.Daniel Dunbar2009-03-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65867 91177308-0d34-0410-b5e6-96231b3b80d8
* Makefile isn't executable.Daniel Dunbar2009-01-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62523 91177308-0d34-0410-b5e6-96231b3b80d8
* ccc: Add missing file.Daniel Dunbar2009-01-19
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62520 91177308-0d34-0410-b5e6-96231b3b80d8