diff options
author | Krasimir Georgiev <krasimir@google.com> | 2018-05-09 09:02:11 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2018-05-09 09:02:11 +0000 |
commit | 8b4bc76a2323961f6f8502e0d5249e53ac41c6ac (patch) | |
tree | ec8c313955390b1e2e991e6276b3f84959f30222 /llvm/lib/Object/COFFImportFile.cpp | |
parent | 8e1c75a4c51528c0ad3a41300e9394df0b50b752 (diff) | |
download | bcm5719-llvm-8b4bc76a2323961f6f8502e0d5249e53ac41c6ac.tar.gz bcm5719-llvm-8b4bc76a2323961f6f8502e0d5249e53ac41c6ac.zip |
[clang-format] Respect BreakBeforeClosingBrace while calculating length
Summary:
This patch makes `getLengthToMatchingParen` respect the `BreakBeforeClosingBrace`
ParenState for matching scope closers. In order to distinguish between paren states
introduced by real vs. fake parens, I've added the token opening the ParensState
to that struct.
Reviewers: djasper
Reviewed By: djasper
Subscribers: klimek, cfe-commits
Differential Revision: https://reviews.llvm.org/D46519
llvm-svn: 331857
Diffstat (limited to 'llvm/lib/Object/COFFImportFile.cpp')
0 files changed, 0 insertions, 0 deletions