[all-commits] [llvm/llvm-project] e4bb68: [analyzer] Model constructor initializer for an ar...
Arseniy Zaostrovnykh via All-commits
all-commits at lists.llvm.org
Fri Sep 6 06:55:38 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e4bb68b8717a20c5828b479f83c8648c2596e598
https://github.com/llvm/llvm-project/commit/e4bb68b8717a20c5828b479f83c8648c2596e598
Author: Arseniy Zaostrovnykh <necto.ne at gmail.com>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
M clang/test/Analysis/ctor-array.cpp
M clang/test/Analysis/nullptr.cpp
Log Message:
-----------
[analyzer] Model constructor initializer for an array member (#107537)
Bind the array member to the compound region associated with the
initializer list, e.g.:
class C {
int arr[2];
C() : arr{1, 2} {}
};
C c;
This change enables correct values in `c.arr[0]` and `c.arr[1]`
CPP-5647
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