[cfe-dev] Const qualifiers on reference types

Victor Vicente de Carvalho victor.v.carvalho at gmail.com
Sun Jul 7 15:46:15 PDT 2013


I'm having a hard time recovering the const qualifier for a function that
returns a const & QualType. QualType::isConstQualified and
QualType::isLocalConstQualified are returning false and
getLocalCVRQualifiers , getCVRQualifiers are returning 0. getNameAsString
is returning const on the name. There is a different way to recover the
constness when the object is a reference?


Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130707/4cf8f51b/attachment.html>


More information about the cfe-dev mailing list