Home
last modified time | relevance | path

Searched refs:getCharacterData (Results 1 – 24 of 24) sorted by relevance

/external/clang/lib/Basic/
DSourceLocation.cpp130 const char *FullSourceLoc::getCharacterData(bool *Invalid) const { in getCharacterData() function in FullSourceLoc
132 return SrcMgr->getCharacterData(*this, Invalid); in getCharacterData()
DSourceManager.cpp1100 const char *SourceManager::getCharacterData(SourceLocation SL, in getCharacterData() function in SourceManager
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp773 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
904 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue()
1003 const char *startBuf = SM->getCharacterData(LocStart); in RewriteProtocolDecl()
1004 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1174 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl()
1175 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1185 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl()
1186 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1479 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCForCollectionStmt()
1535 const char *rparenBuf = SM->getCharacterData(rightParenLoc); in RewriteObjCForCollectionStmt()
[all …]
DRewriteModernObjC.cpp936 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
1072 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue()
1182 const char *startBuf = SM->getCharacterData(LocStart); in RewriteProtocolDecl()
1183 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1379 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl()
1380 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1390 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl()
1391 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1712 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCForCollectionStmt()
1771 const char *rparenBuf = SM->getCharacterData(rightParenLoc); in RewriteObjCForCollectionStmt()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DIssueHash.cpp144 const char *BufferPos = SM.getCharacterData(StartOfLine); in NormalizeLine()
155 LineBuff << std::string(SM.getCharacterData(Token.getLocation()), in NormalizeLine()
DHTMLDiagnostics.cpp371 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData(); in HandlePiece()
/external/clang/unittests/Tooling/
DCommentHandlerTest.cpp42 std::string C(SM.getCharacterData(Start), in HandleComment()
43 SM.getCharacterData(Loc.getEnd())); in HandleComment()
/external/clang/lib/Lex/
DTokenConcatenation.cpp55 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in IsIdentifierStringPrefix()
134 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in GetFirstChar()
DLexer.cpp178 const char *StrData = SM.getCharacterData(SpellingLoc); in Create_PragmaLexer()
331 const char *TokStart = SourceMgr.getCharacterData(Tok.getLocation(), in getSpelling()
382 TokStart = SourceMgr.getCharacterData(Tok.getLocation(), &CharDataInvalid); in getSpelling()
708 const char *TokPtr = SM.getCharacterData(TokStart, &Invalid); in AdvanceToTokenCharacter()
1191 const char *TokenEnd = SM.getCharacterData(TokenLoc) + in findLocationAfterToken()
DPreprocessor.cpp225 const char *Start = SourceMgr.getCharacterData(Tok.getLocation()); in DumpToken()
/external/clang/unittests/Lex/
DPPCallbacksTest.cpp149 const char* B = SourceMgr.getCharacterData(Range.getBegin()); in GetSourceString()
150 const char* E = SourceMgr.getCharacterData(Range.getEnd()); in GetSourceString()
/external/clang/lib/Parse/
DParseAST.cpp80 const char *Spelling = SM.getCharacterData(Tok.getLocation(), &Invalid); in print()
DParseExpr.cpp323 SM.getCharacterData(FILoc.getLocWithOffset(-1), &IsInvalid); in ParseRHSOfBinaryExpression()
326 SM.getCharacterData(FILoc.getLocWithOffset(-2), &IsInvalid); in ParseRHSOfBinaryExpression()
/external/clang/include/clang/Basic/
DSourceLocation.h294 const char *getCharacterData(bool *Invalid = nullptr) const;
DSourceManager.h1253 const char *getCharacterData(SourceLocation SL,
/external/clang/lib/Frontend/
DVerifyDiagnosticConsumer.cpp532 const char *CommentRaw = SM.getCharacterData(CommentBegin); in HandleComment()
533 StringRef C(CommentRaw, SM.getCharacterData(Comment.getEnd()) - CommentRaw); in HandleComment()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp257 char PrevChar = *SM.getCharacterData(InsertLoc.getLocWithOffset(-1)); in rewriteToBridgedCast()
DObjCMT.cpp297 const char *colon = PP.getSourceManager().getCharacterData(EndLoc); in rewriteToPropertyDotSyntax()
779 const char *lbrace = Ctx.getSourceManager().getCharacterData(EndLoc); in rewriteToNSMacroDecl()
/external/clang/lib/Rewrite/
DRewriter.cpp187 const char *Ptr = SourceMgr->getCharacterData(Range.getBegin()); in getRewrittenText()
/external/clang/lib/Format/
DWhitespaceManager.cpp480 if (StringRef(SourceMgr.getCharacterData(Range.getBegin()), in storeReplacement()
DFormat.cpp1364 Tok.TokenText = StringRef(SourceMgr.getCharacterData(Tok.Tok.getLocation()), in readRawToken()
/external/clang/include/clang/Lex/
DPreprocessor.h1396 return *SourceMgr.getCharacterData(Tok.getLocation(), Invalid);
/external/clang/lib/Sema/
DSemaExprObjC.cpp3370 char PrevChar = *SM.getCharacterData(range.getBegin().getLocWithOffset(-1)); in addFixitForObjCARCConversion()
3388 char PrevChar = *SM.getCharacterData(range.getBegin().getLocWithOffset(-1)); in addFixitForObjCARCConversion()
/external/clang/tools/libclang/
DCIndex.cpp5506 *startBuf = SM.getCharacterData(Body->getLBracLoc()); in clang_getDefinitionSpellingAndExtent()
5507 *endBuf = SM.getCharacterData(Body->getRBracLoc()); in clang_getDefinitionSpellingAndExtent()