Lines Matching refs:DeclLoc
2200 SourceLocation DeclLoc = ND->getTypeSpecStartLoc();
2201 const char *startBuf = SM->getCharacterData(DeclLoc);
2213 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2219 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
3938 SourceLocation DeclLoc = FD->getLocation();
3942 const char *startBuf = SM->getCharacterData(DeclLoc);
3949 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf);
3950 assert((DeclLoc.isValid()) && "Invalid DeclLoc");
3958 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList);
3959 ReplaceText(DeclLoc, 1, "*");
4040 SourceLocation DeclLoc = ND->getLocation();
4051 const char *startBuf = SM->getCharacterData(DeclLoc);
4056 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf);
4079 DeclLoc = ND->getLocation();
4080 startBuf = SM->getCharacterData(DeclLoc);
4193 SourceLocation DeclLoc = ND->getTypeSpecStartLoc();
4194 if (DeclLoc.isInvalid())
4197 DeclLoc = ND->getLocation();
4198 const char *startBuf = SM->getCharacterData(DeclLoc);
4286 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
4313 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);