| /openbsd-src/gnu/llvm/lldb/source/Core/ |
| H A D | SourceManager.cpp | 62 SourceManager::SourceManager(const TargetSP &target_sp) in SourceManager() function in SourceManager 67 SourceManager::SourceManager(const DebuggerSP &debugger_sp) in SourceManager() function in SourceManager 72 SourceManager::~SourceManager() = default; 74 SourceManager::FileSP SourceManager::GetFile(const FileSpec &file_spec) { in GetFile() 164 size_t SourceManager::DisplaySourceLinesWithLineNumbersUsingLastFile( in DisplaySourceLinesWithLineNumbersUsingLastFile() 253 size_t SourceManager::DisplaySourceLinesWithLineNumbers( in DisplaySourceLinesWithLineNumbers() 277 size_t SourceManager::DisplayMoreWithLineNumbers( in DisplayMoreWithLineNumbers() 322 bool SourceManager::SetDefaultFileAndLine(const FileSpec &file_spec, in SetDefaultFileAndLine() 336 bool SourceManager::GetDefaultFileAndLine(FileSpec &file_spec, uint32_t &line) { in GetDefaultFileAndLine() 383 void SourceManager::FindLinesMatchingRegex(FileSpec &file_spec, in FindLinesMatchingRegex() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Lex/ |
| H A D | Lexer.h | 39 class SourceManager; variable 181 const SourceManager &SM, const LangOptions &LangOpts, 339 const SourceManager &SourceMgr, 349 const SourceManager &SourceMgr, 363 const SourceManager &SM, 372 const SourceManager &SM, 378 const SourceManager &SM, 386 const SourceManager &SM, 393 const SourceManager &SM, 401 const SourceManager &SM, in AdvanceToTokenCharacter() [all …]
|
| H A D | PPConditionalDirectiveRecord.h | 26 SourceManager &SourceMgr; 42 SourceManager &SM; 44 explicit Comp(SourceManager &SM) : SM(SM) {} in Comp() 66 explicit PPConditionalDirectiveRecord(SourceManager &SM); 70 SourceManager &getSourceManager() const { return SourceMgr; } in getSourceManager()
|
| H A D | ScratchBuffer.h | 19 class SourceManager; variable 25 SourceManager &SourceMgr; 30 ScratchBuffer(SourceManager &SM);
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Core/ |
| H A D | SourceManager.h | 32 class SourceManager { 35 friend bool operator==(const SourceManager::File &lhs, 36 const SourceManager::File &rhs); 118 SourceManager(const lldb::DebuggerSP &debugger_sp); 119 SourceManager(const lldb::TargetSP &target_sp); 121 ~SourceManager(); 164 SourceManager(const SourceManager &) = delete; 165 const SourceManager &operator=(const SourceManager &) = delete; 168 bool operator==(const SourceManager::File &lhs, const SourceManager::File &rhs);
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 265 unsigned SourceManager::getLineTableFilenameID(StringRef Name) { in getLineTableFilenameID() 272 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote() 300 LineTableInfo &SourceManager::getLineTable() { in getLineTable() 310 SourceManager::SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr, in SourceManager() function in SourceManager 317 SourceManager::~SourceManager() { in ~SourceManager() 336 void SourceManager::clearIDTables() { in clearIDTables() 354 bool SourceManager::isMainFile(const FileEntry &SourceFile) { in isMainFile() 361 void SourceManager::initializeForReplay(const SourceManager &Old) { in initializeForReplay() 389 ContentCache &SourceManager::getOrCreateContentCache(FileEntryRef FileEnt, in getOrCreateContentCache() 422 ContentCache &SourceManager::createMemBufferContentCache( in createMemBufferContentCache() [all …]
|
| H A D | SourceLocation.cpp | 62 void SourceLocation::print(raw_ostream &OS, const SourceManager &SM)const{ in print() 89 SourceLocation::printToString(const SourceManager &SM) const { in printToString() 96 LLVM_DUMP_METHOD void SourceLocation::dump(const SourceManager &SM) const { in dump() 101 LLVM_DUMP_METHOD void SourceRange::dump(const SourceManager &SM) const { in dump() 106 static PresumedLoc PrintDifference(raw_ostream &OS, const SourceManager &SM, in PrintDifference() 136 void SourceRange::print(raw_ostream &OS, const SourceManager &SM) const { in print() 148 SourceRange::printToString(const SourceManager &SM) const { in printToString()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/Syntax/ |
| H A D | Tokens.h | 54 FileRange(const SourceManager &SM, SourceLocation BeginLoc, unsigned Length); 57 FileRange(const SourceManager &SM, SourceLocation BeginLoc, 78 llvm::StringRef text(const SourceManager &SM) const; 82 CharSourceRange toCharRange(const SourceManager &SM) const; 123 llvm::StringRef text(const SourceManager &SM) const; 127 FileRange range(const SourceManager &SM) const; 133 static FileRange range(const SourceManager &SM, const syntax::Token &First, 136 std::string dumpForTests(const SourceManager &SM) const; 176 TokenBuffer(const SourceManager &SourceMgr) : SourceMgr(&SourceMgr) {} in TokenBuffer() 309 const SourceManager &sourceManager() const { return *SourceMgr; } in sourceManager() [all …]
|
| H A D | TokenBufferTokenManager.h | 23 const LangOptions &LangOpts, SourceManager &SourceMgr) in TokenBufferTokenManager() 43 SourceManager &sourceManager() { return SM; } in sourceManager() 44 const SourceManager &sourceManager() const { return SM; } in sourceManager() 62 SourceManager &SM;
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | RawCommentList.h | 26 class SourceManager; variable 47 RawComment(const SourceManager &SourceMgr, SourceRange SR, 98 StringRef getRawText(const SourceManager &SourceMgr) const { in getRawText() 139 std::string getFormattedText(const SourceManager &SourceMgr, 154 std::vector<CommentLine> getFormattedLines(const SourceManager &SourceMgr, 186 StringRef getRawTextSlow(const SourceManager &SourceMgr) const; 197 RawCommentList(SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} in RawCommentList() 213 SourceManager &SourceMgr;
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CXSourceLocation.cpp | 206 const SourceManager &SM = in clang_Location_isInSystemHeader() 207 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_Location_isInSystemHeader() 217 const SourceManager &SM = in clang_Location_isFromMainFile() 218 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_Location_isFromMainFile() 239 const SourceManager &SM = in clang_getExpansionLocation() 240 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_getExpansionLocation() 281 const SourceManager &SM = in clang_getPresumedLocation() 282 *static_cast<const SourceManager *>(location.ptr_data[0]); in clang_getPresumedLocation() 319 const SourceManager &SM = in clang_getSpellingLocation() 320 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_getSpellingLocation() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Analysis/ |
| H A D | PathDiagnostic.h | 49 class SourceManager; variable 201 const SourceManager *SM = nullptr; 205 PathDiagnosticLocation(SourceLocation L, const SourceManager &sm, Kind kind) in PathDiagnosticLocation() 220 PathDiagnosticLocation(const Stmt *s, const SourceManager &sm, in PathDiagnosticLocation() 231 PathDiagnosticLocation(const Decl *d, const SourceManager &sm) in PathDiagnosticLocation() 241 PathDiagnosticLocation(SourceLocation loc, const SourceManager &sm) in PathDiagnosticLocation() 249 const SourceManager &SM) { in create() 255 const SourceManager &SM); 261 createBegin(const Decl *D, const SourceManager &SM, in createBegin() 268 const SourceManager &SM, [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | SourceLocation.h | 33 class SourceManager; variable 60 friend class SourceManager; variable 89 friend class SourceManager; variable 181 void print(raw_ostream &OS, const SourceManager &SM) const; 182 std::string printToString(const SourceManager &SM) const; 183 void dump(const SourceManager &SM) const; 241 void print(raw_ostream &OS, const SourceManager &SM) const; 242 std::string printToString(const SourceManager &SM) const; 243 void dump(const SourceManager &SM) const; 369 const SourceManager *SrcMgr = nullptr; [all …]
|
| H A D | PlistSupport.h | 39 const SourceManager &SM, SourceLocation L) { in AddFID() 50 inline unsigned GetFID(const FIDMap &FIDs, const SourceManager &SM, in GetFID() 107 inline void EmitLocation(raw_ostream &o, const SourceManager &SM, in EmitLocation() 111 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM)); in EmitLocation() 123 inline void EmitRange(raw_ostream &o, const SourceManager &SM, in EmitRange()
|
| H A D | XRayLists.h | 27 class SourceManager; variable 33 SourceManager &SM; 38 ArrayRef<std::string> AttrListPaths, SourceManager &SM);
|
| H A D | NoSanitizeList.h | 26 class SourceManager; variable 31 SourceManager &SM; 35 SourceManager &SM);
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.h | 27 class SourceManager; variable 68 SourceManager &SourceMgr; 75 CoverageSourceInfo(SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} in CoverageSourceInfo() 151 SourceManager &SM; 156 CoverageMappingGen(CoverageMappingModuleGen &CVM, SourceManager &SM, in CoverageMappingGen() 160 CoverageMappingGen(CoverageMappingModuleGen &CVM, SourceManager &SM, in CoverageMappingGen()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Edit/ |
| H A D | Commit.h | 23 class SourceManager; variable 46 SourceLocation getFileLocation(SourceManager &SM) const; 47 CharSourceRange getFileRange(SourceManager &SM) const; 48 CharSourceRange getInsertFromRange(SourceManager &SM) const; 52 const SourceManager &SourceMgr; 64 Commit(const SourceManager &SM, const LangOptions &LangOpts,
|
| H A D | EditedSource.h | 28 class SourceManager; variable 36 const SourceManager &SourceMgr; 73 EditedSource(const SourceManager &SM, const LangOptions &LangOpts, 77 const SourceManager &getSourceManager() const { return SourceMgr; } in getSourceManager()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Transformer/ |
| H A D | SourceCode.cpp | 54 const SourceManager &SM, in validateRange() 85 const SourceManager &SM) { in validateEditRange() 90 const SourceManager &SM) { in spelledInMacroDefinition() 105 const SourceManager &SM, in getRange() 126 const CharSourceRange &EditRange, const SourceManager &SM, in getFileRangeForEdit() 137 const CharSourceRange &EditRange, const SourceManager &SM, in getFileRange() 148 static bool startsWithNewline(const SourceManager &SM, const Token &Tok) { in startsWithNewline() 166 getEntityEndLoc(const SourceManager &SM, SourceLocation EntityLast, in getEntityEndLoc() 311 static SourceLocation skipWhitespaceAndNewline(const SourceManager &SM, in skipWhitespaceAndNewline() 327 static bool atOrBeforeSeparation(const SourceManager &SM, SourceLocation Loc, in atOrBeforeSeparation() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/Refactoring/ |
| H A D | AtomicChange.h | 43 AtomicChange(const SourceManager &SM, SourceLocation KeyPosition); 45 AtomicChange(const SourceManager &SM, SourceLocation KeyPosition, 88 llvm::Error replace(const SourceManager &SM, const CharSourceRange &Range, 94 llvm::Error replace(const SourceManager &SM, SourceLocation Loc, 105 llvm::Error insert(const SourceManager &SM, SourceLocation Loc,
|
| H A D | RefactoringRuleContext.h | 35 RefactoringRuleContext(const SourceManager &SM) : SM(SM) {} in RefactoringRuleContext() 37 const SourceManager &getSources() const { return SM; } in getSources() 72 const SourceManager &SM;
|
| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/Core/ |
| H A D | Replacement.h | 39 class SourceManager; variable 99 Replacement(const SourceManager &Sources, SourceLocation Start, 103 Replacement(const SourceManager &Sources, const CharSourceRange &Range, 109 Replacement(const SourceManager &Sources, const Node &NodeToReplace, 133 void setFromSourceLocation(const SourceManager &Sources, SourceLocation Start, 135 void setFromSourceRange(const SourceManager &Sources, 362 Replacement::Replacement(const SourceManager &Sources, in Replacement()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/ |
| H A D | RefactoringCallbacks.cpp | 72 static Replacement replaceStmtWithText(SourceManager &Sources, const Stmt &From, in replaceStmtWithText() 77 static Replacement replaceStmtWithStmt(SourceManager &Sources, const Stmt &From, in replaceStmtWithStmt() 92 *Result.SourceManager, in run() 112 replaceStmtWithStmt(*Result.SourceManager, *FromMatch, *ToMatch)); in run() 132 Replace.add(replaceStmtWithStmt(*Result.SourceManager, *Node, *Body)); in run() 143 Replace.add(replaceStmtWithText(*Result.SourceManager, *Node, "")); in run() 217 ToText += Lexer::getSourceText(Source, *Result.SourceManager, in run() 229 tooling::Replacement(*Result.SourceManager, &NodeMap.at(FromId), ToText, in run()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Rewrite/Core/ |
| H A D | Rewriter.h | 27 class SourceManager; variable 33 SourceManager *SourceMgr = nullptr; 69 explicit Rewriter(SourceManager &SM, const LangOptions &LO) in Rewriter() 72 void setSourceMgr(SourceManager &SM, const LangOptions &LO) { in setSourceMgr() 77 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr()
|