Lines Matching refs:DeclLoc
2196 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl() local
2197 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteTypeOfDecl()
2209 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
2215 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
3923 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local
3927 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerFunctionArgs()
3934 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs()
3935 assert((DeclLoc.isValid()) && "Invalid DeclLoc"); in RewriteBlockPointerFunctionArgs()
3943 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs()
3944 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs()
4024 SourceLocation DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() local
4035 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
4040 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf); in RewriteBlockPointerDecl()
4063 DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl()
4064 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
4174 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteByRefVar() local
4175 if (DeclLoc.isInvalid()) in RewriteByRefVar()
4178 DeclLoc = ND->getLocation(); in RewriteByRefVar()
4179 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteByRefVar()
4267 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType); in RewriteByRefVar()
4294 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType); in RewriteByRefVar()