- Jun 12, 2013
-
-
Andy Gibbs authored
llvm-svn: 183857
-
- May 29, 2013
-
-
Roman Divacky authored
users can disable those. Just like in autoconf generated makefiles. llvm-svn: 182881
-
- Apr 22, 2013
-
-
Richard Smith authored
-Wall -W, since it's already provided by LLVM's cmake config, and that overrides fixes (such as -Wno-uninitialized) which LLVM's cmake setup may have provided. llvm-svn: 180018
-
- Mar 02, 2013
-
-
Jordan Rose authored
In LLVM, -pedantic is not set unless LLVM_ENABLE_PEDANTIC is set. However, Clang's CMakeLists.txt unilaterally adds -pedantic to the run line, so we need to disable -Wnested-anon-types explicitly. llvm-svn: 176393
-
- Feb 26, 2013
-
-
Alexey Samsonov authored
Define CMake option CLANG_INCLUDE_TESTS *before* traversing into tests/ subdirectory. Otherwise, while configuring the build tree for the first time, Clang unit tests could avoid being added to 'check-clang' command, and thus avoid being built and executed. llvm-svn: 176080
-
- Feb 08, 2013
-
-
Jordan Rose authored
Also, remove CLANG_BUILD_TESTS option. It won't have consistent behavior between standalone and non-standalone builds, so I'm not going to bother hooking it up for standalone builds. LLVM_BUILD_TESTS will continue to control unit test inclusion in the "all" target in non-standalone builds. Finally, fix the default value of CLANG_INCLUDE_TESTS, which was being set to the boolean value of "LLVM_INCLUDE_TESTS", i.e. OFF, rather than actually reading the variable ${LLVM_INCLUDE_TESTS}! If you picked up my earlier commit, YOU WILL HAVE TO MANUALLY SET THIS OPTION BACK ON. My apologies! Part two of r174691 (allow the unit tests to be built in standalone mode). llvm-svn: 174698
-
Jordan Rose authored
The reason this is not enabled by default is because there is no way for Clang to guarantee that the LLVM unit testing infrastruture has been built. However, if it /has/ been built, there's no reason why the standalone Clang build can't use it! This should have no effect on existing builds -- in a combined build the value of the CLANG_INCLUDE_TESTS option defaults to the LLVM equivalent, and in a standalone build it defaults to off. llvm-svn: 174691
-
- Dec 18, 2012
-
-
Douglas Gregor authored
llvm-svn: 170444
-
- Dec 14, 2012
-
-
NAKAMURA Takumi authored
llvm-svn: 170225
-
- Dec 13, 2012
-
-
NAKAMURA Takumi authored
Thanks to Saleem Abdulrasool, aka compnerd! llvm-svn: 170136
-
- Oct 23, 2012
-
-
Jordan Rose authored
Previously, we only had support for one level of library under lib/, with the existence of the two-level lib/StaticAnalyzer/* hardcoded in the top-level CMakeLists.txt. This became a problem with split of libRewrite into several libraries -- with the same sub-names as the libraries in lib/StaticAnalyzer/. Now, we match up anything under lib/ to the corresponding directory in include/clang/. llvm-svn: 166505
-
- Aug 07, 2012
-
-
Douglas Gregor authored
llvm-svn: 161445
-
Dmitri Gribenko authored
The implementation also includes a Relax NG schema and tests for the schema itself. The schema is used in c-index-test to verify that XML documents we produce are valid. In order to do the validation, we add an optional libxml2 dependency for c-index-test. Credits for CMake part go to Doug Gregor. Credits for Autoconf part go to Eric Christopher. Thanks! llvm-svn: 161431
-
- Jul 27, 2012
-
-
NAKAMURA Takumi authored
llvm-svn: 160848
-
- Jul 09, 2012
-
-
NAKAMURA Takumi authored
[CMake] Get rid of unconditional dependency to ClangDiagnosticCommon. Only clangBasic and clangASTMatchers need it. llvm-svn: 159931
-
- Jul 02, 2012
-
-
Chandler Carruth authored
standalone section of the Clang CMake files. This will likely make the lit runs in Clang much more suitable to IDEs such as Xcode and MSVC when operating in a standalone mode. llvm-svn: 159582
-
- Jun 21, 2012
-
-
Chandler Carruth authored
express library-level dependencies within Clang. This is no more verbose really, and plays nicer with the rest of the CMake facilities. It should also have no change in functionality. llvm-svn: 158888
-
- Jun 06, 2012
-
-
Francois Pichet authored
Zap the /Za compiler switch from MSVC projects, the option is considered harmful even by Microsoft people and clang won't build using the MSVC 2012 RC if not removed. Only 1 minor code change was necessary: can't use cdecl as variable name anymore. llvm-svn: 158063
-
- Apr 16, 2012
-
-
Sebastian Pop authored
llvm-svn: 154792
-
- Feb 25, 2012
-
-
NAKAMURA Takumi authored
Patch by Joe Groff. llvm-svn: 151448
-
- Feb 14, 2012
-
-
Dylan Noblesmith authored
And remove HAVE_CLANG_CONFIG_H, now that the header is generated in the autoconf build, too. Reverts r149571/restores r149504, now that config.h is generated correctly by LLVM's configure in all build configurations. llvm-svn: 150487
-
- Feb 02, 2012
-
-
Dylan Noblesmith authored
Too many weird build failures. llvm-svn: 149571
-
- Feb 01, 2012
-
-
Dylan Noblesmith authored
This header is private and shouldn't be used by clients. (This reverts r149540, reinstating r149496. False alarm.) llvm-svn: 149550
-
Dylan Noblesmith authored
It *looks* like this caused PR11903, somehow. llvm-svn: 149540
-
Dylan Noblesmith authored
And remove HAVE_CLANG_CONFIG_H, now that the header is generated in the autoconf build, too. (clang r149497 / llvm r149498) Also include the config.h header after all other headers, per the LLVM coding standards. It also turns out WindowsToolChain.cpp wasn't using the config header at all, so that include's just deleted now. llvm-svn: 149504
-
Dylan Noblesmith authored
This header is private and shouldn't be used by clients. llvm-svn: 149496
-
- Jan 26, 2012
-
-
Peter Collingbourne authored
by default, rather than whether they may be built at all. llvm-svn: 149037
-
- Oct 06, 2011
-
-
Peter Collingbourne authored
the build systems to use clang-tblgen. llvm-svn: 141291
-
Peter Collingbourne authored
llvm-svn: 141267
-
- Sep 23, 2011
-
-
NAKAMURA Takumi authored
CMake: Define ${LLVM_TABLEGEN_EXE} with explicit ${CMAKE_EXECUTABLE_SUFFIX} on standalone build. Or build might fail with NMake. Thanks to Nicolas Le Gland! llvm-svn: 140360
-
- Aug 02, 2011
-
-
Chad Rosier authored
enough to offer to investigate the underlying issue. Thanks to Doug for his assistance as well. llvm-svn: 136719
-
Chad Rosier authored
Someone with more cmake experience want to throw me a bone? :) llvm-svn: 136709
-
Chad Rosier authored
information including the fully preprocessed source file(s) and command line arguments. The developer is asked to attach this diagnostic information to a bug report. rdar://9575623 llvm-svn: 136702
-
- Jul 15, 2011
-
-
Douglas Gregor authored
(and linking to an already-build LLVM) works with Xcode. The resulting Xcode project for Clang is quite a bit smaller and builds/loads faster. llvm-svn: 135216
-
- Jun 08, 2011
-
-
Chandler Carruth authored
Very sorry for the accidental commit of WIP code. llvm-svn: 132745
-
Chandler Carruth authored
llvm-svn: 132743
-
- May 20, 2011
-
-
Oscar Fuentes authored
llvm-svn: 131733
-
- May 11, 2011
-
-
Oscar Fuentes authored
gcc. Fixes PR9886. llvm-svn: 131182
-
- Apr 10, 2011
-
-
Oscar Fuentes authored
llvm-svn: 129246
-
- Mar 29, 2011
-
-
Oscar Fuentes authored
llvm-svn: 128483
-