Skip to content
  1. Dec 01, 2012
  2. Nov 29, 2012
  3. Nov 28, 2012
  4. Nov 27, 2012
  5. Nov 26, 2012
  6. Nov 14, 2012
    • Richard Smith's avatar
      PR14279: Work around this major miscompilation by treating move operations as · 5fa94b09
      Richard Smith authored
      non-trivial if they would not call a move operation, even if they would in fact
      call a trivial copy operation. A proper fix is to follow, but this small
      directed fix is intended for porting to the 3.2 release branch.
      
      llvm-svn: 167920
      5fa94b09
    • David Blaikie's avatar
      Provide the correct mangling and linkage for certain unnamed nested classes. · 095deba5
      David Blaikie authored
      This corrects the mangling and linkage of classes (& their member functions) in
      cases like this:
      
        struct foo {
          struct {
            void func() { ... }
          } x;
        };
      
      we were accidentally giving this nested unnamed struct 'no' linkage where it
      should've had the linkage of the outer class. The mangling was incorrecty too,
      mangling as TU-wide unnamed type mangling of $_X rather than class-scoped
      mangling of UtX_.
      
      This also fixes -Wunused-member-function which would incorrectly diagnose
      'func' as unused due to it having no linkage & thus appearing to be TU-local
      when in fact it might be correctly used in another TU.
      
      Similar mangling should be applied to function local classes in similar cases
      but I've deferred that for a subsequent patch.
      
      Review/discussion by Richard Smith, John McCall, & especially Eli Friedman.
      
      llvm-svn: 167906
      095deba5
    • Richard Smith's avatar
      Remove another questionable use of hasTrivial*. The relevant thing for this · 41ae3288
      Richard Smith authored
      test was whether the /selected/ operator= was trivial, not whether the class
      had any trivial (or any non-trivial) operator=s.
      
      llvm-svn: 167897
      41ae3288
    • Eric Christopher's avatar
      Revert "Use the 'count' attribute instead of the 'upper_bound' attribute." · 175c7265
      Eric Christopher authored
      temporarily since it breaks the gdb bots.
      
      This reverts commit r167807/30305bec25cac981c6d4a3b8be004401310a82a7.
      
      llvm-svn: 167887
      175c7265
  7. Nov 13, 2012
  8. Nov 12, 2012
  9. Nov 09, 2012
    • Nico Weber's avatar
      [Windows] Fix mangling of number literal '0' · 7d37f05a
      Nico Weber authored
      Do this by making the mangleNumber(APSInt) overload look like
      the int64_t version. (The latter should probably just delegate
      to the former).
      
      Test from Evgeny Eltsin!
      
      llvm-svn: 167599
      7d37f05a
  10. Nov 08, 2012
  11. Nov 06, 2012
  12. Nov 05, 2012
  13. Nov 03, 2012
  14. Nov 02, 2012
  15. Oct 31, 2012
    • Bill Schmidt's avatar
      This patch removes the XFAIL for powerpc for · 22bd6d18
      Bill Schmidt authored
      test/CodeGenCXX/member-alignment.cpp.  The test succeeds for
      powerpc64-unknown-linux-gnu.  If other flavors of powerpc are
      shown by buildbots to still be broken, we can adjust the test
      at that time.
      
      llvm-svn: 167143
      22bd6d18
  16. Oct 27, 2012
    • Douglas Gregor's avatar
      When an externally-supplied record layout has a size that clearly · 1423a5cf
      Douglas Gregor authored
      doesn't include padding up to the alignment of the record, take this
      as a cue that the alignment of the record should (conservatively) be
      set to 1. This is similar to other the other cues we use to determine
      that the record has a lower alignment, e.g., that the
      externally-supplied layout places fields at lower offsets than we
      would. Fixes <rdar://problem/12582052>; test case in LLDB.
      
      llvm-svn: 166824
      1423a5cf
  17. Oct 26, 2012
  18. Oct 25, 2012
  19. Oct 24, 2012
  20. Oct 23, 2012
  21. Oct 20, 2012
  22. Oct 19, 2012
  23. Oct 18, 2012
Loading