Sirraide wrote:

> Not confused. renaming `getPointeeFoo` to `getPointerBar` does not seem 
> correct, especially as `getPointeeOrArrayElementType` does indeed return a 
> pointee.

Ah, I see, in that case the only other name I could think of would be something 
like `getPointerOrObjCPointerPointeeOrArrayElementType`. I personally was 
reading `getPointerOrObjCPointerOrArrayElementType()` as ‘get the element type 
of a pointer, objc pointer, or array’.

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

Reply via email to