hanchenye-llvm-project/clang/unittests
Yan Zhang e2d56dcc03 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
2018-11-09 23:19:14 +00:00
..
AST Compound literals, enums, et al require const expr 2018-11-09 00:41:36 +00:00
ASTMatchers [ASTMatchers] overload ignoringParens for Expr 2018-11-09 20:54:06 +00:00
Analysis [NFC] Declare instead of define non-void functions in unit tests. 2018-09-19 20:27:25 +00:00
Basic Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
CodeGen
CrossTU IWYU for llvm-config.h in clang. See r331124 for details. 2018-04-30 13:52:15 +00:00
Driver Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
Format Fix ClangFormat issue of recognizing ObjC subscript as C++ attributes when message target is a result of a C-style method. 2018-11-09 23:19:14 +00:00
Frontend [Fixed Point Arithmetic] Fix for FixedPointValueToString 2018-08-06 16:05:08 +00:00
Index Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
Lex Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
Rename Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
Rewrite
Sema [SemaCodeComplete] Make sure visited contexts are passed to completion results handler. 2018-07-04 10:01:18 +00:00
StaticAnalyzer [analyzer] Restrict AnalyzerOptions' interface so that non-checker objects have to be registered 2018-11-05 03:50:37 +00:00
Tooling [Tooling] Add "-filter" option to AllTUsExecution 2018-11-05 13:42:05 +00:00
libclang Revert r336590 "[libclang] evalute compound statement cursors before trying to evaluate" 2018-07-10 19:49:07 +00:00
CMakeLists.txt [Index] Add an option to collect macros from preprocesor. 2018-09-18 08:51:08 +00:00