Lines Matching refs:DeclLoc
2205 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl() local
2206 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteTypeOfDecl()
2218 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
2224 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
3921 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local
3925 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerFunctionArgs()
3932 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs()
3933 assert((DeclLoc.isValid()) && "Invalid DeclLoc"); in RewriteBlockPointerFunctionArgs()
3941 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs()
3942 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs()
4022 SourceLocation DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() local
4033 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
4038 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf); in RewriteBlockPointerDecl()
4061 DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl()
4062 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
4172 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteByRefVar() local
4173 if (DeclLoc.isInvalid()) in RewriteByRefVar()
4176 DeclLoc = ND->getLocation(); in RewriteByRefVar()
4177 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteByRefVar()
4265 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType); in RewriteByRefVar()
4292 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType); in RewriteByRefVar()