summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Tooling/ToolingTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo in the name of a tooling unit testHal Finkel2013-01-281-1/+1
| | | | llvm-svn: 173658
* Remove useless 'llvm::' qualifier from names like StringRef and others that areDmitri Gribenko2013-01-121-6/+6
| | | | | | brought into 'clang' namespace by clang/Basic/LLVM.h llvm-svn: 172323
* Allow an ASTConsumer to selectively skip function bodies while parsing. PatchRichard Smith2012-11-271-0/+24
| | | | | | by Olivier Goffart! llvm-svn: 168726
* unittests/ToolingTest.cpp: Suppress ↵NAKAMURA Takumi2012-10-251-0/+2
| | | | | | newFrontendActionFactory.InjectsEndOfSourceFileCallback on Win32 for now. Investigating. llvm-svn: 166674
* Adds the possibility to inject a callback that's called after each ↵Manuel Klimek2012-10-251-0/+30
| | | | | | | | translation unit is processed. This is important when one wants to deduplicate results during one run over a translation unit by pointer identity of AST nodes. llvm-svn: 166671
* Adapts the FrontendAction convenience functions so that it can beManuel Klimek2012-07-051-1/+3
| | | | | | | | used with classes that generate ASTConsumers; this allows decoupling the ASTConsumer generation from the Frontend library (like, for example, the MatchFinder in the upcoming ASTMatcher patch). llvm-svn: 159760
* ToolingTest.cpp: Fix r158592, runToolOnCode.FindsNoTopLevelDeclOnEmptyCode ↵NAKAMURA Takumi2012-06-161-0/+5
| | | | | | on msvc. LangOpts.MicrosoftExt still appends "class type_info;". llvm-svn: 158595
* Explicitly build __builtin_va_list.Meador Inge2012-06-161-2/+2
| | | | | | | The target specific __builtin_va_list types are now explicitly built instead of injecting strings into the preprocessor input. llvm-svn: 158592
* Revert r157819, "#ifdef out a broken test on win32"NAKAMURA Takumi2012-06-021-5/+0
| | | | | | FYI, LLVM_ON_WIN32 is useless. llvm-svn: 157890
* #ifdef out a broken test on win32Alexander Kornienko2012-06-011-0/+5
| | | | llvm-svn: 157819
* Added a test for ToolInvocation::mapVirtualFile method.Alexander Kornienko2012-06-011-0/+14
| | | | llvm-svn: 157812
* Adds a tooling library.Manuel Klimek2012-04-041-0/+113
| | | | | | | | | | | | | | | 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
* Reverts the Tooling changes as requested by Chris.Manuel Klimek2011-06-021-175/+0
| | | | llvm-svn: 132462
* This is the next step in building the standalone tools infrastructure:Manuel Klimek2011-04-271-0/+84
| | | | | | | | | | | | | | | 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
* Adds a function to run FrontendActions over in-memory code. This isManuel Klimek2011-04-211-0/+91
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
OpenPOWER on IntegriCloud