Home | History | Annotate | Download | only in Rewrite

Lines Matching refs:DeclLoc

2312   SourceLocation DeclLoc = ND->getTypeSpecStartLoc();
2313 const char *startBuf = SM->getCharacterData(DeclLoc);
2325 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2331 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
4852 SourceLocation DeclLoc = FD->getLocation();
4856 const char *startBuf = SM->getCharacterData(DeclLoc);
4863 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf);
4864 assert((DeclLoc.isValid()) && "Invalid DeclLoc");
4872 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList);
4873 ReplaceText(DeclLoc, 1, "*");
4954 SourceLocation DeclLoc = ND->getLocation();
4965 const char *startBuf = SM->getCharacterData(DeclLoc);
4970 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf);
4993 DeclLoc = ND->getLocation();
4994 startBuf = SM->getCharacterData(DeclLoc);
5104 SourceLocation DeclLoc = ND->getTypeSpecStartLoc();
5105 if (DeclLoc.isInvalid())
5108 DeclLoc = ND->getLocation();
5109 const char *startBuf = SM->getCharacterData(DeclLoc);
5204 DeclLoc = ND->getLocation();
5205 const char *startDeclBuf = SM->getCharacterData(DeclLoc);
5210 DeclLoc = DeclLoc.getLocWithOffset(commaBuf - startDeclBuf);
5221 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
5233 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);