Lines Matching defs:DeclLoc
2203 SourceLocation DeclLoc = ND->getTypeSpecStartLoc();
2204 const char *startBuf = SM->getCharacterData(DeclLoc);
2216 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2222 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
3913 SourceLocation DeclLoc = FD->getLocation();
3917 const char *startBuf = SM->getCharacterData(DeclLoc);
3924 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf);
3925 assert((DeclLoc.isValid()) && "Invalid DeclLoc");
3933 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList);
3934 ReplaceText(DeclLoc, 1, "*");
4014 SourceLocation DeclLoc = ND->getLocation();
4025 const char *startBuf = SM->getCharacterData(DeclLoc);
4030 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf);
4053 DeclLoc = ND->getLocation();
4054 startBuf = SM->getCharacterData(DeclLoc);
4163 SourceLocation DeclLoc = ND->getTypeSpecStartLoc();
4164 if (DeclLoc.isInvalid())
4167 DeclLoc = ND->getLocation();
4168 const char *startBuf = SM->getCharacterData(DeclLoc);
4256 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
4283 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);