diff options
author | Chris Lattner <sabre@nondot.org> | 2007-08-26 03:42:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-08-26 03:42:43 +0000 |
commit | 5d66145eed1c319df5a69977cb8ff74f597ea544 (patch) | |
tree | 5e2951c72d682d7c5e7fde796d75a1cd0c5529ee /CodeGen/CGExprComplex.cpp | |
parent | 6e400c286b485e28d04a742ea87860ddfefa672e (diff) |
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))))
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41413 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions