Lines Matching refs:DeclLoc
2287 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl() local
2288 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteTypeOfDecl()
2300 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
2306 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
4774 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local
4778 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerFunctionArgs()
4785 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs()
4786 assert((DeclLoc.isValid()) && "Invalid DeclLoc"); in RewriteBlockPointerFunctionArgs()
4794 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs()
4795 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs()
4875 SourceLocation DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() local
4886 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
4891 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf); in RewriteBlockPointerDecl()
4914 DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl()
4915 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
5022 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteByRefVar() local
5023 if (DeclLoc.isInvalid()) in RewriteByRefVar()
5026 DeclLoc = ND->getLocation(); in RewriteByRefVar()
5027 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteByRefVar()
5122 DeclLoc = ND->getLocation(); in RewriteByRefVar()
5123 const char *startDeclBuf = SM->getCharacterData(DeclLoc); in RewriteByRefVar()
5128 DeclLoc = DeclLoc.getLocWithOffset(commaBuf - startDeclBuf); in RewriteByRefVar()
5139 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType); in RewriteByRefVar()
5151 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType); in RewriteByRefVar()