llvm-project/clang/test
Akira Hatanaka cc7171abbf [Sema][ObjC] Preserve syntactic sugar when removing
ARCReclaimReturnedObject cast.

This is a follow-up to r314370.

Rather than throwing away the enclosing parentheses, this commit walks
down the expression until an ARCReclaimReturnedObject cast is found and
removes just the cast, preserving the syntactic sugar expressions
(parens and casts) that were visited up to that point.

rdar://problem/34705720

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

llvm-svn: 315261
2017-10-10 01:24:33 +00:00
..
ARCMT clang/test/ARCMT/remap-applying.c: Use %/s on the command line of echo(1). 2017-04-28 05:02:52 +00:00
ASTMerge Revert r299355 "[ASTImporter] Fix for importing unnamed structs" 2017-04-03 21:06:45 +00:00
Analysis [Analyzer] Do not segfault on unexpected call_once implementation 2017-10-09 23:20:46 +00:00
CXX [Modules TS] Module ownership semantics for redeclarations. 2017-10-09 23:42:09 +00:00
CodeCompletion Fixed a crash in code completion. 2017-09-08 13:36:38 +00:00
CodeGen Driver: hoist the `wchar_t` handling to the driver 2017-10-06 23:09:55 +00:00
CodeGenCUDA CodeGenModule: Always output wchar_size, check LLVM assumptions. 2017-05-20 01:29:55 +00:00
CodeGenCXX Revert "For dllexport class templates, export specializations of member functions (PR34849)" 2017-10-06 21:28:21 +00:00
CodeGenCoroutines [coroutines] Support coroutine-handle returning await-suspend (i.e symmetric control transfer) 2017-08-25 04:46:54 +00:00
CodeGenObjC [Sema][ObjC] Preserve syntactic sugar when removing 2017-10-10 01:24:33 +00:00
CodeGenObjCXX Fix off-by-one error in block mangling. 2017-09-07 05:41:24 +00:00
CodeGenOpenCL AMDGPU: Add read_exec_lo/hi builtins 2017-10-09 20:06:37 +00:00
Coverage [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output 2017-08-03 18:12:22 +00:00
CoverageMapping [Coverage] Add an option to emit limited coverage info 2017-09-22 18:23:04 +00:00
Driver [Driver] Fix -static-libsan / -shared-libsan on Darwin 2017-10-07 01:42:09 +00:00
FixIt Add a "vexing parse" warning for ambiguity between a variable declaration and a 2017-09-29 23:57:25 +00:00
Format [clang] Get rid of "%T" expansions 2017-08-15 19:47:06 +00:00
Frontend Extend -ast-dump for CXXRecordDecl to dump the flags from the DefinitionData. 2017-09-22 00:11:15 +00:00
Headers Driver: hoist the `wchar_t` handling to the driver 2017-10-06 23:09:55 +00:00
Import Add support for remembering origins to ExternalASTMerger 2017-09-27 19:57:58 +00:00
Index R13575: Fix USR mangling for function pointer types 2017-10-10 00:35:16 +00:00
Integration Fix the test fix from r312181 2017-08-30 23:26:38 +00:00
Layout
Lexer Driver: hoist the `wchar_t` handling to the driver 2017-10-06 23:09:55 +00:00
Misc PR34822: Fix a collection of related bugs with our handling of C89 implicit function declarations. 2017-10-04 01:49:22 +00:00
Modules [Modules TS] Avoid computing the linkage of the enclosing DeclContext for a declaration in the global module. 2017-10-10 00:49:38 +00:00
OpenMP [OPENMP] Do not capture local static variables. 2017-10-06 17:00:28 +00:00
PCH Implement C++ [basic.link]p8. 2017-09-20 07:22:00 +00:00
Parser Add a "vexing parse" warning for ambiguity between a variable declaration and a 2017-09-29 23:57:25 +00:00
Preprocessor Driver: hoist the `wchar_t` handling to the driver 2017-10-06 23:09:55 +00:00
Profile [Profile] Do not assign counters to functions without bodies 2017-06-30 21:02:14 +00:00
Refactor Revert r315087 2017-10-06 19:49:29 +00:00
Rewriter [clang] Remove unit test which uses reverse-iterate flag 2017-08-24 22:40:32 +00:00
Sema Driver: hoist the `wchar_t` handling to the driver 2017-10-06 23:09:55 +00:00
SemaCUDA [CUDA] When compilation fails, print the compilation mode. 2017-09-07 18:37:16 +00:00
SemaCXX [Modules TS] Module ownership semantics for redeclarations. 2017-10-09 23:42:09 +00:00
SemaObjC [ObjC] Don't warn on readwrite properties with custom setters that 2017-10-06 19:24:26 +00:00
SemaObjCXX [Sema] Put nullability fix-it after the end of the pointer. 2017-09-28 23:18:49 +00:00
SemaOpenCL We allow implicit function declarations as an extension in all C dialects. Remove OpenCL special case. 2017-10-04 01:58:22 +00:00
SemaTemplate Dependent Address Space Support Test Fix 2017-10-02 13:32:59 +00:00
TableGen
Tooling [clang-diff] Treat CXXCtorInitializer as a node 2017-08-27 22:52:20 +00:00
Unit [lit] Rename lld and clang lit configs to end in .py 2017-09-21 17:38:13 +00:00
VFS
clang-rename [refactor] add clang-refactor tool with initial testing support and 2017-09-14 10:06:52 +00:00
.clang-format
CMakeLists.txt [test] Enable clang-func-mapping as a test dep with the analyzer 2017-09-22 22:17:10 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [lit] Improve tool substitution in lit. 2017-10-06 17:54:46 +00:00
lit.site.cfg.py.in [lit] Rename lld and clang lit configs to end in .py 2017-09-21 17:38:13 +00:00
make_test_dirs.pl