Skip to content
  • Douglas Gregor's avatar
    Introduce a new expression node, ImplicitValueInitExpr, that · 0202cb40
    Douglas Gregor authored
    represents an implicit value-initialization of a subobject of a
    particular type. This replaces the (ab)use of CXXZeroValueInitExpr
    within initializer lists for the "holes" that occur due to the use of
    C99 designated initializers.
    
    The new test case is currently XFAIL'd, because CodeGen's
    ConstExprEmitter (in lib/CodeGen/CGExprConstant.cpp) needs to be
    taught to value-initialize when it sees ImplicitValueInitExprs.
    
    llvm-svn: 63317
    0202cb40
Loading