rosefromthedead wrote:

I think it isn't a significant slowdown for `getCanonicalTypeUnqualified` 
itself because all functions called by `getUnqualifiedType` are defined in 
headers so it all ends up getting inlined, and it's not such an expensive 
operation in theory. Looking at the generated assembly of one of the call sites 
it doesn't seem like much, if any, overhead.

I also think it's not a significant slowdown for clang because I'm assuming 
that this function isn't hot, but I haven't checked.

https://github.com/llvm/llvm-project/pull/170271
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to