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()
3924 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local
3928 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerFunctionArgs()
3935 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs()
3936 assert((DeclLoc.isValid()) && "Invalid DeclLoc"); in RewriteBlockPointerFunctionArgs()
3944 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs()
3945 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs()
4025 SourceLocation DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() local
4036 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
4041 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf); in RewriteBlockPointerDecl()
4064 DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl()
4065 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
4175 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteByRefVar() local
4176 if (DeclLoc.isInvalid()) in RewriteByRefVar()
4179 DeclLoc = ND->getLocation(); in RewriteByRefVar()
4180 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteByRefVar()
4268 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType); in RewriteByRefVar()
4295 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType); in RewriteByRefVar()