diff options
| author | Daniel Jasper <djasper@google.com> | 2013-08-30 10:10:19 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-08-30 10:10:19 +0000 |
| commit | 4b434cf0c913a853cb5fd5011a631447836563b2 (patch) | |
| tree | 39b8d7a1617d8afdd8f6540451c42fec41a967f2 /lib/CodeGen/CGExpr.cpp | |
| parent | 3e4d3a280b31bef39713cb0f111af951f5ef9aef (diff) | |
| download | clang-4b434cf0c913a853cb5fd5011a631447836563b2.tar.gz clang-4b434cf0c913a853cb5fd5011a631447836563b2.tar.bz2 clang-4b434cf0c913a853cb5fd5011a631447836563b2.tar.xz | |
clang-format: Improve recovery from enums with errors.
Before:
namespace n {
enum Type {
One,
Two, // missing };
int i;
} void g() {
}
After:
namespace n {
enum Type {
One,
Two, // missing };
int i;
}
void g() {}
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189662 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
