Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DUsingDeclarationsSorter.cpp159 StringRef Text(SourceMgr.getCharacterData(SortedBegin), in endUsingDeclarationBlock()
160 SourceMgr.getCharacterData(SortedEnd) - in endUsingDeclarationBlock()
161 SourceMgr.getCharacterData(SortedBegin)); in endUsingDeclarationBlock()
163 StringRef OldText(SourceMgr.getCharacterData(Begin), in endUsingDeclarationBlock()
164 SourceMgr.getCharacterData(End) - in endUsingDeclarationBlock()
165 SourceMgr.getCharacterData(Begin)); in endUsingDeclarationBlock()
H A DWhitespaceManager.cpp126 SourceMgr.getCharacterData(PreviousOriginalWhitespaceEnd); in calculateLineBreakInformation()
128 SourceMgr.getCharacterData(OriginalWhitespaceStart) - in calculateLineBreakInformation()
1287 if (StringRef(SourceMgr.getCharacterData(Range.getBegin()), in storeReplacement()
H A DFormatTokenLexer.cpp1040 Tok.TokenText = StringRef(SourceMgr.getCharacterData(Tok.Tok.getLocation()), in readRawToken()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp1679 startBuf = SM->getCharacterData(startLoc); in RewriteObjCSynchronizedStmt()
1810 startBuf = SM->getCharacterData(startLoc); in RewriteObjCTryStmt()
1841 startBuf = SM->getCharacterData(startLoc); in RewriteObjCTryStmt()
1893 assert(*SM->getCharacterData(bodyLoc) == '}' && in RewriteObjCTryStmt()
1912 startBuf = SM->getCharacterData(startLoc); in RewriteObjCTryStmt()
1922 assert(*SM->getCharacterData(endLoc) == '}' && in RewriteObjCTryStmt()
2143 const char *endBuf = SM->getCharacterData(Loc); in RewriteObjCQualifiedInterfaceTypes()
2223 const char *endBuf = SM->getCharacterData(X); in RewriteTypeOfDecl()
4062 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
4180 const char *endBuf = SM->getCharacterData(X); in RewriteByRefVar()
[all …]
H A DRewriteModernObjC.cpp1174 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1975 startBuf = SM->getCharacterData(startLoc); in RewriteObjCTryStmt()
2059 const char *endBuf = SM->getCharacterData(endLoc); in RewriteObjCThrowStmt()
2229 const char *endBuf = SM->getCharacterData(Loc); in RewriteObjCQualifiedInterfaceTypes()
2246 const char *startBuf = SM->getCharacterData(Loc); in RewriteObjCQualifiedInterfaceTypes()
2309 const char *endBuf = SM->getCharacterData(X); in RewriteTypeOfDecl()
3890 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct()
4725 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteCastExpr()
4908 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
5023 const char *endBuf = SM->getCharacterData(X); in RewriteByRefVar()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DIssueHash.cpp154 const char *BufferPos = SM.getCharacterData(StartOfLine); in NormalizeLine()
165 LineBuff << std::string(SM.getCharacterData(Token.getLocation()), in NormalizeLine()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp105 return isVerticalWhitespace(SM.getCharacterData(Tok.getLocation())[0]); in startsWithNewline()
270 const char *LocChars = SM.getCharacterData(Loc); in skipWhitespaceAndNewline()
291 SM.getCharacterData(Loc.getLocWithOffset(-1), &Invalid); in atOrBeforeSeparation()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DSourceLocation.cpp260 const char *FullSourceLoc::getCharacterData(bool *Invalid) const { in getCharacterData() function in FullSourceLoc
262 return SrcMgr->getCharacterData(*this, Invalid); in getCharacterData()
H A DSourceManager.cpp1157 const char *SourceManager::getCharacterData(SourceLocation SL, in getCharacterData() function in SourceManager
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DTokenConcatenation.cpp54 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in IsIdentifierStringPrefix()
137 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in GetFirstChar()
H A DLexer.cpp203 const char *StrData = SM.getCharacterData(SpellingLoc); in Create_PragmaLexer()
373 const char *TokStart = SourceMgr.getCharacterData(Tok.getLocation(), in getSpelling()
424 TokStart = SourceMgr.getCharacterData(Tok.getLocation(), &CharDataInvalid); in getSpelling()
730 const char *TokPtr = SM.getCharacterData(TokStart, &Invalid); in getTokenPrefixLength()
1299 const char *TokenEnd = SM.getCharacterData(TokenLoc) + Tok->getLength(); in findLocationAfterToken()
H A DPreprocessor.cpp245 const char *Start = SourceMgr.getCharacterData(Tok.getLocation()); in DumpToken()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseAST.cpp80 const char *Spelling = SM.getCharacterData(Tok.getLocation(), &Invalid); in print()
H A DParseExpr.cpp508 SM.getCharacterData(FILoc.getLocWithOffset(-1), &IsInvalid); in ParseRHSOfBinaryExpression()
511 SM.getCharacterData(FILoc.getLocWithOffset(-2), &IsInvalid); in ParseRHSOfBinaryExpression()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceLocation.h405 const char *getCharacterData(bool *Invalid = nullptr) const;
H A DSourceManager.h1380 const char *getCharacterData(SourceLocation SL,
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp255 char PrevChar = *SM.getCharacterData(InsertLoc.getLocWithOffset(-1)); in rewriteToBridgedCast()
H A DObjCMT.cpp301 const char *colon = PP.getSourceManager().getCharacterData(EndLoc); in rewriteToPropertyDotSyntax()
/freebsd-13.1/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriter.cpp203 const char *Ptr = SourceMgr->getCharacterData(Range.getBegin()); in getRewrittenText()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp774 const char *CommentRaw = SM.getCharacterData(CommentBegin); in HandleComment()
775 StringRef C(CommentRaw, SM.getCharacterData(Comment.getEnd()) - CommentRaw); in HandleComment()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp535 m_compiler_instance->getSourceManager().getCharacterData( in ForEachMacro()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp817 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData(); in HandlePiece()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DTokens.cpp114 const char *Start = SM.getCharacterData(location(), &Invalid); in text()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h1787 return *SourceMgr.getCharacterData(Tok.getLocation(), Invalid);
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp3774 char PrevChar = *SM.getCharacterData(range.getBegin().getLocWithOffset(-1)); in addFixitForObjCARCConversion()
3792 char PrevChar = *SM.getCharacterData(range.getBegin().getLocWithOffset(-1)); in addFixitForObjCARCConversion()

12