/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | SourceManager.cpp | 65 SourceManager::SourceManager(const TargetSP &target_sp) in SourceManager() function in SourceManager 70 SourceManager::SourceManager(const DebuggerSP &debugger_sp) in SourceManager() function in SourceManager 75 SourceManager::~SourceManager() = default; 77 SourceManager::FileSP SourceManager::GetFile(const FileSpec &file_spec) { in GetFile() 307 size_t SourceManager::DisplaySourceLinesWithLineNumbers( in DisplaySourceLinesWithLineNumbers() 331 size_t SourceManager::DisplayMoreWithLineNumbers( in DisplayMoreWithLineNumbers() 447 SourceManager::File::File(const FileSpec &file_spec, in File() 550 uint32_t SourceManager::File::GetNumLines() { in GetNumLines() 593 bool SourceManager::File::LineIsValid(uint32_t line) { in LineIsValid() 678 void SourceManager::File::FindLinesMatchingRegex( in FindLinesMatchingRegex() [all …]
|
/freebsd/contrib/llvm-project/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, 393 const SourceManager &SM, 431 const SourceManager &SM, in getAsCharRange() 462 const SourceManager &SM, [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);
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | SourceManager.h | 33 class SourceManager { 36 friend bool operator==(const SourceManager::File &lhs, 37 const SourceManager::File &rhs); 136 SourceManager(const lldb::DebuggerSP &debugger_sp); 137 SourceManager(const lldb::TargetSP &target_sp); 140 ~SourceManager(); 183 SourceManager(const SourceManager &) = delete; 184 const SourceManager &operator=(const SourceManager &) = delete; 187 bool operator==(const SourceManager::File &lhs, const SourceManager::File &rhs);
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | SourceManager.cpp | 300 LineTableInfo &SourceManager::getLineTable() { in getLineTable() 310 SourceManager::SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr, in SourceManager() function in SourceManager 317 SourceManager::~SourceManager() { in ~SourceManager() 335 void SourceManager::clearIDTables() { in clearIDTables() 361 void SourceManager::initializeForReplay(const SourceManager &Old) { in initializeForReplay() 632 SourceLocation SourceManager::createExpansionLoc( in createExpansionLoc() 687 void SourceManager::overrideFileContents( in overrideFileContents() 872 SourceLocation SourceManager:: 2120 void SourceManager::PrintStats() const { in PrintStats() 2206 void SourceManager::noteSLocAddressSpaceUsage( in noteSLocAddressSpaceUsage() [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()
|
/freebsd/contrib/llvm-project/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; 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() 378 const SourceManager *SourceMgr; [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;
|
/freebsd/contrib/llvm-project/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() 118 bool hasUnsupportedSplice(const SourceManager &SourceMgr) const { in hasUnsupportedSplice() 150 std::string getFormattedText(const SourceManager &SourceMgr, 165 std::vector<CommentLine> getFormattedLines(const SourceManager &SourceMgr, 198 StringRef getRawTextSlow(const SourceManager &SourceMgr) const; 209 RawCommentList(SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} in RawCommentList() 225 SourceManager &SourceMgr;
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | PathDiagnostic.h | 49 class SourceManager; variable 201 const SourceManager *SM = nullptr; 220 PathDiagnosticLocation(const Stmt *s, const SourceManager &sm, in PathDiagnosticLocation() 231 PathDiagnosticLocation(const Decl *d, const SourceManager &sm) in PathDiagnosticLocation() 249 const SourceManager &SM) { in create() 261 createBegin(const Decl *D, const SourceManager &SM, in createBegin() 268 const SourceManager &SM, 276 const SourceManager &SM, 314 const SourceManager &SMng); 597 void setCallee(const CallEnter &CE, const SourceManager &SM); [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 34 class SourceManager; variable 61 friend class SourceManager; variable 91 friend class SourceManager; variable 183 void print(raw_ostream &OS, const SourceManager &SM) const; 184 std::string printToString(const SourceManager &SM) const; 185 void dump(const SourceManager &SM) const; 243 void print(raw_ostream &OS, const SourceManager &SM) const; 244 std::string printToString(const SourceManager &SM) const; 245 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() 106 inline void EmitLocation(raw_ostream &o, const SourceManager &SM, in EmitLocation() 110 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM)); in EmitLocation() 122 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);
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CoverageMappingGen.h | 27 class SourceManager; variable 68 SourceManager &SourceMgr; 75 CoverageSourceInfo(SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} in CoverageSourceInfo() 150 SourceManager &SM; 157 CoverageMappingGen(CoverageMappingModuleGen &CVM, SourceManager &SM, in CoverageMappingGen() 162 CoverageMappingGen(CoverageMappingModuleGen &CVM, SourceManager &SM, in CoverageMappingGen()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/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 …]
|
/freebsd/contrib/llvm-project/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;
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Transformer/ |
H A D | SourceCode.h | 92 const SourceManager &SM); 97 llvm::Error validateRange(const CharSourceRange &Range, const SourceManager &SM, 113 getFileRangeForEdit(const CharSourceRange &EditRange, const SourceManager &SM, 133 const SourceManager &SM,
|
/freebsd/contrib/llvm-project/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()
|