summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/expression/inline-namespace/TestInlineNamespace.py
diff options
context:
space:
mode:
authorYitzhak Mandelbaum <yitzhakm@google.com>2019-09-17 15:10:39 +0000
committerYitzhak Mandelbaum <yitzhakm@google.com>2019-09-17 15:10:39 +0000
commit45b6ca5cd604d9dc0f957a5d80724acd54766f19 (patch)
tree7c21db3ba43e52fe2bc4d33a61c2e552548f7fc7 /lldb/packages/Python/lldbsuite/test/commands/expression/inline-namespace/TestInlineNamespace.py
parent957a6c6bedfa87e5384703724c18ddeada9e189e (diff)
downloadbcm5719-llvm-45b6ca5cd604d9dc0f957a5d80724acd54766f19.tar.gz
bcm5719-llvm-45b6ca5cd604d9dc0f957a5d80724acd54766f19.zip
[clang-format] Fix cleanup of `AnnotatedLine` to include children nodes.
Summary: AnnotatedLine has a tree structure, and things like the body of a lambda will be a child of the lambda expression. For example, [&]() { foo(a); }; will have an AnnotatedLine with a child: [&]() {}; '- foo(a); Currently, when the `Cleaner` class analyzes the affected lines, it does not cleanup the lines' children nodes, which results in missed cleanup opportunities, like the lambda body in the example above. This revision extends the algorithm to visit children, thereby fixing the above problem. Patch by Eric Li. Reviewers: krasimir Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D67659 llvm-svn: 372129
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/expression/inline-namespace/TestInlineNamespace.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud