diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-08-22 15:38:55 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-08-22 15:38:55 +0000 |
| commit | 857fcc2f8ee0f6d0e43d3e14b382684c1466e188 (patch) | |
| tree | ec77e0c9452a294106f427cc7695c97d1b0a82b0 /clang/test/Sema/class-names.cpp | |
| parent | 5a872657756a3a089046f208d967bc5dbc8c21d6 (diff) | |
| download | bcm5719-llvm-857fcc2f8ee0f6d0e43d3e14b382684c1466e188.tar.gz bcm5719-llvm-857fcc2f8ee0f6d0e43d3e14b382684c1466e188.zip | |
Add support for C++'s "type-specifier ( expression-list )" expression:
-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
Diffstat (limited to 'clang/test/Sema/class-names.cpp')
0 files changed, 0 insertions, 0 deletions

