llvm-project/clang/test
Artem Dergachev aa40315c69 [CFG] [analyzer] pr41142: C++17: Skip transparent InitListExprs in constructors.
When searching for construction contexts, i.e. figuring out which statements
define the object that is constructed by each construct-expression, ignore
transparent init-list expressions because they don't add anything to the
context. This allows the Static Analyzer to model construction, destruction,
materialization, lifetime extension correctly in more cases. Also fixes
a crash caused by incorrectly evaluating initial values of variables
initialized with such expressions.

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

llvm-svn: 356634
2019-03-21 00:15:07 +00:00
..
ARCMT
AST [AST] Disable ast-dump-openmp-parallel-master-XFAIL.c test 2019-03-20 17:14:49 +00:00
ASTMerge/choose-expr [ASTImporter] Add support for importing ChooseExpr AST nodes. 2019-02-26 19:26:41 +00:00
Analysis [CFG] [analyzer] pr41142: C++17: Skip transparent InitListExprs in constructors. 2019-03-21 00:15:07 +00:00
CXX Fix implementation of [temp.local]p4. 2019-02-15 21:53:07 +00:00
CodeCompletion Support framework import/include auto-completion 2019-02-27 17:40:33 +00:00
CodeGen [X86] Add __crc32b/__crc32w/__crc32d/__crc32q intrinsics to match gcc and icc. 2019-03-20 20:25:28 +00:00
CodeGenCUDA [CUDA][HIP][DebugInfo] Skip reference device function 2019-03-06 21:16:27 +00:00
CodeGenCXX Remove extra white spaces 2019-03-20 23:05:18 +00:00
CodeGenCoroutines Revert "[CodeGenCXX] Treat 'this' as noalias in constructors" 2018-10-15 15:43:00 +00:00
CodeGenObjC [CodeGen][ObjC] Remove the leading 'l' from symbols for protocol 2019-03-14 15:17:37 +00:00
CodeGenObjCXX Avoid needlessly copying a block to the heap when a block literal 2019-02-27 18:17:16 +00:00
CodeGenOpenCL [OpenCL] Generate 'unroll.enable' metadata for __attribute__((opencl_unroll_hint)) 2019-03-20 16:43:07 +00:00
CodeGenOpenCLCXX [Sema] Adjust addr space of reference operand in compound assignment 2019-03-19 16:50:21 +00:00
Coverage
CoverageMapping Fix clang tests broken by r353547 that depend on InstrProf 2019-02-10 20:17:07 +00:00
Driver Add --unwindlib=[libgcc|compiler-rt] to parallel --rtlib= [take 2] 2019-03-19 20:01:59 +00:00
FixIt Introduce the _Clang scoped attribute token. 2018-11-09 17:19:45 +00:00
Format
Frontend [Fixed Point Arithmetic] Fixed Point and Integer Conversions 2019-03-06 00:28:43 +00:00
Headers [OpenCL] Minor improvements in default header testing 2019-03-19 17:09:06 +00:00
Import [ASTImporter] Fix importing OperatorDelete from CXXConstructorDecl 2019-01-22 17:59:45 +00:00
Index [libclang] Expose aligned() attribute. 2019-03-13 16:16:54 +00:00
Integration
Layout
Lexer Factor out repeated code parsing and concatenating header-names from 2019-03-19 01:51:19 +00:00
Misc Revert "Add a new attribute, fortify_stdlib" 2019-03-13 21:37:01 +00:00
Modules Remove an unnecessary -f when cp'ing to a file that was just deleted. NFC. 2019-03-11 10:44:10 +00:00
OpenMP [OPENMP]Improve detection of omp_allocator_handle_t type and predefined 2019-03-20 20:14:22 +00:00
PCH [OPENMP]Improve detection of omp_allocator_handle_t type and predefined 2019-03-20 20:14:22 +00:00
Parser Add a __has_extension check for '#pragma clang attribute' as an external-declaration 2019-03-20 19:26:37 +00:00
Preprocessor Replace tok::angle_string_literal with new tok::header_name. 2019-03-19 22:09:55 +00:00
Profile [InstrProf] Use separate comdat group for data and counters 2019-02-27 23:38:44 +00:00
Refactor
Rewriter
Sema Fix implicit ios -> watchOS availability version mapping for 2019-03-20 20:02:00 +00:00
SemaCUDA [CUDA][HIP][Sema] Fix template kernel with function as template parameter 2019-03-05 18:19:35 +00:00
SemaCXX [Sema] Deduplicate some availability checking logic 2019-03-20 19:26:33 +00:00
SemaObjC [Sema] Fix a use-after-free of a _Nonnull ParsedAttr 2019-03-14 18:38:02 +00:00
SemaObjCXX [Sema] Deduplicate some availability checking logic 2019-03-20 19:26:33 +00:00
SemaOpenCL [OpenCL] Improved testing of default header. 2019-03-19 13:04:17 +00:00
SemaOpenCLCXX [OpenCL][PR40707] Allow OpenCL C types in C++ mode. 2019-02-15 12:07:57 +00:00
SemaTemplate [Sema] Deduplicate some availability checking logic 2019-03-20 19:26:33 +00:00
TableGen Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Templight
Tooling [test] Pass -ccc-install-dir in mac compilation db test 2019-01-21 17:05:43 +00:00
Unit
VFS [VFS] Implement `RedirectingFileSystem::getRealPath`. 2018-11-16 01:18:04 +00:00
clang-rename
.clang-format
CMakeLists.txt [build] Rename clang-headers to clang-resource-headers 2019-03-04 21:19:53 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [analyzer][CrossTU][NFC] Generalize to external definitions instead of external functions 2019-01-10 17:44:04 +00:00
lit.site.cfg.py.in This reverts commit 1440a848a635849b97f7a5cfa0ecc40d37451f5b. 2019-02-09 00:46:12 +00:00
make_test_dirs.pl