Skip to content
  1. Mar 15, 2012
  2. Mar 14, 2012
    • Kostya Serebryany's avatar
      [asan] fix -Wnull-conversion warnings · baf68ffc
      Kostya Serebryany authored
      llvm-svn: 152747
      baf68ffc
    • Francois Pichet's avatar
      Fixes the MSVC build. · 118bad1a
      Francois Pichet authored
      Commit r152704 exposed a latent MSVC limitation (aka bug). 
      Both ilist and and iplist contains the same function:
        template<class InIt> void insert(iterator where, InIt first, InIt last) {
          for (; first != last; ++first) insert(where, *first);
        }
      
      Also ilist inherits from iplist and ilist contains a "using iplist<NodeTy>::insert".
      MSVC doesn't know which one to pick and complain with an error.
      
      I think it is safe to delete ilist::insert since it is redundant anyway.
      
      llvm-svn: 152746
      118bad1a
    • David Blaikie's avatar
      Provide -Wnull-conversion separately from -Wconversion. · 1ce8dbb9
      David Blaikie authored
      Like GCC, provide a NULL conversion to non-pointer conversion as a separate
      flag, on by default. GCC's flag is "conversion-null" which we provide for
      cross compatibility, but in the interests of consistency (with
      -Wint-conversion, -Wbool-conversion, etc) the canonical Clang flag is called
      -Wnull-conversion.
      
      Patch by Lubos Lunak.
      Review feedback by myself, Chandler Carruth, and Chad Rosier.
      
      llvm-svn: 152745
      1ce8dbb9
    • Fariborz Jahanian's avatar
      objective-c modern tranaltor. More section info. · ddddca3e
      Fariborz Jahanian authored
      for misc. objc meta-data.
      
      llvm-svn: 152743
      ddddca3e
    • Anna Zaks's avatar
      [analyzer] A fixup to r152734. Always initialize the flag. · 3a0f5705
      Anna Zaks authored
      llvm-svn: 152742
      3a0f5705
    • Greg Clayton's avatar
      <rdar://problem/11049371> · 1b02c173
      Greg Clayton authored
      http://llvm.org/bugs/show_bug.cgi?id=12232
      
      Fixed a case where a missing "break" in a switch statement could cause an assertion to fire and kill the debug session.
      
      The fix was derived from the findings of Andrea Bigagli, thanks Andrea.
      
      llvm-svn: 152741
      1b02c173
    • Aaron Ballman's avatar
      bc9e0434
    • Nick Lewycky's avatar
      When emitting a diagnostic about two-phase name lookup, don't do useless · fcd5e7a1
      Nick Lewycky authored
      qualified name lookups into transparent contexts.
      
      llvm-svn: 152739
      fcd5e7a1
    • Matt Beaumont-Gay's avatar
      Fix dereference of end iterator. Spotted by ASan. · dcc425ec
      Matt Beaumont-Gay authored
      llvm-svn: 152738
      dcc425ec
    • Chandler Carruth's avatar
      Change where we enable the heuristic that delays inlining into functions · 30b8416d
      Chandler Carruth authored
      which are small enough to themselves be inlined. Delaying in this manner
      can be harmful if the function is inelligible for inlining in some (or
      many) contexts as it pessimizes the code of the function itself in the
      event that inlining does not eventually happen.
      
      Previously the check was written to only do this delaying of inlining
      for static functions in the hope that they could be entirely deleted and
      in the knowledge that all callers of static functions will have the
      opportunity to inline if it is in fact profitable. However, with C++ we
      get two other important sources of functions where the definition is
      always available for inlining: inline functions and templated functions.
      This patch generalizes the inliner to allow linkonce-ODR (the linkage
      such C++ routines receive) to also qualify for this delay-based
      inlining.
      
      Benchmarking across a range of large real-world applications shows
      roughly 2% size increase across the board, but an average speedup of
      about 0.5%. Some benhcmarks improved over 2%, and the 'clang' binary
      itself (when bootstrapped with this feature) shows a 1% -O0 performance
      improvement when run over all Sema, Lex, and Parse source code smashed
      into a single file. A clean re-build of Clang+LLVM with a bootstrapped
      Clang shows approximately 2% improvement, but that measurement is often
      noisy.
      
      llvm-svn: 152737
      30b8416d
    • Howard Hinnant's avatar
      Missed an underscore on the last commit. · ffa26667
      Howard Hinnant authored
      llvm-svn: 152736
      ffa26667
    • Howard Hinnant's avatar
      Enable __arm__ on apple · baae2be6
      Howard Hinnant authored
      llvm-svn: 152735
      baae2be6
Loading