[PATCH] D146773: [-Wunsafe-buffer-usage] Make raw (ungrouped) warnings a bit more verbose.
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 23 17:30:37 PDT 2023
NoQ added inline comments.
================
Comment at: clang/test/SemaCXX/warn-unsafe-buffer-usage.cpp:256
- foo(f(p, &p, a, a)[1]); // expected-warning{{unsafe buffer access}}
- // FIXME: expected note at -1{{in instantiation of function template specialization 'f<int *, 10>' requested here}}
----------------
I don't think this FIXME was correct. The code we're warning about isn't expanded from a template.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146773/new/
https://reviews.llvm.org/D146773
More information about the cfe-commits
mailing list