llvm-project/clang/test
Jordan Rose efef760214 [analyzer] Add ObjCLoopChecker: objects from NSArray et al are non-nil.
While collections containing nil elements can still be iterated over in an
Objective-C for-in loop, the most common Cocoa collections -- NSArray,
NSDictionary, and NSSet -- cannot contain nil elements. This checker adds
that assumption to the analyzer state.

This was the cause of some minor false positives concerning CFRelease calls
on objects in an NSArray.

llvm-svn: 158319
2012-06-11 16:40:41 +00:00
..
ARCMT [arcmt] At an unbridged cast error, if we're returning a load-of-ivar from a +0 method, 2012-06-07 00:44:06 +00:00
ASTMerge Fix crash at @implementation with a forward reference as base class. 2012-03-13 01:09:36 +00:00
Analysis [analyzer] Add ObjCLoopChecker: objects from NSArray et al are non-nil. 2012-06-11 16:40:41 +00:00
CXX Fix PR13052 properly, by performing special member lookup to determine whether 2012-06-10 05:43:50 +00:00
CodeCompletion Add 'env' in hopes of making this test pass on Windows. 2012-04-16 03:22:35 +00:00
CodeGen Add XOP shift and compare intrinsics. 2012-06-11 07:01:43 +00:00
CodeGenCUDA Replace PTX back-end with NVPTX back-end in all places where Clang cares 2012-05-24 17:43:12 +00:00
CodeGenCXX We were computing the visibility and linkage of template parameters, but 2012-06-11 14:29:58 +00:00
CodeGenObjC objective-c: fix a sema and IRGen crash when property 2012-05-29 19:56:01 +00:00
CodeGenObjCXX When @encode'ing a C++ class that has empty base classes, we can end 2012-04-27 22:30:01 +00:00
CodeGenOpenCL Replace PTX back-end with NVPTX back-end in all places where Clang cares 2012-05-24 17:43:12 +00:00
Coverage rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
Driver supply a simple-minded testcase for r156813, to check whether the embedded montavista gcc toolchain is recognized 2012-05-30 09:56:26 +00:00
FixIt Enable -Wunused-private-field with -Wunused. 2012-06-11 16:06:57 +00:00
Frontend test/Frontend/rewrite-includes.c: Tweak for win32's pathsep. 2012-06-07 14:21:02 +00:00
Headers Remove the 'intrin.h' builtin header file and its tests for now. 2012-05-07 20:46:58 +00:00
Index [libclang] When doing the cursor visitation make sure declarations 2012-06-09 03:03:02 +00:00
Lexer Add a predefine __WINT_UNSIGNED__, similar to __WCHAR_UNSIGNED__, and test them both for ARM and X86. 2012-05-04 11:23:40 +00:00
Misc Disable _Pragma during HTML macro rewriting to keep from crashing. 2012-06-08 18:06:21 +00:00
Modules Fix ASTReader handling of ImportDecls, from Meador Inge! 2012-05-16 16:31:58 +00:00
PCH PR13064: Store whether an in-class initializer uses direct or copy 2012-06-10 03:12:00 +00:00
Parser Allow CorrectTypo to add/modify nested name qualifiers to typos that 2012-06-06 20:54:51 +00:00
Preprocessor Add XOP feature flag. 2012-06-09 22:24:14 +00:00
Rewriter modern objc translation: Add translation of @autoreleasepool 2012-05-23 23:47:20 +00:00
Sema Add pedantic warning -Wempty-translation-unit (C11 6.9p1). 2012-06-06 17:25:21 +00:00
SemaCUDA CUDA: diagnose invalid calls across targets 2011-10-02 23:49:40 +00:00
SemaCXX PR12964: __int128 and unsigned __int128 are promoted integral types, be sure to 2012-06-10 08:00:26 +00:00
SemaObjC Disallow using ObjC literals in direct comparisons (== and friends). 2012-06-08 21:14:25 +00:00
SemaObjCXX Warn in ObjC++ when an 'auto' variable deduces type 'id'. 2012-06-08 22:46:07 +00:00
SemaOpenCL Support constant evaluation for OpenCL nested vector literals. Patch by Anton Lokhmotov. 2012-01-03 23:24:20 +00:00
SemaTemplate PR13064: Store whether an in-class initializer uses direct or copy 2012-06-10 03:12:00 +00:00
Tooling clang/test/Tooling: Update comments in left 2 tests on XFAIL. They are incompatible to -fms-compatibility. 2012-05-23 22:24:33 +00:00
Unit
CMakeLists.txt Add the dependency on clang-check to clang-test, so clang-check 2012-04-04 12:18:22 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg test/lit.cfg: Please pass %INCLUDE% to clang.exe on Win32. MS-compatible clang may refer to %INCLUDE%. It fixes r154188. 2012-04-07 01:02:53 +00:00
lit.site.cfg.in
make_test_dirs.pl