Skip to content
  1. Jul 07, 2011
    • Douglas Gregor's avatar
      Properly implement the scope restriction on the NRVO for · 53e191ed
      Douglas Gregor authored
      throw-expressions, such that we don't consider the NRVO when the
      non-volatile automatic object comes from outside the innermost try
      scope (C++0x [class.copymove]p13). In C++98/03, our ASTs were
      incorrect but it didn't matter because IR generation doesn't actually
      apply the NRVO here. In C++0x, however, we were moving from an object
      when in fact we should have copied from it. Fixes PR10142 /
      <rdar://problem/9714312>.
      
      llvm-svn: 134548
      53e191ed
  2. Jul 06, 2011
  3. Jul 05, 2011
  4. Jul 04, 2011
Loading