diff options
author | Manuel Klimek <klimek@google.com> | 2013-01-15 13:38:33 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2013-01-15 13:38:33 +0000 |
commit | 47ea7f64108163491ed74dc746c8d94e10764704 (patch) | |
tree | 05f27390078e2a130eac01dcb3c0d58bb97ba0ad /lib/Format/Format.cpp | |
parent | 51ccafd66682ecbccc0a63364291dc7a8f6ec0f0 (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;
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172530 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/Format.cpp')
0 files changed, 0 insertions, 0 deletions