<div dir="ltr">Hi all,<br><br>Consider the following declaration:<br><br>const char *const ptr = 0;<br><br>With an ordinary TypeLoc, I can get the SourceRange corresponding to the "char *" part of the type by calling getSourceRange(), but I would like to get the SourceRange of the whole qualtype, i.e. "const char *const". The documentation seems to suggest that this should be possible via the TypeLoc::findExplicitQualifierLoc() function, which "Find[s] a type with the location of an explicit type qualifier." The implementation casts the TypeLoc to a QualifiedTypeLoc and returns the result. However, the documentation for QualifiedTypeLoc states that "Currently, we intentionally do not provide source location for type qualifiers."<br><div><br></div><div>Does this mean that what I want to do is not possible?</div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Scott Constable</div></div>