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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to