<div dir="ltr">Hello,<br><br>I'm trying to get a source location for a type name identifier in FriendDecl, but getLocation() method returns source location of keyword 'friend'. Such behavior confused me a bit, because usually getLocation() returns an identifier location. I've released I can get location which I need through DeclSpec::getTypeSpecTypeNameLoc(). But could you explain me why getLocation() behavior differs from expected one (at least expected by me) in this case?<br clear="all">
<div><br></div>-- <br>Kind regards, Dmitry Borisenkov</div>