llvm-project/clang/AST
Chris Lattner 1c20a170c0 add a new ImaginaryLiteral AST node that is used to
represent imaginary literals:

float _Complex A;
void foo() {
  A = 1.0iF;
}

generates:

  (BinaryOperator 0x2305ec0 '_Complex float' '='
    (DeclRefExpr 0x2305e60 '_Complex float' Decl='A' 0x2305cf0)
    (ImaginaryLiteral 0x2305f40 '_Complex float'
      (FloatingLiteral 0x2305ea0 'float' 1.000000))))

llvm-svn: 41413
2007-08-26 03:42:43 +00:00
..
ASTContext.cpp Add initial support for constant CFStrings. 2007-08-17 05:31:46 +00:00
Builtins.cpp Add initial support for constant CFStrings. 2007-08-17 05:31:46 +00:00
CFG.cpp No functionality change. Moved visitor methods for CFGBuilder out-of-line 2007-08-23 21:42:29 +00:00
Decl.cpp Fix "no newline at end of file" warnings. Patch contributed by 2007-07-12 15:43:07 +00:00
Expr.cpp add a new ImaginaryLiteral AST node that is used to 2007-08-26 03:42:43 +00:00
ExprCXX.cpp Implementation of child_begin/child_end for C++ expressions. 2007-08-24 20:21:10 +00:00
Makefile Fix these to allow clang to be in any dir. 2006-10-26 04:56:55 +00:00
Stmt.cpp fix off-by-one error 2007-08-25 01:55:00 +00:00
StmtDumper.cpp add a new ImaginaryLiteral AST node that is used to 2007-08-26 03:42:43 +00:00
StmtPrinter.cpp add a new ImaginaryLiteral AST node that is used to 2007-08-26 03:42:43 +00:00
Type.cpp add getAsComplexType() for consistency 2007-08-21 16:54:08 +00:00