Home
last modified time | relevance | path

Searched refs:getCharacterData (Results 1 – 22 of 22) 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.cpp1101 const char *SourceManager::getCharacterData(SourceLocation SL, in getCharacterData() function in SourceManager
/external/clang/lib/Rewrite/Frontend/
DRewriteObjC.cpp782 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
913 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue()
1012 const char *startBuf = SM->getCharacterData(LocStart); in RewriteProtocolDecl()
1013 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1183 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl()
1184 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1194 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl()
1195 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1488 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCForCollectionStmt()
1544 const char *rparenBuf = SM->getCharacterData(rightParenLoc); in RewriteObjCForCollectionStmt()
[all …]
DRewriteModernObjC.cpp948 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
1084 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue()
1194 const char *startBuf = SM->getCharacterData(LocStart); in RewriteProtocolDecl()
1195 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1391 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl()
1392 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1402 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl()
1403 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1724 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCForCollectionStmt()
1783 const char *rparenBuf = SM->getCharacterData(rightParenLoc); in RewriteObjCForCollectionStmt()
[all …]
/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()
130 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in GetFirstChar()
DLexer.cpp184 const char *StrData = SM.getCharacterData(SpellingLoc); in Create_PragmaLexer()
337 const char *TokStart = SourceMgr.getCharacterData(Tok.getLocation(), in getSpelling()
388 TokStart = SourceMgr.getCharacterData(Tok.getLocation(), &CharDataInvalid); in getSpelling()
714 const char *TokPtr = SM.getCharacterData(TokStart, &Invalid); in AdvanceToTokenCharacter()
1197 const char *TokenEnd = SM.getCharacterData(TokenLoc) + in findLocationAfterToken()
DPreprocessor.cpp204 const char *Start = SourceMgr.getCharacterData(Tok.getLocation()); in DumpToken()
/external/clang/unittests/Lex/
DPPCallbacksTest.cpp153 const char* B = SourceMgr.getCharacterData(Range.getBegin()); in GetSourceString()
154 const char* E = SourceMgr.getCharacterData(Range.getEnd()); in GetSourceString()
/external/clang/lib/Parse/
DParseAST.cpp66 const char *Spelling = SM.getCharacterData(Tok.getLocation(), &Invalid); in print()
DParseExpr.cpp285 SM.getCharacterData(FILoc.getLocWithOffset(-1), &IsInvalid); in ParseRHSOfBinaryExpression()
288 SM.getCharacterData(FILoc.getLocWithOffset(-2), &IsInvalid); in ParseRHSOfBinaryExpression()
/external/clang/include/clang/Basic/
DSourceLocation.h293 const char *getCharacterData(bool *Invalid = nullptr) const;
DSourceManager.h1228 const char *getCharacterData(SourceLocation SL,
/external/clang/lib/Frontend/
DVerifyDiagnosticConsumer.cpp535 const char *CommentRaw = SM.getCharacterData(CommentBegin); in HandleComment()
536 StringRef C(CommentRaw, SM.getCharacterData(Comment.getEnd()) - CommentRaw); in HandleComment()
/external/clang/lib/Format/
DWhitespaceManager.cpp285 if (StringRef(SourceMgr.getCharacterData(Range.getBegin()), in storeReplacement()
DFormat.cpp1649 Tok.TokenText = StringRef(SourceMgr.getCharacterData(Tok.Tok.getLocation()), in readRawToken()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp257 char PrevChar = *SM.getCharacterData(InsertLoc.getLocWithOffset(-1)); in rewriteToBridgedCast()
/external/clang/lib/Rewrite/Core/
DRewriter.cpp191 const char *Ptr = SourceMgr->getCharacterData(Range.getBegin()); in getRewrittenText()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp353 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData(); in HandlePiece()
/external/clang/include/clang/Lex/
DPreprocessor.h1087 return *SourceMgr.getCharacterData(Tok.getLocation(), Invalid);
/external/clang/lib/Sema/
DSemaExprObjC.cpp3065 char PrevChar = *SM.getCharacterData(range.getBegin().getLocWithOffset(-1)); in addFixitForObjCARCConversion()
3083 char PrevChar = *SM.getCharacterData(range.getBegin().getLocWithOffset(-1)); in addFixitForObjCARCConversion()
/external/clang/tools/libclang/
DCIndex.cpp4990 *startBuf = SM.getCharacterData(Body->getLBracLoc()); in clang_getDefinitionSpellingAndExtent()
4991 *endBuf = SM.getCharacterData(Body->getRBracLoc()); in clang_getDefinitionSpellingAndExtent()