llvm-project/clang/test
Artem Dergachev a4e2541a70 [analyzer] Add dispatch_data_create as a special case in RetainCountChecker.
This function receives a callback block. The analyzer suspects that this block
may be used to take care of releasing the libdispatch object returned from
the function. In fact, it doesn't - it only releases the raw data buffer.
Inform the analyzer about that. Fixes the resulting false negatives.

rdar://problem/22280098

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

llvm-svn: 289047
2016-12-08 14:05:48 +00:00
..
ARCMT [test/objcmt] Add a follow-up test case for r275600. 2016-07-15 20:40:24 +00:00
ASTMerge Fixed layout of test/ASTMerge. 2016-11-16 18:21:00 +00:00
Analysis [analyzer] Add dispatch_data_create as a special case in RetainCountChecker. 2016-12-08 14:05:48 +00:00
CXX [c++1z] P0490R0, NB comment GB 20: if std::tuple_size<T> is complete, use the 2016-12-08 03:24:55 +00:00
CodeCompletion Fix heuristics skipping invalid ctor-initializers with C++11 2016-11-03 07:36:17 +00:00
CodeGen Use ${:uid} to generate unique MS asm labels, not {:uid} 2016-11-29 00:39:37 +00:00
CodeGenCUDA [CUDA] Improve target attribute checking for function templates. 2016-12-07 19:27:16 +00:00
CodeGenCXX [c++1z] P0003R5: Removing dynamic exception specifications. 2016-12-08 02:49:07 +00:00
CodeGenCoroutines [coroutines] Add allocation and deallocation substatements. 2016-10-27 16:28:31 +00:00
CodeGenObjC Switch CGObjCMac to use ConstantInitBuilder. Whew. 2016-11-30 02:39:18 +00:00
CodeGenObjCXX Forward ns_consumed delegate arguments with a move. 2016-11-18 01:08:24 +00:00
CodeGenOpenCL [OpenCL] Added a LIT test for ensuring address space mangling is done the same both in OpenCL1.2 and OpenCL2.0. 2016-12-07 08:43:49 +00:00
Coverage Make output of -ast-print a valid C++ code. 2016-11-10 08:49:37 +00:00
CoverageMapping [Coverage] Support for C++17 if initializers 2016-10-14 23:38:16 +00:00
Driver Loosen checks for _MSC_FULL_VER under -fms-extensions. 2016-12-08 01:11:41 +00:00
FixIt Warn when 'assume_nonnull' infers nullability within an array. 2016-11-10 23:28:30 +00:00
Format Make clang-format remove duplicate headers when sorting #includes. 2016-08-10 09:32:23 +00:00
Frontend [Frontend] Fix an issue where a quoted search path is incorrectly 2016-12-02 09:51:51 +00:00
Headers [Headers] Enable #include_next<float.h> on Darwin 2016-12-08 02:13:56 +00:00
Index [libclang] Add APIs to check the result of an integer expression in CXEvalResult without overflow 2016-12-01 23:41:27 +00:00
Integration
Layout [MS ABI] Implement __declspec(empty_bases) and __declspec(layout_version) 2016-05-23 17:16:12 +00:00
Lexer p0012r1: define corresponding feature test macro 2016-12-02 02:02:23 +00:00
Misc Driver: Remove support for -fobjc-gc* 2016-12-07 00:31:10 +00:00
Modules Revert r288626, which reverts r288449. Original commit message: 2016-12-06 00:40:17 +00:00
OpenMP [OpenMP] Fix typo in the run command in the test case. NFC. 2016-12-06 23:18:06 +00:00
PCH Add dllexport default ctor closure PCH regression test for PR31121 2016-11-23 18:33:54 +00:00
Parser [ObjC] Avoid a @try/@finally/@autoreleasepool fixit when parsing an expression 2016-12-01 12:14:38 +00:00
Preprocessor Also recognize -std=iso9899:201x 2016-12-06 10:23:07 +00:00
Profile Add test for D21736. 2016-11-22 20:03:40 +00:00
Rewriter
Sema Implement the -Wstrict-prototypes warning 2016-12-07 10:52:18 +00:00
SemaCUDA [CUDA] Improve target attribute checking for function templates. 2016-12-07 19:27:16 +00:00
SemaCXX [c++1z] P0003R5: Removing dynamic exception specifications. 2016-12-08 02:49:07 +00:00
SemaObjC DR616, and part of P0135R1: member access (or pointer-to-member access) on a 2016-12-03 01:14:32 +00:00
SemaObjCXX [ObjC++] Don't enter a C++ declarator scope when the current context is 2016-12-07 10:24:44 +00:00
SemaOpenCL [OpenCL] Refactor read_only/write_only pipes. 2016-12-01 11:30:49 +00:00
SemaTemplate Make output of -ast-print a valid C++ code. 2016-11-10 08:49:37 +00:00
TableGen
Tooling
Unit
VFS Don't diagnose non-modular includes when we are not compiling a module. 2016-08-26 17:16:46 +00:00
.clang-format
CMakeLists.txt [test] Fix detecting LLVM zlib support in stand-alone builds 2016-11-01 20:31:52 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg [test] Correctly include build llvm_shlib_dir in stand-alone builds 2016-11-15 12:54:10 +00:00
lit.site.cfg.in XFAIL Driver/darwin-stdlib.cpp if CLANG_DEFAULT_CXX_STDLIB is set 2016-09-29 07:43:08 +00:00
make_test_dirs.pl