llvm-project/clang/test
Artem Dergachev 59428d182f [analyzer] Fix leak false positives on stuff put in C++/ObjC initializer lists.
The analyzer now realizes that C++ std::initializer_list objects and
Objective-C boxed structure/array/dictionary expressions can potentially
maintain a reference to the objects that were put into them. This avoids
false memory leak posivites and a few other issues.

This is a conservative behavior; for now, we do not model what actually happens
to the objects after being passed into such initializer lists.

rdar://problem/32918288
Differential Revision: https://reviews.llvm.org/D35216

llvm-svn: 314975
2017-10-05 08:43:32 +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] Fix leak false positives on stuff put in C++/ObjC initializer lists. 2017-10-05 08:43:32 +00:00
CXX Add a "vexing parse" warning for ambiguity between a variable declaration and a 2017-09-29 23:57:25 +00:00
CodeCompletion Fixed a crash in code completion. 2017-09-08 13:36:38 +00:00
CodeGen [OpenCL] Clean up and add missing fields for block struct 2017-10-04 20:32:17 +00:00
CodeGenCUDA CodeGenModule: Always output wchar_size, check LLVM assumptions. 2017-05-20 01:29:55 +00:00
CodeGenCXX R34811: Allow visibilities other than 'default' for VisibleNoLinkage entities. 2017-10-03 01:58:15 +00:00
CodeGenCoroutines [coroutines] Support coroutine-handle returning await-suspend (i.e symmetric control transfer) 2017-08-25 04:46:54 +00:00
CodeGenObjC Look through parentheses. 2017-09-28 01:31:17 +00:00
CodeGenObjCXX Fix off-by-one error in block mangling. 2017-09-07 05:41:24 +00:00
CodeGenOpenCL [OpenCL] Clean up and add missing fields for block struct 2017-10-04 20:32:17 +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 Enabling new pass manager in LTO (and thinLTO) link step. 2017-10-05 01:50:48 +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 This adds the _Float16 preprocessor macro definitions. 2017-09-13 15:23:19 +00:00
Import Add support for remembering origins to ExternalASTMerger 2017-09-27 19:57:58 +00:00
Index Set completion priority of destructors and operators to CCP_Unlikely. 2017-09-22 19:07:37 +00:00
Integration Fix the test fix from r312181 2017-08-30 23:26:38 +00:00
Layout Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
Lexer Recommit "Add _Float16 as a C/C++ source language type" 2017-09-08 15:15:00 +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 Add testcase for r314956: 2017-10-05 00:48:18 +00:00
OpenMP [OpenMP] Initial implementation of teams distribute code generation 2017-10-04 14:12:09 +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 Add support for Myriad ma2x8x series of CPUs 2017-10-02 18:50:57 +00:00
Profile [Profile] Do not assign counters to functions without bodies 2017-06-30 21:02:14 +00:00
Refactor Fix Refactor/tool-test-support.c test on Windows by avoiding 2017-09-14 15:10:39 +00:00
Rewriter [clang] Remove unit test which uses reverse-iterate flag 2017-08-24 22:40:32 +00:00
Sema Fix 'section' warning behavior with tentatively-defined values 2017-10-04 22:16:24 +00:00
SemaCUDA [CUDA] When compilation fails, print the compilation mode. 2017-09-07 18:37:16 +00:00
SemaCXX Fix assertion failure in thread safety analysis (PR34800). 2017-10-04 10:24:36 +00:00
SemaObjC [Sema][ObjC] Warn about mismatches in attributes between overriding and 2017-09-20 05:39:18 +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.cfg] Avoid concatenating which(clang-func-mapping) if it's missing 2017-09-22 18:42:28 +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