Skip to content
  1. Sep 26, 2011
  2. Sep 25, 2011
  3. Sep 24, 2011
  4. Sep 23, 2011
  5. Sep 22, 2011
  6. Sep 21, 2011
  7. Sep 20, 2011
    • Douglas Gregor's avatar
      Introduce an egregious hack for modules to cope with headers that come · 75644d57
      Douglas Gregor authored
      from unfriendly (== not at all modularized) directories. This is
      temporary, and it only affects module construction until I'll figured
      out how to deal with system headers.
      
      llvm-svn: 140159
      75644d57
    • Peter Collingbourne's avatar
      Remove redundant break statements, and replace asserts with llvm_unreachable · 9a8f1534
      Peter Collingbourne authored
      Per John's review comments for r140068.
      
      llvm-svn: 140142
      9a8f1534
    • 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
  8. Sep 19, 2011
Loading