Skip to content
  1. Feb 28, 2012
  2. Feb 27, 2012
  3. Feb 26, 2012
    • Benjamin Kramer's avatar
      Reorder members to save padding. · b73f76b6
      Benjamin Kramer authored
      There's more potential here, but these Exprs aren't used that often so I don't feel like doing heroic bit packing right now.
      
      -8 bytes on every class changed (x86_64).
      
      llvm-svn: 151501
      b73f76b6
    • Benjamin Kramer's avatar
      Move FullSourceLoc::dump into the .cpp file, the used attribute made us emit... · e60db7b8
      Benjamin Kramer authored
      Move FullSourceLoc::dump into the .cpp file, the used attribute made us emit this into every TU that includes SourceLocation.h.
      
      llvm-svn: 151493
      e60db7b8
    • Richard Smith's avatar
      Don't assert when trying to diagnose why a class with a constructor template is · 8e1c932f
      Richard Smith authored
      non-trivial.
      
      llvm-svn: 151486
      8e1c932f
    • Chandler Carruth's avatar
      A follow-up to r151482 which added support for powerpc and powerpc64 · 2e9d7317
      Chandler Carruth authored
      Debian multiarch libraries, this should in theory add support for those
      platform's header search rules. I don't have a system to check this
      with, so review appreciated. I've added the corresponding tests
      referring to the debian multiarch tree.
      
      We are starting to have a relatively completely tested Linux platform
      for header search and library search, with several interesting
      peculiarities. We should point people at the debian_multiarch_tree when
      suggesting new tests. Folks with Debian systems that can check this for
      correctness, it would be much appreciated. The missing chunks I know of
      are testing bi-arch peudo-cross-compiling toolchains betwen 32-bit and
      64-bit variants of platforms, and the MIPS and ARM Debian toolchains.
      
      llvm-svn: 151484
      2e9d7317
    • Richard Smith's avatar
      Ensure that we delete destructors in the right cases. Specifically: · 921bd20d
      Richard Smith authored
       - variant members with nontrivial destructors make the containing class's
         destructor deleted
       - check for a virtual destructor after checking for overridden methods in the
         base class(es)
       - check for an inaccessible operator delete for a class with a virtual
         destructor.
      
      Do not try to call an anonymous union field's destructor from the destructor of
      the containing class.
      
      llvm-svn: 151483
      921bd20d
    • Chandler Carruth's avatar
      Add support for PPC and PPC64 multiarch toolchains on Debain. · af3c2090
      Chandler Carruth authored
      Patch from Michel Dänzer, sent our way via Jeremy Huddleston who added
      64-bit support. I just added one other place where powerpc64-linux-gnu
      was missing (we only had powerpc64-unknown-linux-gnu).
      
      I've also added a tree to test out the debian multiarch stuff. I don't
      use debian regularly, so I'm not certain this is entirely accurate. If
      anyone wants to check it against a debian system and fix any
      inaccuracies, fire away. This way at least folks can see how this is
      *supposed* to be tested.
      
      It'd be particularly good to get the Debian MIPS toolchains tested in
      this way.
      
      llvm-svn: 151482
      af3c2090
    • Richard Smith's avatar
    • Richard Smith's avatar
      Special members which are defaulted or deleted on their first declaration are · 0d1f3cb1
      Richard Smith authored
      trivial if the implicit declaration would be. Don't forget to set the Trivial
      flag on the special member as well as on the class. It doesn't seem ideal that
      we have two separate mechanisms for storing this information, but this patch
      does not attempt to address that.
      
      This leaves us in an interesting position where the has_trivial_X trait for a
      class says 'yes' for a deleted but trivial X, but is_trivially_Xable says 'no'.
      This seems to be what the standard requires.
      
      llvm-svn: 151465
      0d1f3cb1
    • Argyrios Kyrtzidis's avatar
      Revert r151460 as it is not enough to address the issue. · 8d4677ad
      Argyrios Kyrtzidis authored
      Original log:
      When evaluating integer expressions handle logical operators outside
      VisitBinaryOperator() to reduce stack pressure for source with huge number
      of logical operators.
      
      Fixes rdar://10913206.
      
      llvm-svn: 151464
      8d4677ad
  4. Feb 25, 2012
Loading