Lines Matching refs:DeclLoc
2291 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl() local
2292 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteTypeOfDecl()
2304 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
2310 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
4765 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local
4769 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerFunctionArgs()
4776 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs()
4777 assert((DeclLoc.isValid()) && "Invalid DeclLoc"); in RewriteBlockPointerFunctionArgs()
4785 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs()
4786 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs()
4866 SourceLocation DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() local
4877 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
4882 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf); in RewriteBlockPointerDecl()
4905 DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl()
4906 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
5013 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteByRefVar() local
5014 if (DeclLoc.isInvalid()) in RewriteByRefVar()
5017 DeclLoc = ND->getLocation(); in RewriteByRefVar()
5018 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteByRefVar()
5113 DeclLoc = ND->getLocation(); in RewriteByRefVar()
5114 const char *startDeclBuf = SM->getCharacterData(DeclLoc); in RewriteByRefVar()
5119 DeclLoc = DeclLoc.getLocWithOffset(commaBuf - startDeclBuf); in RewriteByRefVar()
5130 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType); in RewriteByRefVar()
5142 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType); in RewriteByRefVar()