Searched refs:getCharacterData (Results 1 - 25 of 25) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
H A DUsingDeclarationsSorter.cpp159 StringRef Text(SourceMgr.getCharacterData(SortedBegin),
160 SourceMgr.getCharacterData(SortedEnd) -
161 SourceMgr.getCharacterData(SortedBegin));
163 StringRef OldText(SourceMgr.getCharacterData(Begin),
164 SourceMgr.getCharacterData(End) -
165 SourceMgr.getCharacterData(Begin));
H A DWhitespaceManager.cpp119 SourceMgr.getCharacterData(PreviousOriginalWhitespaceEnd);
121 SourceMgr.getCharacterData(OriginalWhitespaceStart) -
777 if (StringRef(SourceMgr.getCharacterData(Range.getBegin()),
H A DFormatTokenLexer.cpp843 Tok.TokenText = StringRef(SourceMgr.getCharacterData(Tok.Tok.getLocation()),
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp773 const char *startBuf = SM->getCharacterData(startLoc);
906 const char *startBuf = SM->getCharacterData(startLoc);
1005 const char *startBuf = SM->getCharacterData(LocStart);
1006 const char *endBuf = SM->getCharacterData(LocEnd);
1180 const char *startBuf = SM->getCharacterData(LocStart);
1181 const char *endBuf = SM->getCharacterData(LocEnd);
1193 const char *startBuf = SM->getCharacterData(LocStart);
1194 const char *endBuf = SM->getCharacterData(LocEnd);
1487 const char *startBuf = SM->getCharacterData(startLoc);
1543 const char *rparenBuf = SM->getCharacterData(rightParenLo
[all...]
H A DRewriteModernObjC.cpp926 const char *startBuf = SM->getCharacterData(startLoc);
1061 const char *startBuf = SM->getCharacterData(startLoc);
1171 const char *startBuf = SM->getCharacterData(LocStart);
1172 const char *endBuf = SM->getCharacterData(LocEnd);
1356 const char *startBuf = SM->getCharacterData(LocStart);
1357 const char *endBuf = SM->getCharacterData(LocEnd);
1369 const char *startBuf = SM->getCharacterData(LocStart);
1370 const char *endBuf = SM->getCharacterData(LocEnd);
1691 const char *startBuf = SM->getCharacterData(startLoc);
1750 const char *rparenBuf = SM->getCharacterData(rightParenLo
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DIssueHash.cpp152 const char *BufferPos = SM.getCharacterData(StartOfLine);
163 LineBuff << std::string(SM.getCharacterData(Token.getLocation()),
H A DHTMLDiagnostics.cpp768 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/
H A DSourceLocation.cpp241 const char *FullSourceLoc::getCharacterData(bool *Invalid) const { function in class:FullSourceLoc
243 return SrcMgr->getCharacterData(*this, Invalid);
H A DSourceManager.cpp1124 /// getCharacterData - Return a pointer to the start of the specified location
1126 const char *SourceManager::getCharacterData(SourceLocation SL, function in class:SourceManager
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseAST.cpp80 const char *Spelling = SM.getCharacterData(Tok.getLocation(), &Invalid);
H A DParseExpr.cpp508 SM.getCharacterData(FILoc.getLocWithOffset(-1), &IsInvalid);
511 SM.getCharacterData(FILoc.getLocWithOffset(-2), &IsInvalid);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DTokenConcatenation.cpp54 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation()));
137 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation()));
H A DLexer.cpp200 const char *StrData = SM.getCharacterData(SpellingLoc);
370 const char *TokStart = SourceMgr.getCharacterData(Tok.getLocation(),
421 TokStart = SourceMgr.getCharacterData(Tok.getLocation(), &CharDataInvalid);
725 const char *TokPtr = SM.getCharacterData(TokStart, &Invalid);
1281 const char *TokenEnd = SM.getCharacterData(TokenLoc) + Tok->getLength();
H A DPreprocessor.cpp247 const char *Start = SourceMgr.getCharacterData(Tok.getLocation());
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceLocation.h400 const char *getCharacterData(bool *Invalid = nullptr) const;
H A DSourceManager.h1385 const char *getCharacterData(SourceLocation SL,
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp255 char PrevChar = *SM.getCharacterData(InsertLoc.getLocWithOffset(-1));
H A DObjCMT.cpp309 const char *colon = PP.getSourceManager().getCharacterData(EndLoc);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriter.cpp203 const char *Ptr = SourceMgr->getCharacterData(Range.getBegin());
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp756 const char *CommentRaw = SM.getCharacterData(CommentBegin);
757 StringRef C(CommentRaw, SM.getCharacterData(Comment.getEnd()) - CommentRaw);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp517 m_compiler_instance->getSourceManager().getCharacterData(
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp51 const char *Start = SM.getCharacterData(location(), &Invalid);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h1738 // Otherwise, fall back on getCharacterData, which is slower, but always
1740 return *SourceMgr.getCharacterData(Tok.getLocation(), Invalid);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp3626 char PrevChar = *SM.getCharacterData(range.getBegin().getLocWithOffset(-1));
3644 char PrevChar = *SM.getCharacterData(range.getBegin().getLocWithOffset(-1));
H A DSemaType.cpp3949 const char *NextChar = S.SourceMgr.getCharacterData(FixItLoc);

Completed in 598 milliseconds