llvm-project/clang/test
Kristof Umann c21ec00d28 [analyzer][UninitializedObjectChecker] PR41611: Regard vector types as primitive
https://bugs.llvm.org/show_bug.cgi?id=41611

Similarly to D61106, the checker ran over an llvm_unreachable for vector types:

struct VectorSizeLong {
  VectorSizeLong() {}
  __attribute__((__vector_size__(16))) long x;
};

void __vector_size__LongTest() {
  VectorSizeLong v;
}
Since, according to my short research,

"The vector_size attribute is only applicable to integral and float scalars,
although arrays, pointers, and function return values are allowed in conjunction
with this construct."
[src: https://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/Vector-Extensions.html#Vector-Extensions]

vector types are safe to regard as primitive.

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

llvm-svn: 359539
2019-04-30 08:47:56 +00:00
..
ARCMT
AST [Test] Remove obsolete test. 2019-04-16 16:44:45 +00:00
ASTMerge/choose-expr [ASTImporter] Add support for importing ChooseExpr AST nodes. 2019-02-26 19:26:41 +00:00
Analysis [analyzer][UninitializedObjectChecker] PR41611: Regard vector types as primitive 2019-04-30 08:47:56 +00:00
CXX [www] Rebuild cxx_dr_status. 2019-04-26 01:51:08 +00:00
CodeCompletion Support framework import/include auto-completion 2019-02-27 17:40:33 +00:00
CodeGen Add __builtin_dcbf support for PPC 2019-04-29 23:25:33 +00:00
CodeGenCUDA [HIP] Fix visibility of `__constant__` variables. 2019-04-26 19:31:48 +00:00
CodeGenCXX Re-land r359250, [COFF] Statically link certain runtime library functions 2019-04-29 23:05:47 +00:00
CodeGenCoroutines
CodeGenObjC Re-land r359250, [COFF] Statically link certain runtime library functions 2019-04-29 23:05:47 +00:00
CodeGenObjCXX Re-land r359250, [COFF] Statically link certain runtime library functions 2019-04-29 23:05:47 +00:00
CodeGenOpenCL Move setTargetAttributes after setGVProperties in SetFunctionAttributes 2019-04-23 21:50:11 +00:00
CodeGenOpenCLCXX [PR41157][OpenCL] Prevent implicit init of local addr space var in C++ mode. 2019-04-04 11:08:51 +00:00
Coverage
CoverageMapping Fix clang tests broken by r353547 that depend on InstrProf 2019-02-10 20:17:07 +00:00
Driver [Fuchsia] Support multilib for -fsanitize=address and -fno-exceptions 2019-04-27 00:25:13 +00:00
FixIt Improve -Wuninitialized warning under ARC for block variables that are 2019-04-23 23:52:02 +00:00
Format
Frontend [verify] Add support for location markers in directives. 2019-04-13 04:33:39 +00:00
Headers [PowerPC] [Clang] Port MMX intrinsics and basic test cases to Power 2019-04-23 05:50:24 +00:00
Import [ASTImporter] Copy Argument Passing Restrictions setting when importing a CXXRecordDecl definition 2019-04-26 18:51:28 +00:00
Index Make test more robust by writing stdout/stderr to different files. 2019-04-29 22:57:15 +00:00
Integration
Layout
Lexer Factor out repeated code parsing and concatenating header-names from 2019-03-19 01:51:19 +00:00
Misc Support objc_nonlazy_class attribute on Objective-C implementations 2019-04-11 17:55:34 +00:00
Modules Skip type units/type uniquing when we know we're only emitting the type once (vtable-based emission when triggered by a strong vtable, with -fno-standalone-debug) 2019-04-25 20:05:47 +00:00
OpenMP [OPENMP]Fix PR41617: crash on template instantiation. 2019-04-29 15:51:36 +00:00
PCH When skipping code at the start of a file during PCH use, Preprocessor::Lex 2019-04-29 21:21:17 +00:00
Parser [Sema][MSVC] Fix bogus microsoft-pure-definition warning on member function of class template 2019-04-21 13:12:10 +00:00
Preprocessor [AArch64] Add support for MTE intrinsics 2019-04-26 21:08:11 +00:00
Profile [PGO] Fix buildbot failure in 359215 2019-04-25 21:16:41 +00:00
Refactor
Rewriter
Sema [Diagnostics] Support -Wtype-limits for GCC compatibility 2019-04-29 23:24:00 +00:00
SemaCUDA Permit redeclarations of a builtin to specify calling convention. 2019-03-21 13:30:56 +00:00
SemaCXX [Diagnostics] Support -Wtype-limits for GCC compatibility 2019-04-29 23:24:00 +00:00
SemaObjC Revert r350917 "[Sema] If CheckPlaceholderExpr rewrites the initializer 2019-04-24 02:22:38 +00:00
SemaObjCXX [Sema][ObjC] Don't warn about an implicitly retained self if the 2019-04-17 23:14:44 +00:00
SemaOpenCL [AMDGPU] rename vi-insts into gfx8-insts 2019-04-05 18:25:00 +00:00
SemaOpenCLCXX [PR41247] Fixed parsing of private keyword in C++. 2019-03-28 11:47:14 +00:00
SemaTemplate PR41607: Don't forget to substitute outer template arguments into a 2019-04-26 02:11:23 +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 Remove a bogus sed option in test. 2019-04-08 16:34:38 +00:00
Unit [lit] Set shlibpath_var on AIX 2019-03-29 23:33:04 +00:00
VFS [VFS] Implement `RedirectingFileSystem::getRealPath`. 2018-11-16 01:18:04 +00:00
clang-rename
.clang-format
CMakeLists.txt Moved everything SMT-related to LLVM and updated the cmake scripts. 2019-03-25 17:47:45 +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 Moved everything SMT-related to LLVM and updated the cmake scripts. 2019-03-25 17:47:45 +00:00
make_test_dirs.pl