Skip to content
  1. Sep 26, 2012
  2. Sep 25, 2012
  3. Jun 29, 2012
    • Chandler Carruth's avatar
      Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.h · aafe0918
      Chandler Carruth authored
      This was always part of the VMCore library out of necessity -- it deals
      entirely in the IR. The .cpp file in fact was already part of the VMCore
      library. This is just a mechanical move.
      
      I've tried to go through and re-apply the coding standard's preferred
      header sort, but at 40-ish files, I may have gotten some wrong. Please
      let me know if so.
      
      I'll be committing the corresponding updates to Clang and Polly, and
      Duncan has DragonEgg.
      
      Thanks to Bill and Eric for giving the green light for this bit of cleanup.
      
      llvm-svn: 159421
      aafe0918
  4. Jun 22, 2012
  5. Jun 21, 2012
    • Chandler Carruth's avatar
      Completely refactor the structuring of unittest CMake files to match the · 94d02518
      Chandler Carruth authored
      Makefiles, the CMake files in every other part of the LLVM tree, and
      sanity.
      
      This should also restore the output tree structure of all the unit
      tests, sorry for breaking that, and thanks for letting me know.
      
      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:
      
      - No more weird directory stripping in the unittest macro, allowing it
        to be used more readily in other projects.
      - No more directory prefixes on all the source files.
      - Allows correct and precise use of LLVM's per-directory dependency
        system.
      - Allows use of the checking logic for source files that have not been
        added to the CMake build. This uncovered a file being skipped with
        CMake in LLVM and one in Clang's unit tests.
      - Makes Specifying conditional compilation or other custom logic for JIT
        tests easier.
      
      It did require adding the concept of an explicit 'optional' source file
      to the CMake build so that the missing-file check can skip cases where
      the file is *supposed* to be missing. =]
      
      This is another chunk of refactoring the CMake build in order to make it
      usable for other clients like CompilerRT / ASan / TSan.
      
      Note that this is interdependent with a Clang CMake change.
      
      llvm-svn: 158909
      94d02518
  6. Jun 20, 2012
    • Chandler Carruth's avatar
      Fix inappropriate use of anonymous namespaces in unittests. · 35e67066
      Chandler Carruth authored
      The TEST_F macros actually declare *subclasses* of the test fixtures.
      Even if they didn't we don't want them to declare external functions.
      The entire unit test, including both the fixture class and the fixture
      test cases should be wrapped in the anonymous namespace.
      
      This issue was caught by the new '-Winternal-linkage-in-inline' warning.
      
      llvm-svn: 158798
      35e67066
  7. Dec 20, 2011
  8. Jul 25, 2011
  9. Apr 11, 2011
  10. Mar 30, 2011
  11. Feb 21, 2011
  12. Feb 20, 2011
  13. Mar 13, 2010
  14. Oct 27, 2009
  15. Oct 06, 2009
  16. Sep 27, 2009
Loading