Skip to content
Snippets Groups Projects
  1. Jan 20, 2014
    • Alp Toker's avatar
      MSVC 2013 type trait support · 213c6aa5
      Alp Toker authored
      Implement type trait primitives used in the latest edition of the Microsoft
      standard C++ library type_traits header.
      
      With this change we can parse much of the Visual Studio 2013 standard headers,
      particularly anything that includes <type_traits>.
      
      Fully implemented, available in all language modes:
      
       * __is_constructible()
       * __is_nothrow_constructible()
       * __is_nothrow_assignable()
      
      Partially implemented, semantic analysis WIP, available as MS extensions:
      
       * __is_destructible()
       * __is_nothrow_destructible()
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199619 91177308-0d34-0410-b5e6-96231b3b80d8
      213c6aa5
  2. Jan 18, 2014
  3. Jan 16, 2014
  4. Jan 15, 2014
  5. Jan 14, 2014
  6. Jan 11, 2014
  7. Jan 10, 2014
  8. Jan 07, 2014
  9. Jan 01, 2014
  10. Dec 20, 2013
  11. Dec 13, 2013
  12. Dec 12, 2013
  13. Dec 11, 2013
  14. Dec 10, 2013
  15. Dec 09, 2013
  16. Dec 04, 2013
  17. Dec 03, 2013
  18. Nov 30, 2013
  19. Nov 26, 2013
  20. Nov 20, 2013
  21. Nov 18, 2013
  22. Nov 15, 2013
    • Alp Toker's avatar
      Revert "Using an invalid -O falls back on -O3 instead of an error" · e22017e0
      Alp Toker authored
      Trying to fix test failures since earlier today.
      
      One of the tests added in this commit is outputting test/Driver/clang_f_opts.s
      which the builders that build in-tree (eg. clang-native-arm-cortex-a9) are
      trying to run as a test case, causing failures.
      
      clang_f_opts.c:
        If -### doesn't emit the warning then this test probably shouldn't be in
        here in the first place. Frontend maybe?
      
      invalid-o-level.c:
        Running %clang_cc1 in the Driver tests doesn't make sense because -cc1
        bypasses the driver. (I'm not reverting the commit that introduced this but
        please fix instead of keeping it this way.)
      
      Reverting to fix the build failures and also so that the tests can be thought
      out more thoroughly.
      
      This reverts commit r194817.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194845 91177308-0d34-0410-b5e6-96231b3b80d8
      e22017e0
    • Sylvestre Ledru's avatar
      Using an invalid -O falls back on -O3 instead of an error · eb4d7c3f
      Sylvestre Ledru authored
      Summary:
      Currently with clang:
      $ clang -O20 foo.c
      error: invalid value '20' in '-O20'
      
      With the patch:
      $ clang -O20 foo.c
      warning: optimization level '-O20' is unsupported; using '-O3' instead.
      1 warning generated.
      
      This matches the gcc behavior (with a warning added)
      
      Pass all tests:
      Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
      Testing Time: 94.14s
        Expected Passes    : 6721
        Expected Failures  : 20
        Unsupported Tests  : 17
      
      (which was not the case of http://llvm-reviews.chandlerc.com/D2125)
      
      Reviewers: chandlerc, rafael, rengolin, hfinkel
      
      Reviewed By: rengolin
      
      CC: cfe-commits
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D2152
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194817 91177308-0d34-0410-b5e6-96231b3b80d8
      eb4d7c3f
Loading