Skip to content
  1. Mar 28, 2016
  2. Mar 27, 2016
    • JF Bastien's avatar
      Revert "isPodLike: more precise" · baf4459b
      JF Bastien authored
      This reverts commit c45f2afac5d6855a4804456a0f718563dc47ada0.
      
      Looks like it may be causing a failure, I'll revert for now.
      
                       from
      lib/CodeGen/AsmPrinter/DwarfDebug.cpp:14:
      /usr/include/c++/4.9.2/bits/stl_pair.h: In instantiation of
                       'std::pair<_T1, _T2>& std::pair<_T1,
                       _T2>::operator=(const std::pair<_T1, _T2>&) [with _T1 =
                       std::unique_ptr<llvm::DwarfTypeUnit>; _T2 = const
                       llvm::DICompositeType*]':
      
      /usr/include/c++/4.9.2/bits/stl_pair.h:160:8: error: use of deleted
      function 'std::unique_ptr<_Tp, _Dp>& std::unique_ptr<_Tp,
      _Dp>::operator=(const std::unique_ptr<_Tp, _Dp>&) [with _Tp =
      llvm::DwarfTypeUnit; _Dp = std::default_delete<llvm::DwarfTypeUnit>]'
        first = __p.first;
              ^
      
      llvm-svn: 264544
      baf4459b
    • Sanjay Patel's avatar
      workaround for an IR variable named %. · 1768117d
      Sanjay Patel authored
      (which SimplifyCFG can produce...)
      
      llvm-svn: 264543
      1768117d
    • Sanjay Patel's avatar
      add scrubber for excessive leading whitespace · d859271d
      Sanjay Patel authored
      llvm-svn: 264542
      d859271d
    • JF Bastien's avatar
      isPodLike: more precise · 507d696c
      JF Bastien authored
      I tried to use isPodLike in:
        http://reviews.llvm.org/D18483
      
      That failed because !is_class is too strict on platforms which don't yet
      have is_trivially_copyable. This update tries to make isPodLike smarter
      for platforms which don't have is_trivially_copyable, and AFAICT it
      Should Just Work on all of them. I'll revert if the bots disagree with
      me.
      
      I'll also rename isPodLike to isTriviallyCopyable if this all works out,
      since that's what the standard calls it now and one day we'll be rid of
      isPodLike.
      
      llvm-svn: 264541
      507d696c
    • Richard Smith's avatar
      [modules] When encoding SourceLocations in bitcode, rotate the 'is macro' flag · b22a1d18
      Richard Smith authored
      bit from the top bit to the bottom bit, so that we don't need 6 VBR6 hunks for
      each macro location. Reduces libstdc++ module size by about 1%.
      
      llvm-svn: 264540
      b22a1d18
    • Richard Thomson's avatar
      clang-tidy: Add check modernize-raw-string-literal · 8930aab8
      Richard Thomson authored
      llvm-svn: 264539
      8930aab8
Loading