| commit | c6ad8131dd33ada7258e0846fa51557584c71c3c | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Sat Dec 02 07:52:18 2006 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Sat Dec 02 07:52:18 2006 +0000 |
| tree | b876956d2e2edec0b3aeab69c2856f4b439eac21 | |
| parent | 216d8654fd8f5090b8f775b40c283a3def1e42c9 [diff] |
implement AST representation for function types with and without a prototype.
This lets us pretty print stuff like this:
void foo() {
int X;
X = sizeof(void (*(*)())());
X = sizeof(int(*)(int, float, ...));
X = sizeof(void (*(int arga, void (*argb)(double Y)))(void* Z));
as:
X = sizeof(void (*(*)())())
X = sizeof(int (*)(int, float, ...))
X = sizeof(void (*(int, void (*)(double)))(void *))
Ah the wonders of 'modern' C syntax!
llvm-svn: 39232