nikic wrote:

TBH I am wondering if we should revert this rename. I don't think it's a good 
idea to reuse getDeclaration with substantially different semantics, and if 
we're not reusing it, then there's not much point to rename...
Instead of having getOrInsertDeclaration + getDeclaration with a meaning 
inversion, we can have getDeclaration and getDeclarationIfExists without the 
inversion.

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

Reply via email to