Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Format/
H A DUsingDeclarationsSorter.cpp161 StringRef Text(SourceMgr.getCharacterData(SortedBegin), in endUsingDeclarationBlock()
162 SourceMgr.getCharacterData(SortedEnd) - in endUsingDeclarationBlock()
163 SourceMgr.getCharacterData(SortedBegin)); in endUsingDeclarationBlock()
165 StringRef OldText(SourceMgr.getCharacterData(Begin), in endUsingDeclarationBlock()
166 SourceMgr.getCharacterData(End) - in endUsingDeclarationBlock()
167 SourceMgr.getCharacterData(Begin)); in endUsingDeclarationBlock()
H A DWhitespaceManager.cpp119 SourceMgr.getCharacterData(PreviousOriginalWhitespaceEnd); in calculateLineBreakInformation()
121 SourceMgr.getCharacterData(OriginalWhitespaceStart) - in calculateLineBreakInformation()
640 if (StringRef(SourceMgr.getCharacterData(Range.getBegin()), in storeReplacement()
H A DFormatTokenLexer.cpp681 Tok.TokenText = StringRef(SourceMgr.getCharacterData(Tok.Tok.getLocation()), in readRawToken()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp1671 startBuf = SM->getCharacterData(startLoc); in RewriteObjCSynchronizedStmt()
1802 startBuf = SM->getCharacterData(startLoc); in RewriteObjCTryStmt()
1833 startBuf = SM->getCharacterData(startLoc); in RewriteObjCTryStmt()
1885 assert(*SM->getCharacterData(bodyLoc) == '}' && in RewriteObjCTryStmt()
1904 startBuf = SM->getCharacterData(startLoc); in RewriteObjCTryStmt()
1914 assert(*SM->getCharacterData(endLoc) == '}' && in RewriteObjCTryStmt()
2134 const char *endBuf = SM->getCharacterData(Loc); in RewriteObjCQualifiedInterfaceTypes()
2214 const char *endBuf = SM->getCharacterData(X); in RewriteTypeOfDecl()
4064 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
4182 const char *endBuf = SM->getCharacterData(X); in RewriteByRefVar()
[all …]
H A DRewriteModernObjC.cpp1175 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1971 startBuf = SM->getCharacterData(startLoc); in RewriteObjCTryStmt()
2055 const char *endBuf = SM->getCharacterData(endLoc); in RewriteObjCThrowStmt()
2225 const char *endBuf = SM->getCharacterData(Loc); in RewriteObjCQualifiedInterfaceTypes()
2242 const char *startBuf = SM->getCharacterData(Loc); in RewriteObjCQualifiedInterfaceTypes()
2305 const char *endBuf = SM->getCharacterData(X); in RewriteTypeOfDecl()
3893 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteObjCInternalStruct()
4732 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteCastExpr()
4915 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
5030 const char *endBuf = SM->getCharacterData(X); in RewriteByRefVar()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DIssueHash.cpp153 const char *BufferPos = SM.getCharacterData(StartOfLine); in NormalizeLine()
164 LineBuff << std::string(SM.getCharacterData(Token.getLocation()), in NormalizeLine()
H A DHTMLDiagnostics.cpp673 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData(); in HandlePiece()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DSourceLocation.cpp242 const char *FullSourceLoc::getCharacterData(bool *Invalid) const { in getCharacterData() function in FullSourceLoc
244 return SrcMgr->getCharacterData(*this, Invalid); in getCharacterData()
H A DSourceManager.cpp1094 const char *SourceManager::getCharacterData(SourceLocation SL, in getCharacterData() function in SourceManager
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DTokenConcatenation.cpp55 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in IsIdentifierStringPrefix()
138 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in GetFirstChar()
H A DLexer.cpp201 const char *StrData = SM.getCharacterData(SpellingLoc); in Create_PragmaLexer()
362 const char *TokStart = SourceMgr.getCharacterData(Tok.getLocation(), in getSpelling()
413 TokStart = SourceMgr.getCharacterData(Tok.getLocation(), &CharDataInvalid); in getSpelling()
718 const char *TokPtr = SM.getCharacterData(TokStart, &Invalid); in getTokenPrefixLength()
1274 const char *TokenEnd = SM.getCharacterData(TokenLoc) + Tok->getLength(); in findLocationAfterToken()
H A DPreprocessor.cpp239 const char *Start = SourceMgr.getCharacterData(Tok.getLocation()); in DumpToken()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseAST.cpp80 const char *Spelling = SM.getCharacterData(Tok.getLocation(), &Invalid); in print()
H A DParseExpr.cpp378 SM.getCharacterData(FILoc.getLocWithOffset(-1), &IsInvalid); in ParseRHSOfBinaryExpression()
381 SM.getCharacterData(FILoc.getLocWithOffset(-2), &IsInvalid); in ParseRHSOfBinaryExpression()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceLocation.h379 const char *getCharacterData(bool *Invalid = nullptr) const;
H A DSourceManager.h1343 const char *getCharacterData(SourceLocation SL,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp615 const char *CommentRaw = SM.getCharacterData(CommentBegin); in HandleComment()
616 StringRef C(CommentRaw, SM.getCharacterData(Comment.getEnd()) - CommentRaw); in HandleComment()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Rewrite/
H A DRewriter.cpp193 const char *Ptr = SourceMgr->getCharacterData(Range.getBegin()); in getRewrittenText()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp256 char PrevChar = *SM.getCharacterData(InsertLoc.getLocWithOffset(-1)); in rewriteToBridgedCast()
H A DObjCMT.cpp298 const char *colon = PP.getSourceManager().getCharacterData(EndLoc); in rewriteToPropertyDotSyntax()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp486 m_compiler_instance->getSourceManager().getCharacterData( in ForEachMacro()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessor.h1629 return *SourceMgr.getCharacterData(Tok.getLocation(), Invalid);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprObjC.cpp3552 char PrevChar = *SM.getCharacterData(range.getBegin().getLocWithOffset(-1)); in addFixitForObjCARCConversion()
3570 char PrevChar = *SM.getCharacterData(range.getBegin().getLocWithOffset(-1)); in addFixitForObjCARCConversion()
H A DSemaChecking.cpp10842 S.getSourceManager().getCharacterData(IntLit->getBeginLoc())[0]; in isSameWidthConstantConversion()
10851 S.getSourceManager().getCharacterData(CC)[0]; in isSameWidthConstantConversion()
H A DSemaType.cpp3745 const char *NextChar = S.SourceMgr.getCharacterData(FixItLoc); in fixItNullability()