dyung wrote:

Hi @sdkrystian, we were fixing up some internal codebases which this change 
exposed problems with but noticed that this slightly tweaked example of one 
doesn't seem to trigger an error even though it seems like it should with your 
change:
```c++
enum BK {};
template <class > class COneSet {
  typedef COneSet self;
  void Swap();
  BK m_bk;
};
template <class T> void COneSet<T>::Swap() {
  self pSetOther;
  SWAP(pSetOther); // Still calls the undeclared function SWAP
}
```

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

Reply via email to