Home | History | Annotate | Download | only in Frontend

Lines Matching refs:DeclLoc

2334   SourceLocation DeclLoc = ND->getTypeSpecStartLoc();
2335 const char *startBuf = SM->getCharacterData(DeclLoc);
2347 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2353 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
4974 SourceLocation DeclLoc = FD->getLocation();
4978 const char *startBuf = SM->getCharacterData(DeclLoc);
4985 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf);
4986 assert((DeclLoc.isValid()) && "Invalid DeclLoc");
4994 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList);
4995 ReplaceText(DeclLoc, 1, "*");
5078 SourceLocation DeclLoc = ND->getLocation();
5089 const char *startBuf = SM->getCharacterData(DeclLoc);
5094 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf);
5117 DeclLoc = ND->getLocation();
5118 startBuf = SM->getCharacterData(DeclLoc);
5228 SourceLocation DeclLoc = ND->getTypeSpecStartLoc();
5229 if (DeclLoc.isInvalid())
5232 DeclLoc = ND->getLocation();
5233 const char *startBuf = SM->getCharacterData(DeclLoc);
5328 DeclLoc = ND->getLocation();
5329 const char *startDeclBuf = SM->getCharacterData(DeclLoc);
5334 DeclLoc = DeclLoc.getLocWithOffset(commaBuf - startDeclBuf);
5345 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
5357 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);