llvm-project/clang/lib
Gabor Horvath 7304027c6d [analyzer] Calculate extent size for memory regions allocated by new expression.
ArrayBoundChecker did not detect out of bounds memory access errors in case an
array was allocated by the new expression. This patch resolves this issue.

Patch by Daniel Krupp!

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

llvm-svn: 281934
2016-09-19 20:39:52 +00:00
..
ARCMigrate [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
AST Reorder initializers in CallStackFrame so that we don't get a warning. 2016-09-19 18:13:13 +00:00
ASTMatchers Add an AST matcher for external formal linkage. 2016-08-17 13:10:42 +00:00
Analysis [analyzer] Fix CloneDetector crash on calling methods of class templates. 2016-08-23 16:42:00 +00:00
Basic Add some MS aliases for existing intrinsics 2016-09-14 21:19:43 +00:00
CodeGen Remove InstructionCombining and its related pass from sample pgo passes as we can handle "invoke" correctly. 2016-09-19 16:02:52 +00:00
Driver [CUDA] Don't try to run sanitizers on NVPTX. 2016-09-15 23:44:13 +00:00
Edit [OpenCL] Generate opaque type for sampler_t and function call for the initializer 2016-07-28 19:26:30 +00:00
Format clang-format: [JS] Fix line breaks before comments when sorting imports. 2016-09-19 07:02:34 +00:00
Frontend Simplify Clang's version number configuration in CMake. 2016-09-15 22:12:26 +00:00
FrontendTool C++ Modules TS: add frontend support for building pcm files from module 2016-08-26 00:14:38 +00:00
Headers [CUDA] Make __clang_cuda_cmath.h compatible with libc++. 2016-09-14 21:50:14 +00:00
Index Visit lambda capture inits from RecursiveASTVisitor::TraverseLambdaCapture(). 2016-08-17 14:59:53 +00:00
Lex Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes. 2016-09-07 21:53:17 +00:00
Parse [SemaObjC] Be more strict while parsing type arguments and protocols 2016-09-13 20:04:35 +00:00
Rewrite [analyzer] Fix HTMLRewriter style sheets to support non-webkit browsers. 2016-09-15 16:25:42 +00:00
Sema [OpenCL] Allow half type kernel argument when cl_khr_fp16 is enabled 2016-09-19 17:11:22 +00:00
Serialization Revert "[modules] When merging one definition into another, propagate the list of re-exporting modules from the discarded definition to the retained definition." 2016-09-14 10:05:10 +00:00
StaticAnalyzer [analyzer] Calculate extent size for memory regions allocated by new expression. 2016-09-19 20:39:52 +00:00
Tooling Recommit r281457 "Supports adding insertion around non-insertion replacements". 2016-09-19 08:40:42 +00:00
CMakeLists.txt