Skip to content
Snippets Groups Projects
  1. Oct 24, 2013
  2. Oct 21, 2013
  3. Oct 20, 2013
  4. Oct 17, 2013
  5. Oct 16, 2013
  6. Oct 15, 2013
  7. Oct 10, 2013
  8. Oct 08, 2013
  9. Oct 03, 2013
    • Jordan Rose's avatar
      [analyzer] Add new debug helper clang_analyzer_warnIfReached. · d000b852
      Jordan Rose authored
      This will emit a warning if a call to clang_analyzer_warnIfReached is
      executed, printing REACHABLE. This is a more explicit way to declare
      expected reachability than using clang_analyzer_eval or triggering
      a bug (divide-by-zero or null dereference), and unlike the former will
      work the same in inlined functions and top-level functions. Like the
      other debug helpers, it is part of the debug.ExprInspection checker.
      
      Patch by Jared Grubb!
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191909 91177308-0d34-0410-b5e6-96231b3b80d8
      d000b852
  10. Oct 01, 2013
  11. Sep 29, 2013
  12. Sep 27, 2013
  13. Sep 25, 2013
  14. Sep 24, 2013
    • Daniel Jasper's avatar
      Add -fmodule-map-file option. · 1b8840ce
      Daniel Jasper authored
      With this option, arbitrarily named module map files can be specified
      to be loaded as required for headers in the respective (sub)directories.
      
      This, together with the extern module declaration allows for specifying
      module maps in a modular fashion without the need for files called
      "module.map".
      
      Among other things, this allows a directory to contain two modules that
      are completely independent of one another.
      
      Review: http://llvm-reviews.chandlerc.com/D1697.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191284 91177308-0d34-0410-b5e6-96231b3b80d8
      1b8840ce
    • Daniel Jasper's avatar
      Module use declarations (II) · ddd2dfc1
      Daniel Jasper authored
      Review: http://llvm-reviews.chandlerc.com/D1546.
      
      I have picked up this patch form Lawrence
      (http://llvm-reviews.chandlerc.com/D1063) and did a few changes.
      
      From the original change description (updated as appropriate):
      This patch adds a check that ensures that modules only use modules they
      have so declared. To this end, it adds a statement on intended module
      use to the module.map grammar:
      
        use module-id
      
      A module can then only use headers from other modules if it 'uses' them.
      This enforcement is off by default, but may be turned on with the new
      option -fmodules-decluse.
      
      When enforcing the module semantics, we also need to consider a source
      file part of a module. This is achieved with a compiler option
      
      -fmodule-name=<module-id>.
      
      The compiler at present only applies restrictions to the module directly
      being built.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191283 91177308-0d34-0410-b5e6-96231b3b80d8
      ddd2dfc1
  15. Sep 20, 2013
  16. Sep 18, 2013
    • Hal Finkel's avatar
      Add the intrinsic __builtin_convertvector · 414a1bdb
      Hal Finkel authored
      LLVM supports applying conversion instructions to vectors of the same number of
      elements (fptrunc, fptosi, etc.) but there had been no way for a Clang user to
      cause such instructions to be generated when using builtin vector types.
      
      C-style casting on vectors is already defined in terms of bitcasts, and so
      cannot be used for these conversions as well (without leading to a very
      confusing set of semantics). As a result, this adds a __builtin_convertvector
      intrinsic (patterned after the OpenCL __builtin_astype intrinsic). This is
      intended to aid the creation of vector intrinsic headers that create generic IR
      instead of target-dependent intrinsics (in other words, this is a generic
      _mm_cvtepi32_ps). As noted in the documentation, the action of
      __builtin_convertvector is defined in terms of the action of a C-style cast on
      each vector element.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190915 91177308-0d34-0410-b5e6-96231b3b80d8
      414a1bdb
  17. Sep 16, 2013
  18. Sep 14, 2013
  19. Sep 13, 2013
  20. Sep 11, 2013
  21. Sep 10, 2013
  22. Sep 09, 2013
Loading