Lines Matching refs:DeclLoc
2389 SourceLocation DeclLoc = ND->getTypeSpecStartLoc();
2390 const char *startBuf = SM->getCharacterData(DeclLoc);
2402 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2408 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
4942 SourceLocation DeclLoc = FD->getLocation();
4946 const char *startBuf = SM->getCharacterData(DeclLoc);
4953 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf);
4954 assert((DeclLoc.isValid()) && "Invalid DeclLoc");
4962 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList);
4963 ReplaceText(DeclLoc, 1, "*");
5046 SourceLocation DeclLoc = ND->getLocation();
5057 const char *startBuf = SM->getCharacterData(DeclLoc);
5062 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf);
5085 DeclLoc = ND->getLocation();
5086 startBuf = SM->getCharacterData(DeclLoc);
5199 SourceLocation DeclLoc = ND->getTypeSpecStartLoc();
5200 if (DeclLoc.isInvalid())
5203 DeclLoc = ND->getLocation();
5204 const char *startBuf = SM->getCharacterData(DeclLoc);
5292 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
5319 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);