Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/clang/lib/Format/
H A DUsingDeclarationsSorter.cpp187 StringRef Text(SourceMgr.getCharacterData(SortedBegin), in endUsingDeclarationBlock()
188 SourceMgr.getCharacterData(SortedEnd) - in endUsingDeclarationBlock()
189 SourceMgr.getCharacterData(SortedBegin)); in endUsingDeclarationBlock()
191 StringRef OldText(SourceMgr.getCharacterData(Begin), in endUsingDeclarationBlock()
192 SourceMgr.getCharacterData(End) - in endUsingDeclarationBlock()
193 SourceMgr.getCharacterData(Begin)); in endUsingDeclarationBlock()
H A DIntegerLiteralSeparatorFixer.cpp94 auto Text = StringRef(SourceMgr.getCharacterData(Location), Length); in process()
H A DWhitespaceManager.cpp132 SourceMgr.getCharacterData(PreviousOriginalWhitespaceEnd); in calculateLineBreakInformation()
134 SourceMgr.getCharacterData(OriginalWhitespaceStart) - in calculateLineBreakInformation()
1450 if (StringRef(SourceMgr.getCharacterData(Range.getBegin()), in storeReplacement()
H A DFormatTokenLexer.cpp1270 Tok.TokenText = StringRef(SourceMgr.getCharacterData(Tok.Tok.getLocation()), in readRawToken()
/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp774 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
908 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue()
1007 const char *startBuf = SM->getCharacterData(LocStart); in RewriteProtocolDecl()
1008 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1182 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl()
1183 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1195 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl()
1196 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1489 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCForCollectionStmt()
1545 const char *rparenBuf = SM->getCharacterData(rightParenLoc); in RewriteObjCForCollectionStmt()
[all …]
H A DRewriteModernObjC.cpp928 const char *startBuf = SM->getCharacterData(startLoc); in RewritePropertyImplDecl()
1064 const char *startBuf = SM->getCharacterData(startLoc); in RewriteForwardClassEpilogue()
1174 const char *startBuf = SM->getCharacterData(LocStart); in RewriteProtocolDecl()
1175 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteProtocolDecl()
1359 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl()
1360 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1372 const char *startBuf = SM->getCharacterData(LocStart); in RewriteImplementationDecl()
1373 const char *endBuf = SM->getCharacterData(LocEnd); in RewriteImplementationDecl()
1694 const char *startBuf = SM->getCharacterData(startLoc); in RewriteObjCForCollectionStmt()
1753 const char *rparenBuf = SM->getCharacterData(rightParenLoc); in RewriteObjCForCollectionStmt()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DIssueHash.cpp155 const char *BufferPos = SM.getCharacterData(StartOfLine); in NormalizeLine()
166 LineBuff << std::string(SM.getCharacterData(Token.getLocation()), in NormalizeLine()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp149 return isVerticalWhitespace(SM.getCharacterData(Tok.getLocation())[0]); in startsWithNewline()
314 const char *LocChars = SM.getCharacterData(Loc); in skipWhitespaceAndNewline()
335 SM.getCharacterData(Loc.getLocWithOffset(-1), &Invalid); in atOrBeforeSeparation()
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DSourceLocation.cpp264 const char *FullSourceLoc::getCharacterData(bool *Invalid) const { in getCharacterData() function in FullSourceLoc
266 return SrcMgr->getCharacterData(*this, Invalid); in getCharacterData()
H A DSourceManager.cpp1159 const char *SourceManager::getCharacterData(SourceLocation SL, in getCharacterData() function in SourceManager
/openbsd-src/gnu/llvm/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.cpp208 const char *StrData = SM.getCharacterData(SpellingLoc); in Create_PragmaLexer()
376 const char *TokStart = SourceMgr.getCharacterData(Tok.getLocation(), in getSpelling()
427 TokStart = SourceMgr.getCharacterData(Tok.getLocation(), &CharDataInvalid); in getSpelling()
733 const char *TokPtr = SM.getCharacterData(TokStart, &Invalid); in getTokenPrefixLength()
1305 const char *TokenEnd = SM.getCharacterData(TokenLoc) + Tok->getLength(); in findLocationAfterToken()
H A DPreprocessor.cpp246 const char *Start = SourceMgr.getCharacterData(Tok.getLocation()); in DumpToken()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseAST.cpp80 const char *Spelling = SM.getCharacterData(Tok.getLocation(), &Invalid); in print()
H A DParseExpr.cpp509 SM.getCharacterData(FILoc.getLocWithOffset(-1), &IsInvalid); in ParseRHSOfBinaryExpression()
512 SM.getCharacterData(FILoc.getLocWithOffset(-2), &IsInvalid); in ParseRHSOfBinaryExpression()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DSourceLocation.h410 const char *getCharacterData(bool *Invalid = nullptr) const;
H A DSourceManager.h1390 const char *getCharacterData(SourceLocation SL,
/openbsd-src/gnu/llvm/clang/lib/Rewrite/
H A DRewriter.cpp203 const char *Ptr = SourceMgr->getCharacterData(Range.getBegin()); in getRewrittenText()
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp254 char PrevChar = *SM.getCharacterData(InsertLoc.getLocWithOffset(-1)); in rewriteToBridgedCast()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp771 const char *CommentRaw = SM.getCharacterData(CommentBegin); in HandleComment()
772 StringRef C(CommentRaw, SM.getCharacterData(Comment.getEnd()) - CommentRaw); in HandleComment()
/openbsd-src/gnu/llvm/clang/tools/clang-import-test/
H A Dclang-import-test.cpp105 const char *LocData = SM.getCharacterData(Loc, /*Invalid=*/nullptr); in PrintSourceForLocation()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp596 m_compiler_instance->getSourceManager().getCharacterData( in ForEachMacro()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp900 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData(); in HandlePiece()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Syntax/
H A DTokens.cpp208 const char *Start = SM.getCharacterData(location(), &Invalid); in text()
/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DPreprocessor.h2113 return *SourceMgr.getCharacterData(Tok.getLocation(), Invalid);

12