llvm-project/clang/unittests
Alex Lorenz 9d53cb8f83 [clang-format] square parens with one token are not Objective-C message sends
The commit r322690 introduced support for ObjC detection in header files.
Unfortunately some C headers that use designated initializers are now
incorrectly detected as Objective-C.
This commit fixes it by ensuring that `[ token ]` is not annotated as an
Objective-C message send.

rdar://45504376

Differential Revision: https://reviews.llvm.org/D56226

llvm-svn: 352125
2019-01-24 23:07:58 +00:00
..
AST Fix failing buildbots 2019-01-24 16:27:21 +00:00
ASTMatchers Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Analysis [clang] add tests to ExprMutAnalyzer that reproduced a crash in ASTMatchers 2019-01-21 13:26:18 +00:00
Basic [FileManager] Revert r347205 to avoid PCH file-descriptor leak. 2019-01-24 18:55:24 +00:00
CodeGen Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CrossTU Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Driver Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Format [clang-format] square parens with one token are not Objective-C message sends 2019-01-24 23:07:58 +00:00
Frontend Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Index Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Lex Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Rename Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Rewrite Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Sema Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
StaticAnalyzer Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Tooling Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
libclang Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt [Index] Add an option to collect macros from preprocesor. 2018-09-18 08:51:08 +00:00