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()
4767 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local
4771 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerFunctionArgs()
4778 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs()
4779 assert((DeclLoc.isValid()) && "Invalid DeclLoc"); in RewriteBlockPointerFunctionArgs()
4787 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs()
4788 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs()
4868 SourceLocation DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() local
4879 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
4884 SourceLocation Start = DeclLoc.getLocWithOffset(startBuf-endBuf); in RewriteBlockPointerDecl()
4907 DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl()
4908 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
5015 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteByRefVar() local
5016 if (DeclLoc.isInvalid()) in RewriteByRefVar()
5019 DeclLoc = ND->getLocation(); in RewriteByRefVar()
5020 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteByRefVar()
5115 DeclLoc = ND->getLocation(); in RewriteByRefVar()
5116 const char *startDeclBuf = SM->getCharacterData(DeclLoc); in RewriteByRefVar()
5121 DeclLoc = DeclLoc.getLocWithOffset(commaBuf - startDeclBuf); in RewriteByRefVar()
5132 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType); in RewriteByRefVar()
5144 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType); in RewriteByRefVar()