summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2017-07-24 14:51:59 +0000
committerKrasimir Georgiev <krasimir@google.com>2017-07-24 14:51:59 +0000
commit3e05105486387668cbc7ff4a58472e510a28ae02 (patch)
tree67a725f105c6a13d5b511fb2989f00f6314310d9 /lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py
parent4f82717643fe4fc11f87649130ee8c39c083730b (diff)
downloadbcm5719-llvm-3e05105486387668cbc7ff4a58472e510a28ae02.tar.gz
bcm5719-llvm-3e05105486387668cbc7ff4a58472e510a28ae02.zip
[clang-format] Fix comment levels between '} else {' and PPDirective.
Summary: This fixes a regression exposed by r307795 and rL308725 in which the level of a comment line between '} else {' and a preprocessor directive is incorrectly set as the level of the '} else {' line. For example, this : ``` int f(int i) { if (i) { ++i; } else { // comment #ifdef A --i; #endif } } ``` was formatted as: ``` int f(int i) { if (i) { ++i; } else { // comment #ifdef A --i; #endif } } ``` Reviewers: djasper, klimek Reviewed By: klimek Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D35794 llvm-svn: 308882
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud