[clang] [SSAF] Let UnsafeBufferUsageExtractor & PointerFlowExtractor ignore templates (PR #198927)
Oliver Hunt via cfe-commits
cfe-commits at lists.llvm.org
Tue May 26 22:10:35 PDT 2026
https://github.com/ojhunt requested changes to this pull request.
It would be nice if we just skipped dependent expressions rather than disregarding the entire thing, and I'd also like to include a test to ensure that we don't skip diagnostics when a function in a dependent context is not actually dependent, something like:
```cpp
template <class T> struct Foo {
void f(int *a) {
}
};
Foo<int>::f;
```
and the other tests being added should also verify instantiation produces diagnostics.
https://github.com/llvm/llvm-project/pull/198927
More information about the cfe-commits
mailing list