[all-commits] [llvm/llvm-project] c76cb2: [analyzer] Refine default binding preservation in ...
Chandana Mudda via All-commits
all-commits at lists.llvm.org
Mon Apr 13 00:59:34 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c76cb2ba3c43d09d4a273bf0fe14be55789d9370
https://github.com/llvm/llvm-project/commit/c76cb2ba3c43d09d4a273bf0fe14be55789d9370
Author: Chandana Mudda <quic_csinderi at quicinc.com>
Date: 2026-04-13 (Mon, 13 Apr 2026)
Changed paths:
M clang/lib/StaticAnalyzer/Core/RegionStore.cpp
A clang/test/Analysis/regionstore-zero-init.cpp
Log Message:
-----------
[analyzer] Refine default binding preservation in RegionStore (#189319)
Narrow the new setImplicitDefaultValue() guard so existing default
bindings are preserved only for aggregate-like cases.
The previous change was too broad and regressed normal
zero-initialization, causing new int[10]{} to be modeled as undefined
and emit a garbage-value warning instead of the expected analyzer
reports.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list