Home | History | Annotate | Download | only in Rewrite

Lines Matching defs:DeclLoc

2156   SourceLocation DeclLoc = ND->getTypeSpecStartLoc();
2157 const char *startBuf = SM->getCharacterData(DeclLoc);
2169 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2175 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
4495 SourceLocation DeclLoc = FD->getLocation();
4499 const char *startBuf = SM->getCharacterData(DeclLoc);
4506 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf);
4507 assert((DeclLoc.isValid()) && "Invalid DeclLoc");
4515 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList);
4516 ReplaceText(DeclLoc, 1, "*");
4599 SourceLocation DeclLoc = ND->getLocation();
4610 const char *startBuf = SM->getCharacterData(DeclLoc);
4615 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf);
4638 DeclLoc = ND->getLocation();
4639 startBuf = SM->getCharacterData(DeclLoc);
4748 SourceLocation DeclLoc = ND->getTypeSpecStartLoc();
4749 if (DeclLoc.isInvalid())
4752 DeclLoc = ND->getLocation();
4753 const char *startBuf = SM->getCharacterData(DeclLoc);
4845 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
4872 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);