Skip to content
  1. Sep 21, 2011
  2. Sep 20, 2011
    • Richard Trieu's avatar
      Fix a problem in digraph handling where "[:" might be treated as "<::" and · 02e25db5
      Richard Trieu authored
      erronously trigger the digraph correction fix-it.  Include a new test to catch
      this in the future.
      
      llvm-svn: 140175
      02e25db5
    • Eric Christopher's avatar
      Remove __WCHAR_UNSIGNED__ and anything that used it. · 55071592
      Eric Christopher authored
      llvm-svn: 140155
      55071592
    • John McCall's avatar
      Fix a crash-on-invalid with bad CV-qualification on 'this' in the · a62a6662
      John McCall authored
      presence of an implicit move assignment operator.  I think the implicit
      copy assignment operator case was also wrong, but just in a "displaying
      the wrong diagnostic" way.
      
      llvm-svn: 140139
      a62a6662
    • Chandler Carruth's avatar
      Fix a pretty nasty bug in noreturn destructors that cascaded into lots · 9a797578
      Chandler Carruth authored
      of false positive warnings that depend on noreturn destructors pruning
      the CFGs, but only in C++0x mode!
      
      This was really surprising as the debugger quickly reveals that the
      attributes are parsed correctly (and using the same code) in both modes.
      The warning fires in the same way in both modes. But between parsing and
      building the destructor declaration with the noreturn attribute and the
      warning, it magically disappears. The key? The 'noexcept' appears!
      
      When we were rebuilding the destructor type with the computed implicit
      noexcept we completely dropped the old type on the floor. This almost
      makes sense (as the arguments and return type to a destructor aren't
      exactly unpredictable), but lost any function type attributes as well.
      The fix is simple, we build the new type off of the old one rather than
      starting fresh.
      
      Testing this is a bit awkward. I've done it by running the
      noreturn-sensitive tests in both modes, which previous failed and now
      passes, but if anyone has ideas about how to more specifically and
      thoroughly test that the extended info on a destructor is preserved when
      adding noexcept, I'm all ears.
      
      llvm-svn: 140138
      9a797578
    • Eli Friedman's avatar
      Add list initialization for complex numbers in C. Essentially, this allows... · 6b9c41ea
      Eli Friedman authored
      Add list initialization for complex numbers in C.  Essentially, this allows "_Complex float x = {1.0f, 2.0f};".  See changes to docs/LanguageExtensions.html for a longer description.
      
      <rdar://problem/9397672>.
      
      llvm-svn: 140090
      6b9c41ea
  3. Sep 19, 2011
  4. Sep 18, 2011
  5. Sep 17, 2011
  6. Sep 16, 2011
  7. Sep 15, 2011
Loading