Home | History | Annotate | Download | only in Rewrite

Lines Matching defs:DeclLoc

2232   SourceLocation DeclLoc = ND->getTypeSpecStartLoc();
2233 const char *startBuf = SM->getCharacterData(DeclLoc);
2245 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2251 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
4022 SourceLocation DeclLoc = FD->getLocation();
4026 const char *startBuf = SM->getCharacterData(DeclLoc);
4033 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf);
4034 assert((DeclLoc.isValid()) && "Invalid DeclLoc");
4042 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList);
4043 ReplaceText(DeclLoc, 1, "*");
4126 SourceLocation DeclLoc = ND->getLocation();
4137 const char *startBuf = SM->getCharacterData(DeclLoc);
4142 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf);
4165 DeclLoc = ND->getLocation();
4166 startBuf = SM->getCharacterData(DeclLoc);
4279 SourceLocation DeclLoc = ND->getTypeSpecStartLoc();
4280 if (DeclLoc.isInvalid())
4283 DeclLoc = ND->getLocation();
4284 const char *startBuf = SM->getCharacterData(DeclLoc);
4372 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
4399 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);