llvm-project/clang/test
Bruno Cardoso Lopes 1383ddc40b [SemaObjC] Improve ObjCDictionaryLiteral and ObjCArryLiteral diagnostics
Sema actions on ObjCDictionaryLiteral and ObjCArryLiteral are currently
done as a side-effect of Sema upon parent expressions, which incurs of
delayed typo corrections for such literals to be performed by TypoTransforms
upon the ObjCDictionaryLiteral and ObjCArryLiteral themselves instead of
its elements individually.

This is specially bad because it was not designed to act on several
elements; searching through all possible combinations of corrections for
several elements is very expensive. Additionally, when one of the
elements has no correction candidate, we still explore all options and
at the end emit no typo corrections whatsoever.

Do the proper sema actions by acting on each element alone during appropriate
literal parsing time to get proper diagonistics and decent compile time
behavior.

Differential Revision: http://reviews.llvm.org/D22183

rdar://problem/21046678

llvm-svn: 276020
2016-07-19 20:21:18 +00:00
..
ARCMT [test/objcmt] Add a follow-up test case for r275600. 2016-07-15 20:40:24 +00:00
ASTMerge When importing classes and structs with anonymous structs, it is critical that 2016-07-14 19:53:44 +00:00
Analysis Revert "[analyzer] Add checker modeling potential C++ self-assignment" 2016-07-18 18:57:50 +00:00
CXX Push alias-declarations and alias-template declarations into scope even if 2016-07-15 20:53:25 +00:00
CodeCompletion [CodeCompletion] Allow system headers providing private symbols with a single underscore. 2016-07-01 01:17:02 +00:00
CodeGen Let FuncAttrs infer the 'returned' argument attribute 2016-07-19 19:59:24 +00:00
CodeGenCUDA NVPTX: Use the nvvm builtins to read SRegs rather than the legacy ptx ones 2016-07-07 16:41:08 +00:00
CodeGenCXX Let FuncAttrs infer the 'returned' argument attribute 2016-07-19 19:59:24 +00:00
CodeGenObjC test: add missing triple to test 2016-07-17 22:54:42 +00:00
CodeGenObjCXX Fix mangled name of method with ns_consumed parameters. 2016-05-25 14:15:08 +00:00
CodeGenOpenCL Let FuncAttrs infer the 'returned' argument attribute 2016-07-19 19:59:24 +00:00
Coverage
CoverageMapping [Coverage] Remove '..' from filenames *after* getting an absolute path 2016-07-18 22:32:02 +00:00
Driver [driver][mips] Support MIPS targets in modern Android NDK 2016-07-19 07:09:48 +00:00
FixIt ObjC Class Property: diagnostics when accessing a class property using instance. 2016-06-28 23:01:49 +00:00
Format
Frontend Allow iOS and tvOS version numbers with 2-digit major version numbers. 2016-07-18 20:29:14 +00:00
Headers Attempting to fix lit test test/Headers/opencl-c-header.cl on cygwin. 2016-06-27 21:43:00 +00:00
Index [index] Create different USR if a property is a class property. 2016-07-15 22:18:19 +00:00
Integration
Layout [MS ABI] Implement __declspec(empty_bases) and __declspec(layout_version) 2016-05-23 17:16:12 +00:00
Lexer Use the name of the file on disk to issue a new diagnostic about non-portable #include and #import paths. 2016-06-13 20:40:21 +00:00
Misc P0305R0: Semantic analysis and code generation for C++17 init-statement for 'if' and 'switch': 2016-07-14 00:11:03 +00:00
Modules Revert r275481, r275490. This broke modules bootstrap. 2016-07-15 21:33:46 +00:00
OpenMP [OpenMP] Fix incorrect diagnostics in map clause 2016-07-18 22:49:16 +00:00
PCH The test added in r275267 does not work on read-only checkouts because of the use of touch -m -t. 2016-07-14 13:58:27 +00:00
Parser [ObjC] Implement @available in the Parser and AST 2016-07-16 00:35:23 +00:00
Preprocessor [Driver][AArch64] Add support for Broadcom Vulcan core. 2016-06-29 10:00:31 +00:00
Profile [Driver] Add flags for enabling both types of PGO Instrumentation 2016-07-16 02:54:58 +00:00
Rewriter
Sema [Sema] Create a separate group for incompatible function pointer warning 2016-07-18 20:37:06 +00:00
SemaCUDA [CUDA] Add additional testcases for EraseUnwantedCUDAMatches. 2016-07-12 23:23:12 +00:00
SemaCXX Deprecated (legacy) string literal conversion to 'char *' causes strange overloading resolution 2016-07-19 11:29:16 +00:00
SemaObjC [SemaObjC] Improve ObjCDictionaryLiteral and ObjCArryLiteral diagnostics 2016-07-19 20:21:18 +00:00
SemaObjCXX Sema: support __declspec(dll*) on ObjC interfaces 2016-07-15 20:41:10 +00:00
SemaOpenCL [OpenCL] Improved diagnostics of OpenCL types. 2016-07-11 13:46:02 +00:00
SemaTemplate Push alias-declarations and alias-template declarations into scope even if 2016-07-15 20:53:25 +00:00
TableGen
Tooling Back out the test case for r266973 for now. 2016-04-21 10:46:14 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:54:46 +00:00
VFS
.clang-format
CMakeLists.txt Re-apply "test: Use add_lit_testsuites so that subsets of tests can be specified" 2016-07-05 17:54:40 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Port some more debug info tests on Windows 2016-06-30 17:41:27 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:54:46 +00:00
make_test_dirs.pl