[all-commits] [llvm/llvm-project] f3ec9d: [analyzer] Fix non-obvious analyzer warning: Use o...
NoQ via All-commits
all-commits at lists.llvm.org
Tue Oct 12 10:41:17 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f3ec9d8501c91c22c1578470e638c74120f60667
https://github.com/llvm/llvm-project/commit/f3ec9d8501c91c22c1578470e638c74120f60667
Author: Artem Dergachev <artem.dergachev at gmail.com>
Date: 2021-10-12 (Tue, 12 Oct 2021)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
M clang/test/Analysis/NewDelete-checker-test.cpp
M clang/test/Analysis/malloc.c
Log Message:
-----------
[analyzer] Fix non-obvious analyzer warning: Use of zero-allocated memory.
Clarify the message provided when the analyzer catches the use of memory
that is allocated with size zero.
Differential Revision: https://reviews.llvm.org/D111655
More information about the All-commits
mailing list