[PATCH] D124621: [Analyzer] Fix assumptions about const field with member-initializer
Rafael Stahl via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 2 09:52:28 PDT 2022
r.stahl accepted this revision.
r.stahl added a comment.
I can confirm the issue with my patch, so this piece of code needs to be removed.
As long as the following test still succeeds, this looks good to me. Back then, the analyzer was not able to cover that case without that addition.
https://github.com/llvm/llvm-project/blob/main/clang/test/Analysis/globals.cpp#L110
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124621/new/
https://reviews.llvm.org/D124621
More information about the cfe-commits
mailing list