[clang] [llvm] [analyzer] Remove the alpha.core.FixedAddr checker (PR #182033)
Ziqing Luo via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 19 16:13:26 PST 2026
================
@@ -138,7 +138,7 @@ void f8(struct f8_s *s, int coin) {
void f9() {
int (*p_function) (char, char) = (int (*)(char, char))0x04040; // FIXME: warn at this initialization
- p_function = (int (*)(char, char))0x04080; // expected-warning {{Using a fixed address is not portable}}
+ p_function = (int (*)(char, char))0x04080;
// FIXME: there should be a warning from calling the function pointer with fixed address
int x = (*p_function) ('x', 'y');
----------------
ziqingluo-90 wrote:
This PR LGTM as long as we do not forget about this issue.
https://github.com/llvm/llvm-project/pull/182033
More information about the cfe-commits
mailing list