summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2017-10-02 15:53:37 +0000
committerKrasimir Georgiev <krasimir@google.com>2017-10-02 15:53:37 +0000
commit6a1c9d51fa55131ba5964a622355e5e8bbce04c9 (patch)
treeff5c9d7d9d4a90404d9241e4daa6799a04440710 /llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
parent65bde8806f7dad39fce95d09aa11d7cd11005bc6 (diff)
downloadbcm5719-llvm-6a1c9d51fa55131ba5964a622355e5e8bbce04c9.tar.gz
bcm5719-llvm-6a1c9d51fa55131ba5964a622355e5e8bbce04c9.zip
[clang-format] Fix regression about short functions after #else
Summary: This patch fixes a regression introduced in r312904, where the formatter confuses the `else` in `#else` with an `else` of an `if-else` statement. For example, formatting this code with google style ``` #ifdef A int f() {} #else int f() {} #endif ``` resulted in ``` #ifdef A int f() {} #else int f() { } #endif ``` Reviewers: sammccall Reviewed By: sammccall Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D37973 llvm-svn: 314683
Diffstat (limited to 'llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud