| /openbsd-src/gnu/llvm/clang/lib/Format/ |
| H A D | UsingDeclarationsSorter.cpp | 187 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 D | IntegerLiteralSeparatorFixer.cpp | 94 auto Text = StringRef(SourceMgr.getCharacterData(Location), Length); in process()
|
| H A D | WhitespaceManager.cpp | 132 SourceMgr.getCharacterData(PreviousOriginalWhitespaceEnd); in calculateLineBreakInformation() 134 SourceMgr.getCharacterData(OriginalWhitespaceStart) - in calculateLineBreakInformation() 1450 if (StringRef(SourceMgr.getCharacterData(Range.getBegin()), in storeReplacement()
|
| H A D | FormatTokenLexer.cpp | 1270 Tok.TokenText = StringRef(SourceMgr.getCharacterData(Tok.Tok.getLocation()), in readRawToken()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 774 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 D | RewriteModernObjC.cpp | 928 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 D | IssueHash.cpp | 155 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 D | SourceCode.cpp | 149 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 D | SourceLocation.cpp | 264 const char *FullSourceLoc::getCharacterData(bool *Invalid) const { in getCharacterData() function in FullSourceLoc 266 return SrcMgr->getCharacterData(*this, Invalid); in getCharacterData()
|
| H A D | SourceManager.cpp | 1159 const char *SourceManager::getCharacterData(SourceLocation SL, in getCharacterData() function in SourceManager
|
| /openbsd-src/gnu/llvm/clang/lib/Lex/ |
| H A D | TokenConcatenation.cpp | 54 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in IsIdentifierStringPrefix() 137 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in GetFirstChar()
|
| H A D | Lexer.cpp | 208 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 D | Preprocessor.cpp | 246 const char *Start = SourceMgr.getCharacterData(Tok.getLocation()); in DumpToken()
|
| /openbsd-src/gnu/llvm/clang/lib/Parse/ |
| H A D | ParseAST.cpp | 80 const char *Spelling = SM.getCharacterData(Tok.getLocation(), &Invalid); in print()
|
| H A D | ParseExpr.cpp | 509 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 D | SourceLocation.h | 410 const char *getCharacterData(bool *Invalid = nullptr) const;
|
| H A D | SourceManager.h | 1390 const char *getCharacterData(SourceLocation SL,
|
| /openbsd-src/gnu/llvm/clang/lib/Rewrite/ |
| H A D | Rewriter.cpp | 203 const char *Ptr = SourceMgr->getCharacterData(Range.getBegin()); in getRewrittenText()
|
| /openbsd-src/gnu/llvm/clang/lib/ARCMigrate/ |
| H A D | TransUnbridgedCasts.cpp | 254 char PrevChar = *SM.getCharacterData(InsertLoc.getLocWithOffset(-1)); in rewriteToBridgedCast()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | VerifyDiagnosticConsumer.cpp | 771 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 D | clang-import-test.cpp | 105 const char *LocData = SM.getCharacterData(Loc, /*Invalid=*/nullptr); in PrintSourceForLocation()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangModulesDeclVendor.cpp | 596 m_compiler_instance->getSourceManager().getCharacterData( in ForEachMacro()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | HTMLDiagnostics.cpp | 900 const char *TokInstantiationPtr =Pos.getExpansionLoc().getCharacterData(); in HandlePiece()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Syntax/ |
| H A D | Tokens.cpp | 208 const char *Start = SM.getCharacterData(location(), &Invalid); in text()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Lex/ |
| H A D | Preprocessor.h | 2113 return *SourceMgr.getCharacterData(Tok.getLocation(), Invalid);
|