llvm-project/clang/test
Kristof Umann ef9af05539 [analyzer][UninitializedObjectChecker] Pointer/reference objects are dereferenced according to dynamic type
This patch fixed an issue where the dynamic type of pointer/reference
object was known by the analyzer, but wasn't obtained in the checker,
which resulted in false negatives. This should also increase reliability
of the checker, as derefencing is always done now according to the
dynamic type (even if that happens to be the same as the static type).

Special thanks to Artem Degrachev for setting me on the right track.

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

llvm-svn: 339240
2018-08-08 13:18:53 +00:00
..
ARCMT [ObjC] Allow declaring __strong pointer fields in structs in Objective-C 2018-02-28 07:15:55 +00:00
ASTMerge [ASTImporter] Load external Decls when getting field index. 2018-08-08 09:40:57 +00:00
Analysis [analyzer][UninitializedObjectChecker] Pointer/reference objects are dereferenced according to dynamic type 2018-08-08 13:18:53 +00:00
CXX Clean up and simplify RequireCompleteType. 2018-08-07 21:35:41 +00:00
CodeCompletion [CodeComplete] Add a few extra tests for r333538. NFC 2018-06-01 09:49:53 +00:00
CodeGen Revert "[DebugInfo] Generate debug information for labels. (Fix PR37395)" 2018-08-06 07:07:18 +00:00
CodeGenCUDA Try to make builtin address space declarations not useless 2018-08-02 12:14:28 +00:00
CodeGenCXX Fixed a breaking test case 2018-08-08 02:47:28 +00:00
CodeGenCoroutines [Coroutines] Less IR for noexcept await_resume 2018-06-23 18:57:26 +00:00
CodeGenObjC [CodeGen][ObjC] Make block copy/dispose helper functions exception-safe. 2018-07-26 16:51:21 +00:00
CodeGenObjCXX Add missing temporary materialization conversion on left-hand side of . 2018-07-27 17:13:18 +00:00
CodeGenOpenCL Fix one hard coded value I missed in r339185. 2018-08-07 21:37:14 +00:00
Coverage Reapply "[Parse] Use CapturedStmt for @finally on MSVC" 2018-06-08 00:30:00 +00:00
CoverageMapping [OPENMP] Fix PR38256: Fix locations of the artificial conditional op. 2018-07-25 14:40:26 +00:00
Driver [WebAssembly] Remove use of lld -flavor flag 2018-08-07 18:55:41 +00:00
FixIt [Sema] Add fixit for unused lambda captures 2018-07-16 07:23:47 +00:00
Format
Frontend [Fixed Point Arithmetic] Fixed Point Constant 2018-08-06 16:42:37 +00:00
Headers [ms] Add __shiftleft128 / __shiftright128 intrinsics 2018-07-20 21:02:09 +00:00
Import [ASTImporter] Add support for import of CXXInheritedCtorInitExpr. 2018-07-25 10:21:06 +00:00
Index [libclang 8/8] Add support for the flag_enum attribute 2018-08-03 05:55:40 +00:00
Integration
Layout NFC - Fix typo in test/Layout/itanium-pack-and-align.cpp 2018-07-04 11:21:44 +00:00
Lexer [Preprocessor] Allow libc++ to detect when aligned allocation is unavailable. 2018-08-03 23:12:37 +00:00
Misc Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
Modules Diagnose invalid cv-qualifiers for friend decls. 2018-08-03 22:09:44 +00:00
OpenMP [OPENMP] Mark variables captured in declare target region as implicitly 2018-08-07 16:14:36 +00:00
PCH [VirtualFileSystem] InMemoryFileSystem::status: Return a Status with the requested name 2018-08-06 21:48:20 +00:00
Parser Append new attributes to the end of an AttributeList. 2018-08-03 01:21:16 +00:00
Preprocessor [Android] Increase default new alignment for Android 2018-08-01 17:55:34 +00:00
Profile [FileCheck] Add -allow-deprecated-dag-overlap to failing clang tests 2018-07-11 20:26:20 +00:00
Refactor
Rewriter Reapply "[Parse] Use CapturedStmt for @finally on MSVC" 2018-06-08 00:30:00 +00:00
Sema [Sema] Fix for crash on conditional operation with address_space pointer 2018-08-07 19:43:53 +00:00
SemaCUDA [CUDA][HIP] Allow function-scope static const variable 2018-07-28 03:05:25 +00:00
SemaCXX PR38286: Don't crash when attempting to define a constructor for an 2018-08-08 00:42:42 +00:00
SemaObjC Clean up and simplify RequireCompleteType. 2018-08-07 21:35:41 +00:00
SemaObjCXX [Sema] Relax a failing assert in TemplateArgumentLoc 2018-07-31 00:18:30 +00:00
SemaOpenCL AMDGPU: Add builtin for s_dcache_wb 2018-08-07 07:49:13 +00:00
SemaOpenCLCXX [OpenCL] Support new/delete in Sema 2018-06-14 09:51:54 +00:00
SemaTemplate [Sema] Ensure an auto non-type template parameter is dependent 2018-08-07 22:59:02 +00:00
TableGen [Clang Tablegen][RFC] Allow Early Textual Substitutions in `Diagnostic` messages. 2018-05-19 03:12:04 +00:00
Templight
Tooling [lit, python] Always add quotes around the python path in lit 2018-08-06 22:37:45 +00:00
Unit
VFS [Modules][ObjC] Warn on the use of '@import' in framework headers 2018-06-27 20:29:36 +00:00
clang-rename
.clang-format
CMakeLists.txt Support for multiarch runtimes layout 2018-06-28 03:11:52 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [test] Fix %hmaptool path for standalone builds 2018-08-01 20:38:22 +00:00
lit.site.cfg.py.in Remove unused lit setting, see https://reviews.llvm.org/D46619 2018-05-09 12:38:51 +00:00
make_test_dirs.pl