AaronBallman wrote:

> Allow users to match all record instantiations by using <> as a wildcard.

I think this will change the behavior of existing matchers, consider:
```
template <typename Ty = int>
struct S {
  Ty Val;
  void Call();
};

int main() {
  S<> s;
  s.Call(); // Currently matches only this

  S<float> another;
  another.Call(); // Will now start to match this as well?
}
```
https://godbolt.org/z/Gr439c9v4

WDYT?

https://github.com/llvm/llvm-project/pull/100349
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to