Skip to content
  • Argyrios Kyrtzidis's avatar
    Add support for C++'s "type-specifier ( expression-list )" expression: · 857fcc2f
    Argyrios Kyrtzidis authored
    -The Parser calls a new "ActOnCXXTypeConstructExpr" action.
    -Sema, depending on the type and expressions number:
       -If the type is a class, it will treat it as a class constructor. [TODO]
       -If there's only one expression (i.e. "int(0.5)" ), creates a new "CXXFunctionalCastExpr" Expr node
       -If there are no expressions (i.e "int()" ), creates a new "CXXZeroInitValueExpr" Expr node.
    
    llvm-svn: 55177
    857fcc2f
Loading