| commit | e01bab587cd283e2c1813e9a74bf50827309feaf | [log] [tgz] |
|---|---|---|
| author | Manuel Klimek <klimek@google.com> | Tue Jan 15 13:38:33 2013 +0000 |
| committer | Manuel Klimek <klimek@google.com> | Tue Jan 15 13:38:33 2013 +0000 |
| tree | 09ed6ded56bb45a11758ff4923308808383f59d3 | |
| parent | 9ab63f68fcff6027cf35ec01a952be3ac000fcb9 [diff] |
Fixes various bugs around the keywords class, struct and union.
This switches to parsing record definitions only if we can clearly
identify them. We're specifically allowing common patterns for
visibility control through macros and attributes, but we cannot
currently fix all instances. This fixes all known bugs we have though.
Before:
static class A f() {
return g();
} int x;
After:
static class A f() {
return g();
}
int x;
llvm-svn: 172530