| /freebsd-src/contrib/llvm-project/lldb/source/Core/ |
| H A D | SourceManager.cpp | 1 //===-- SourceManager.cpp -------------------------------------------------===// 9 #include "lldb/Core/SourceManager.h" 64 // SourceManager constructor 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 [all...] |
| /freebsd-src/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, 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);
|
| /freebsd-src/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-src/contrib/llvm-project/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1 //===- SourceManager.cpp - Track and cache source files -------------------===// 9 // This file implements the SourceManager interface. 13 #include "clang/Basic/SourceManager.h" 58 // SourceManager Helper Classes 273 unsigned SourceManager::getLineTableFilenameID(StringRef Name) { in AddLineNote() 280 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote() 308 LineTableInfo &SourceManager::getLineTable() { 318 SourceManager::SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr, in ~SourceManager() 325 SourceManager in ~SourceManager() 310 SourceManager::SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr, SourceManager() function in SourceManager [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-src/contrib/llvm-project/clang/include/clang/Tooling/Syntax/ |
| H A D | Tokens.h | 32 #include "clang/Basic/SourceManager.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 [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-src/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, 203 StringRef getRawTextSlow(const SourceManager &SourceMgr) const; 214 RawCommentList(SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} 230 SourceManager &SourceMgr;
|
| /freebsd-src/contrib/llvm-project/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 [all...] |
| /freebsd-src/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | SourceLocation.h | 34 class SourceManager; variable 36 /// An opaque identifier used by SourceManager which refers to a 61 friend class SourceManager; variable 73 /// Encodes a location in the source. The SourceManager can decode this 91 friend class SourceManager; variable 184 void print(raw_ostream &OS, const SourceManager &SM) const; 185 std::string printToString(const SourceManager &SM) const; 186 void dump(const SourceManager &SM) const; 198 // Otherwise use SourceManager::isBeforeInTranslationUnit(). 244 void print(raw_ostream &OS, const SourceManager [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-src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.h | 32 class SourceManager; 73 SourceManager &SourceMgr; 80 CoverageSourceInfo(SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} 159 SourceManager &SM; in CoverageMappingGen() 165 CoverageMappingGen(CoverageMappingModuleGen &CVM, SourceManager &SM, in CoverageMappingGen() 170 CoverageMappingGen(CoverageMappingModuleGen &CVM, SourceManager &SM, 27 class SourceManager; global() variable
|
| /freebsd-src/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-src/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | SourceCode.cpp | 20 #include "clang/Basic/SourceManager.h" 54 const SourceManager &SM, in validateRange() 85 const SourceManager &SM) { in validateEditRange() 90 const SourceManager &SM) { in spelledInMacroDefinition() 108 getExpansionForSplitToken(SourceLocation Loc, const SourceManager &SM, in getRange() 129 const SourceManager &SM, in getFileRangeForEdit() 153 const SourceManager &SM, in contains() 175 const CharSourceRange &EditRange, const SourceManager &SM, in getEntityEndLoc() 186 const CharSourceRange &EditRange, const SourceManager &SM, in getEntityEndLoc() 197 static bool startsWithNewline(const SourceManager in getEntityEndLoc() [all...] |
| /freebsd-src/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-src/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-src/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-src/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-src/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()
|