[all-commits] [llvm/llvm-project] 98a95d: [analyzer] Retrieve a value from list initializati...
Denys Petrov via All-commits
all-commits at lists.llvm.org
Fri Sep 24 02:38:14 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 98a95d4844caf8edfabd9352393a5546049b54e8
https://github.com/llvm/llvm-project/commit/98a95d4844caf8edfabd9352393a5546049b54e8
Author: Denys Petrov <dpetrov at accesssoftek.com>
Date: 2021-09-24 (Fri, 24 Sep 2021)
Changed paths:
M clang/lib/StaticAnalyzer/Core/RegionStore.cpp
M clang/test/Analysis/initialization.c
M clang/test/Analysis/initialization.cpp
Log Message:
-----------
[analyzer] Retrieve a value from list initialization of constant array declaration in a global scope.
Summary: Fix the point that we didn't take into account array's dimension. Retrieve a value of global constant array by iterating through its initializer list.
Differential Revision: https://reviews.llvm.org/D104285
Fixes: https://bugs.llvm.org/show_bug.cgi?id=50604
More information about the All-commits
mailing list