Skip to content
  1. Jan 19, 2010
  2. Jan 18, 2010
  3. Jan 17, 2010
  4. Jan 16, 2010
    • Douglas Gregor's avatar
      Introduce a second queue of "local" pending implicit instantiation, · 7f792cf3
      Douglas Gregor authored
      which are instantiations of the member functions of local
      classes. These implicit instantiations have to occur at the same time
      as---and in the same local instantiation scope as---the enclosing
      function, since the member functions of the local class can refer to
      locals within the enclosing function. This should really, really fix PR5764.
      
      llvm-svn: 93666
      7f792cf3
    • Sam Weinig's avatar
      Add PCH support for CXXStaticCastExpr, CXXDynamicCastExpr,... · d01101e2
      Sam Weinig authored
      Add PCH support for CXXStaticCastExpr, CXXDynamicCastExpr, CXXReinterpretCastExpr, CXXConstCastExpr and CXXFunctionalCastExpr.
      
      llvm-svn: 93658
      d01101e2
    • Douglas Gregor's avatar
      While determining when to parse inline member functions of a class, · edf8f390
      Douglas Gregor authored
      distinguish between nested classes (whose member functions cannot be
      parsed until the innermost non-nested class is complete) and local
      classes (that are defined within a function but are not necessarily
      nested). The upshot of this change, which fixes PR5764, is that the
      bodies of member functions of local (non-nested) classes need to be
      parsed when the local class is complete (and no later), since they may
      refer to function-local static variables, typedefs, enums, etc.
      
      llvm-svn: 93653
      edf8f390
    • Douglas Gregor's avatar
      When we are instantiating a member function of a local class, be sure · f5974fa0
      Douglas Gregor authored
      to merge the local instantiation scope with the outer local
      instantiation scope, so that we can instantiate declarations from the
      function owning the local class. Fixes an assert while instantiating
      Boost.MPL's BOOST_MPL_ASSERT_MSG.
      
      llvm-svn: 93651
      f5974fa0
Loading