diff options
author | Yan Zhang <ynzhang@google.com> | 2018-11-09 23:19:14 +0000 |
---|---|---|
committer | Yan Zhang <ynzhang@google.com> | 2018-11-09 23:19:14 +0000 |
commit | e2d56dcc038b4202ef36db1f423fb8ba894a0469 (patch) | |
tree | 9f877751c12dfb4bf55151197072df2928da48a3 /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py | |
parent | 6fddb536853c6485bf8dcbc9dd5d04cf9045cc6d (diff) | |
download | bcm5719-llvm-e2d56dcc038b4202ef36db1f423fb8ba894a0469.tar.gz bcm5719-llvm-e2d56dcc038b4202ef36db1f423fb8ba894a0469.zip |
Fix ClangFormat issue of recognizing ObjC subscript as C++ attributes when message target is a result of a C-style method.
Summary:
The issue is that for array subscript like:
```
arr[[Foo() bar]];
```
ClangFormat will recognize it as C++11 attribute syntax and put a space between 'arr' and first '[', like:
```
arr [[Foo() bar]];
```
Now it is fixed. Tested with:
```
ninja FormatTests
```
Reviewers: benhamilton
Reviewed By: benhamilton
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D54288
llvm-svn: 346566
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py')
0 files changed, 0 insertions, 0 deletions