llvm-project/clang/test
Artem Dergachev cd25c38dc0 [analyzer] pr28449: Fix support for various array initializers.
In some cases the analyzer didn't expect an array-type variable to be
initialized with anything other than a string literal. The patch essentially
removes the assertion, and ensures relatively sane behavior.

There is a bigger problem with these initializers. Currently our memory model
(RegionStore) is being ordered to initialize the array with a region that
is assumed to be storing the initializer rvalue, and it guesses to copy
the contents of that region to the array variable. However, it would make
more sense for RegionStore to receive the correct initializer in the first
place. This problem isn't addressed with this patch.

rdar://problem/27248428
Differential Revision: https://reviews.llvm.org/D23963

llvm-svn: 315750
2017-10-13 20:54:56 +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
Analysis [analyzer] pr28449: Fix support for various array initializers. 2017-10-13 20:54:56 +00:00
CXX [Sema][Crash] Correctly handle an non-dependent noexcept expr in function template 2017-10-12 23:01:53 +00:00
CodeCompletion Fixed a crash in code completion. 2017-09-08 13:36:38 +00:00
CodeGen Basic: adjust attributes on `nan` LIBBUILTINs 2017-10-13 20:07:30 +00:00
CodeGenCUDA CodeGenModule: Always output wchar_size, check LLVM assumptions. 2017-05-20 01:29:55 +00:00
CodeGenCXX [SEH] Use the SEH personality on frontend-outlined funclets 2017-10-13 16:55:14 +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 Fix regression of test/CodeGenOpenCL/address-spaces.cl on ppc 2017-10-13 13:53:06 +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 [X86] Add skeleton support for knm cpu 2017-10-13 18:14:24 +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 Fix indexer crash for default template template parameter value 2017-10-10 21:09:49 +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 Revert r314955: "Remove PendingBody mechanism for function and ObjC method deserialization." 2017-10-11 07:47:54 +00:00
OpenMP [OPENMP] Fix PR34927: Emit initializer for reduction array with declare 2017-10-12 20:03:39 +00:00
PCH Implement C++ [basic.link]p8. 2017-09-20 07:22:00 +00:00
Parser A '<' with a trigraph '#' is not a valid editor placeholder 2017-10-11 00:41:20 +00:00
Preprocessor [X86] Remove 'knm' defines from predefined-arch-macros.c test. 2017-10-13 18:38:10 +00:00
Profile [Profile] Do not assign counters to functions without bodies 2017-06-30 21:02:14 +00:00
Refactor [clang-refactor] Apply source replacements 2017-10-13 19:42:05 +00:00
Rewriter [clang] Remove unit test which uses reverse-iterate flag 2017-08-24 22:40:32 +00:00
Sema Revert "[Sema] Diagnose tautological comparison with type's min/max values" 2017-10-12 22:03:20 +00:00
SemaCUDA [CUDA] When compilation fails, print the compilation mode. 2017-09-07 18:37:16 +00:00
SemaCXX Support for destroying operator delete, per C++2a proposal P0722. 2017-10-13 01:55:36 +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 [OpenCL] Add LangAS::opencl_private to represent private address space in AST 2017-10-13 03:37:48 +00:00
SemaTemplate [OpenCL] Add LangAS::opencl_private to represent private address space in AST 2017-10-13 03:37:48 +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 Revert "[lit] Raise the logic for enabling clang & lld substitutions to llvm." 2017-10-13 17:11:13 +00:00
lit.site.cfg.py.in [lit] Add host_cxx to lit config 2017-10-10 17:53:45 +00:00
make_test_dirs.pl