summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Frontend
Commit message (Collapse)AuthorAgeFilesLines
* Nuke SetUpBuildDumpLog.Sean Silva2013-01-201-1/+1
| | | | | | | Also, it was the only reason that `argc` and `argv` were being passed into createDiagnostics, so remove those parameters and clean up callers. llvm-svn: 172945
* fix the unit tests too.Chris Lattner2013-01-192-1/+2
| | | | llvm-svn: 172907
* Really sort the #include lines in unittests/...Chandler Carruth2012-12-041-1/+1
| | | | | | I forgot to re-sort after fixing main module headers. llvm-svn: 169244
* Sort the #include lines for unittests/...Chandler Carruth2012-12-041-4/+2
| | | | | | I've tried to place sensible headers at the top as main-module headers. llvm-svn: 169243
* Split library clangRewrite into clangRewriteCore and clangRewriteFrontend.Ted Kremenek2012-09-011-1/+2
| | | | | | | This is similar to how we divide up the StaticAnalyzer libraries to separate core functionality to what is clearly associated with Frontend actions. llvm-svn: 163050
* [ms-inline asm] Add various MC components to clang build to support MS-style ↵Chad Rosier2012-08-091-0/+7
| | | | | | inline assembly. llvm-svn: 161594
* Add various MC components to clang build to support MS-style inline assembly.Chad Rosier2012-08-081-1/+2
| | | | llvm-svn: 161498
* Update unittests for include change.Benjamin Kramer2012-07-041-0/+1
| | | | llvm-svn: 159724
* Clang side of a refactoring of the CMake unit test build strategy.Chandler Carruth2012-06-211-0/+6
| | | | | | | | | | | | | | | | 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
* Fix a big layering violation introduced by r158771.Chandler Carruth2012-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | That commit added a new library just to hold the RawCommentList. I've started a discussion on the commit thread about whether that is really meritted -- it certainly doesn't seem necessary at this stage. However, the immediate problem is that the AST library has a hard dependency on the Comment library, but the dependencies were set up completely backward. In addition to the layering violation, this had an unfortunate effect if scattering the Comments library dependency throughout the build system, but inconsistently so -- several parts of the CMake dependencies were missing and only showed up due to transitive deps or the fact that the target wasn't being built by tho bots. It turns out that the Comments library can't (currently) be a well formed layer *below* the AST library either, as it has an API that accepts an ASTContext. That parameter is currently unused, so maybe that was a mistake? Anyways, it really seems like this is logically part of the AST -- that's the whole point of the ASTContext providing access to it as far as I can tell -- so I've merged it into the AST library to solve the immediate layering violation problems and remove some of the churn from our library dependencies. llvm-svn: 158807
* Structured comment parsing, first step.Dmitri Gribenko2012-06-201-1/+1
| | | | | | | | | * Retain comments in the AST * Serialize/deserialize comments * Find comments attached to a certain Decl * Expose raw comment text and SourceRange via libclang llvm-svn: 158771
* Kill the last vestiges of clangIndexDouglas Gregor2012-04-131-1/+1
| | | | llvm-svn: 154675
* Add new code migrator support for migrating existing Objective-C code to useTed Kremenek2012-03-061-1/+1
| | | | | | | | | | | the new Objective-C NSArray/NSDictionary/NSNumber literal syntax. This introduces a new library, libEdit, which provides a new way to support migration of code that improves on the original ARC migrator. We now believe that most of its functionality can be refactored into the existing libraries, and thus this new library may shortly disappear. llvm-svn: 152141
* Fix broken unit testDouglas Gregor2012-01-201-2/+2
| | | | llvm-svn: 148547
* This random unit test also depends on ARCMigrate.John McCall2011-06-161-2/+2
| | | | llvm-svn: 133148
* The ARC Migration Tool. All the credit goes to Argyrios and FariborzJohn McCall2011-06-151-1/+1
| | | | | | for this. llvm-svn: 133104
* Re-instate r125819 and r125820 with no functionality changePeter Collingbourne2011-02-192-3/+1
| | | | llvm-svn: 126060
* Revert 125820 and 125819 to fix PR9266.Rafael Espindola2011-02-192-1/+3
| | | | llvm-svn: 126050
* Move CompilerInstance::LLVMContext and LLVMContext ownership to CodeGenActionPeter Collingbourne2011-02-182-3/+1
| | | | | | | | | 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
* Fix a typo in a comment in tools/clang/unittests/Frontend/Makefile.Zhanyong Wan2011-02-091-1/+1
| | | | llvm-svn: 125182
* Add gTest unittests to clang, and write the first one.Jeffrey Yasskin2011-02-032-0/+95
This is the Makefile version only; the cmake implementation is coming soon. llvm-svn: 124777
OpenPOWER on IntegriCloud