[all-commits] [llvm/llvm-project] 68ee5e: [Analyzer] Fix assumptions about const field with ...
Marco Antognini via All-commits
all-commits at lists.llvm.org
Tue May 3 02:27:58 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 68ee5ec07d4a169baf287acad9ad7fa85d764a22
https://github.com/llvm/llvm-project/commit/68ee5ec07d4a169baf287acad9ad7fa85d764a22
Author: Marco Antognini <marco.antognini at sonarsource.com>
Date: 2022-05-03 (Tue, 03 May 2022)
Changed paths:
M clang/lib/StaticAnalyzer/Core/RegionStore.cpp
A clang/test/Analysis/cxx-member-initializer-const-field.cpp
Log Message:
-----------
[Analyzer] Fix assumptions about const field with member-initializer
Essentially, having a default member initializer for a constant member
does not necessarily imply the member will have the given default value.
Remove part of a2e053638bbf ([analyzer] Treat more const variables and
fields as known contants., 2018-05-04).
Fix #47878
Reviewed By: r.stahl, steakhal
Differential Revision: https://reviews.llvm.org/D124621
More information about the All-commits
mailing list