Lines Matching refs:DeclLoc
2292 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl() local
2293 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteTypeOfDecl()
2305 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
2311 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
4768 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local
4772 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerFunctionArgs()
4779 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs()
4780 assert((DeclLoc.isValid()) && "Invalid DeclLoc"); in RewriteBlockPointerFunctionArgs()
4788 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs()
4789 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs()
4869 SourceLocation DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() local
4880 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
4885 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf); in RewriteBlockPointerDecl()
4908 DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl()
4909 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
5016 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteByRefVar() local
5017 if (DeclLoc.isInvalid()) in RewriteByRefVar()
5020 DeclLoc = ND->getLocation(); in RewriteByRefVar()
5021 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteByRefVar()
5116 DeclLoc = ND->getLocation(); in RewriteByRefVar()
5117 const char *startDeclBuf = SM->getCharacterData(DeclLoc); in RewriteByRefVar()
5122 DeclLoc = DeclLoc.getLocWithOffset(commaBuf - startDeclBuf); in RewriteByRefVar()
5133 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType); in RewriteByRefVar()
5145 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType); in RewriteByRefVar()