- Feb 13, 2014
-
-
NAKAMURA Takumi authored
libclangTests.exe cannot find libclang.dll since it is not on $PATH. llvm-svn: 201348
-
Dmitri Gribenko authored
pointed out by Daniel Jasper in r201329 llvm-svn: 201346
-
- Feb 12, 2014
-
-
Jonathan Roelofs authored
This patch improves the support for picking Multilibs from gcc installations. It also provides a better approximation for the flags '-print-multi-directory' and '-print-multi-lib'. This reverts r201203 (i.e. re-applying r201202 with small fixes in unittests/CMakeLists.txtto make the build bots happy). review: http://llvm-reviews.chandlerc.com/D2538 llvm-svn: 201205
-
Jonathan Roelofs authored
Breaks cmake configure of new unit tests directory llvm-svn: 201203
-
Jonathan Roelofs authored
This patch improves the support for picking Multilibs from gcc installations. It also provides a better approximation for the flags '-print-multi-directory' and '-print-multi-lib'. review: http://llvm-reviews.chandlerc.com/D2538 llvm-svn: 201202
-
- Aug 12, 2013
-
-
Kaelyn Uhrain authored
llvm-svn: 188196
-
- May 29, 2013
-
-
Roman Divacky authored
users can disable those. Just like in autoconf generated makefiles. llvm-svn: 182881
-
- Dec 03, 2012
-
-
Daniel Jasper authored
This formatting library will be used by a stand-alone clang-format tool and can also be used when writing other refactorings. Manuel's original design document: https://docs.google.com/a/google.com/document/d/1gpckL2U_6QuU9YW2L1ABsc4Fcogn5UngKk7fE5dDOoA/edit The library can already successfully format itself. Review: http://llvm-reviews.chandlerc.com/D80 llvm-svn: 169137
-
- Jul 23, 2012
-
-
Dmitri Gribenko authored
llvm-svn: 160640
-
- Jul 06, 2012
-
-
Manuel Klimek authored
matches on interesting parts of the AST, and callback mechanisms to act on them. llvm-svn: 159805
-
- Jun 21, 2012
-
-
Chandler Carruth authored
The fundamental change is to put a CMakeLists.txt file in the unittest directory, with a single test binary produced from it. This has several advantages. Among other fundamental advantages, we start to get the checking logic for when a file is missing from the CMake build, and this caught one missing file already! More fun details in the LLVM commit corresponding to this one. Note that the LLVM commit and this one most both be applied, or neither. Sorry for any skew issues. llvm-svn: 158910
-
Chandler Carruth authored
implementation. Yay for '-' lines in CMake! llvm-svn: 158897
-
Chandler Carruth authored
match the LLVM implemenation. This also simplifies the name management and splits the custom library management out from the unittest specific management. It finally drops the dependency on parsing cmake arguments. llvm-svn: 158894
-
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
-
Chandler Carruth authored
llvm-svn: 158884
-
- May 23, 2012
-
-
Manuel Klimek authored
that allows easy refactoring across translation units. llvm-svn: 157331
-
- May 22, 2012
-
-
Manuel Klimek authored
first writing the changed files to a temporary location and then overwriting the original files atomically. Also adds a RewriterTestContext to aid unit testing rewrting logic in general. llvm-svn: 157260
-
- Apr 19, 2012
-
-
Manuel Klimek authored
llvm-svn: 155108
-
- Apr 04, 2012
-
-
Manuel Klimek authored
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. llvm-svn: 154008
-
- Jan 19, 2012
-
-
Argyrios Kyrtzidis authored
llvm-svn: 148478
-
- Dec 21, 2011
-
-
Argyrios Kyrtzidis authored
token locations as coming before the closing ')' of a function macro expansion. Include a unit test for SourceManager. llvm-svn: 147056
-
- Dec 16, 2011
-
-
Richard Smith authored
fails within a call to a constexpr function. Add -fconstexpr-backtrace-limit argument to driver and frontend, to control the maximum number of notes so produced (default 10). Fix APValue printing to be able to pretty-print all APValue types, and move the testing for this functionality from a unittest to a -verify test now that it's visible in clang's output. llvm-svn: 146749
-
- Jul 18, 2011
-
-
Jeffrey Yasskin authored
diagnostics. llvm-svn: 135398
-
- Jun 02, 2011
-
-
Manuel Klimek authored
llvm-svn: 132462
-
- Jun 01, 2011
-
-
Manuel Klimek authored
tools that match on the C++ ASTs. The main interface is in ASTMatchers.h, an example implementation of a tool that removes redundant .c_str() calls is in the example RemoveCStrCalls.cpp. Various contributions: Zhanyong Wan, Chandler Carruth, Marcin Kowalczyk, Wei Xu, James Dennett. llvm-svn: 132374
-
- May 11, 2011
-
-
Oscar Fuentes authored
gcc. Fixes PR9886. llvm-svn: 131182
-
- Apr 27, 2011
-
-
Manuel Klimek authored
This patch simplifies writing of standalone Clang tools. As an example, we add clang-check, a tool that runs a syntax only frontend action over a .cc file. When you integrate this into your favorite editor, you get much faster feedback on your compilation errors, thus reducing your feedback cycle especially when writing new code. The tool depends on integration of an outstanding patch to CMake to work which allows you to always have a current compile command database in your cmake output directory when you set CMAKE_EXPORT_COMPILE_COMMANDS. llvm-svn: 130306
-
- Apr 21, 2011
-
-
Manuel Klimek authored
the first step towards a standalone Clang tool infrastructure. The plan is to make it easy to build command line tools that run over the AST of source files in a project outside of the build system. llvm-svn: 129924
-
- Feb 20, 2011
-
-
Oscar Fuentes authored
Requires CMake 2.8.3 or newer. llvm-svn: 126094
-
- Feb 19, 2011
-
-
Jeffrey Yasskin authored
It would be nice to propagate this into the other functions to replace LLVM_LINK_COMPONENTS and friends, but I don't plan to do that. llvm-svn: 126032
-
Jeffrey Yasskin authored
needed or provided by the libraries under test. The next step is to import http://www.itk.org/Wiki/CMakeMacroParseArguments to make the empty string parameter unnecessary. llvm-svn: 126024
-
- Feb 18, 2011
-
-
Peter Collingbourne authored
This removes the final dependency edge from any lib outside of CodeGen to core. As a result we can, and do, trim the dependency on core from libclang, PrintFunctionNames, the unit tests and c-index-test. While at it, review and trim other unneeded dependencies. llvm-svn: 125820
-
- Feb 16, 2011
-
-
Zhanyong Wan authored
jyasskin and chapuni. llvm-svn: 125657
-
Zhanyong Wan authored
components" and "used libs" arguments of add_clang_unittest(). Reviewed by jyasskin and chapuni. llvm-svn: 125652
-
- Feb 15, 2011
-
-
Jeffrey Yasskin authored
llvm-svn: 125561
-