[cfe-dev] Template Qualifier Removal Question

Andrew Gozillon via cfe-dev cfe-dev at lists.llvm.org
Sun Aug 12 23:36:11 PDT 2018


Hi,

I have a question relating to template metafunctions like remove_const that split a type from its qualifiers.

I was wondering where in Clang the decision to remove const (or another qualifier or pointer) from a type is made when using templates and then where it's performed (the new type generated)? I originally thought the conversion might be in TreeTransform.h in a function like TransformQualifiedType but it doesn't appear to be the case (I could be missing something however).

Sorry if the question is not entirely clear and thank you very much for your time and help!

Best Regards,
Andrew

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180813/e0f4dd75/attachment.html>


More information about the cfe-dev mailing list