diff options
| author | Daniel Jasper <djasper@google.com> | 2013-01-13 08:01:36 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-01-13 08:01:36 +0000 |
| commit | 4981bd0ca215570ef1e2e1c1c64a2c399069dc42 (patch) | |
| tree | 8609a1c7cea041e660bc9d6f7ea3f8ab781e579d /lib/CodeGen/CGExprComplex.cpp | |
| parent | 377b8c66b48b01fdd3f308d33f49af64ad632e87 (diff) | |
| download | clang-4981bd0ca215570ef1e2e1c1c64a2c399069dc42.tar.gz clang-4981bd0ca215570ef1e2e1c1c64a2c399069dc42.tar.bz2 clang-4981bd0ca215570ef1e2e1c1c64a2c399069dc42.tar.xz | |
Improve identification of c-style casts.
A ")" before any of "=", "{" or ";" won't be a cast. This fixes issues
with the formatting of unnamed parameters.
Before: void f(int *){}
After: void f(int *) {}
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions
