diff options
author | Krasimir Georgiev <krasimir@google.com> | 2017-11-01 18:20:41 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2017-11-01 18:20:41 +0000 |
commit | ba0893fc83cd0f03803ca0799d7b6f10bc13d128 (patch) | |
tree | 696659a375a5783937d791eeb091c52f2bef3dee /include/clang/ASTMatchers | |
parent | 3789ad4283ec09df1ed8411abbb227d76e7ef8cb (diff) |
[clang-format] Make parseUnaryOperator non-recursive, NFCI
Summary:
This patch makes the implementation of parseUnaryOperator non-recursive. We had
a problem with a file starting with tens of thousands of +'es and -'es which
caused clang-format to stack overflow.
Reviewers: bkramer
Reviewed By: bkramer
Subscribers: cfe-commits, klimek
Differential Revision: https://reviews.llvm.org/D39498
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317113 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/ASTMatchers')
0 files changed, 0 insertions, 0 deletions