Home
last modified time | relevance | path

Searched refs:SourceManager (Results 1 – 25 of 254) sorted by relevance

1234567891011

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h38 class SourceManager; variable
157 const SourceManager &SM, const LangOptions &LangOpts);
307 const SourceManager &SourceMgr,
317 const SourceManager &SourceMgr,
331 const SourceManager &SM,
340 const SourceManager &SM,
346 const SourceManager &SM,
361 const SourceManager &SM,
430 const SourceManager &SM,
466 const SourceManager &SM,
[all …]
H A DPPConditionalDirectiveRecord.h26 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 DScratchBuffer.h19 class SourceManager; variable
25 SourceManager &SourceMgr;
30 ScratchBuffer(SourceManager &SM);
/freebsd-13.1/contrib/llvm-project/lldb/source/Core/
H A DSourceManager.cpp54 SourceManager::SourceManager(const TargetSP &target_sp) in SourceManager() function in SourceManager
59 SourceManager::SourceManager(const DebuggerSP &debugger_sp) in SourceManager() function in SourceManager
64 SourceManager::~SourceManager() = default;
66 SourceManager::FileSP SourceManager::GetFile(const FileSpec &file_spec) { in GetFile()
266 size_t SourceManager::DisplayMoreWithLineNumbers( in DisplayMoreWithLineNumbers()
382 SourceManager::File::File(const FileSpec &file_spec, in File()
479 uint32_t SourceManager::File::GetNumLines() { in GetNumLines()
522 bool SourceManager::File::LineIsValid(uint32_t line) { in LineIsValid()
531 void SourceManager::File::UpdateIfNeeded() { in UpdateIfNeeded()
605 void SourceManager::File::FindLinesMatchingRegex( in FindLinesMatchingRegex()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Core/
H A DSourceManager.h31 class SourceManager {
34 friend bool operator==(const SourceManager::File &lhs,
35 const SourceManager::File &rhs);
117 SourceManager(const lldb::DebuggerSP &debugger_sp);
118 SourceManager(const lldb::TargetSP &target_sp);
120 ~SourceManager();
163 SourceManager(const SourceManager &) = delete;
164 const SourceManager &operator=(const SourceManager &) = delete;
167 bool operator==(const SourceManager::File &lhs, const SourceManager::File &rhs);
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp300 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()
361 void SourceManager::initializeForReplay(const SourceManager &Old) { in initializeForReplay()
641 SourceLocation SourceManager::createExpansionLoc( in createExpansionLoc()
689 void SourceManager::overrideFileContents( in overrideFileContents()
935 SourceLocation SourceManager::
971 SourceManager::getDecomposedExpansionLocSlowCase( in getDecomposedExpansionLocSlowCase()
2127 void SourceManager::PrintStats() const { in PrintStats()
[all …]
H A DSourceLocation.cpp62 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-13.1/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DTokens.h56 FileRange(const SourceManager &SM, SourceLocation BeginLoc, unsigned Length);
59 FileRange(const SourceManager &SM, SourceLocation BeginLoc,
80 llvm::StringRef text(const SourceManager &SM) const;
84 CharSourceRange toCharRange(const SourceManager &SM) const;
125 llvm::StringRef text(const SourceManager &SM) const;
129 FileRange range(const SourceManager &SM) const;
138 std::string dumpForTests(const SourceManager &SM) const;
178 TokenBuffer(const SourceManager &SourceMgr) : SourceMgr(&SourceMgr) {} in TokenBuffer()
311 const SourceManager &sourceManager() const { return *SourceMgr; } in sourceManager()
380 const SourceManager *SourceMgr;
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DRawCommentList.h26 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,
171 StringRef getRawTextSlow(const SourceManager &SourceMgr) const;
182 RawCommentList(SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} in RawCommentList()
198 SourceManager &SourceMgr;
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/
H A DPathDiagnostic.h51 class SourceManager; variable
202 const SourceManager *SM = nullptr;
221 PathDiagnosticLocation(const Stmt *s, const SourceManager &sm, in PathDiagnosticLocation()
232 PathDiagnosticLocation(const Decl *d, const SourceManager &sm) in PathDiagnosticLocation()
250 const SourceManager &SM) { in create()
262 createBegin(const Decl *D, const SourceManager &SM, in createBegin()
269 const SourceManager &SM,
277 const SourceManager &SM,
315 const SourceManager &SMng);
600 void setCallee(const CallEnter &CE, const SourceManager &SM);
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceLocation.h35 class SourceManager; variable
62 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;
367 const SourceManager *SrcMgr = nullptr;
[all …]
H A DPlistSupport.h39 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 DNoSanitizeList.h26 class SourceManager; variable
31 SourceManager &SM;
35 SourceManager &SM);
H A DXRayLists.h27 class SourceManager; variable
33 SourceManager &SM;
38 ArrayRef<std::string> AttrListPaths, SourceManager &SM);
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.h27 class SourceManager; variable
54 SourceManager &SourceMgr;
61 CoverageSourceInfo(SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} in CoverageSourceInfo()
137 SourceManager &SM;
142 CoverageMappingGen(CoverageMappingModuleGen &CVM, SourceManager &SM, in CoverageMappingGen()
146 CoverageMappingGen(CoverageMappingModuleGen &CVM, SourceManager &SM, in CoverageMappingGen()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Edit/
H A DCommit.h23 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 DEditedSource.h28 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-13.1/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DAtomicChange.h43 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 DRefactoringRuleContext.h35 RefactoringRuleContext(const SourceManager &SM) : SM(SM) {} in RefactoringRuleContext()
37 const SourceManager &getSources() const { return SM; } in getSources()
72 const SourceManager &SM;
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/Core/
H A DReplacement.h39 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,
359 Replacement::Replacement(const SourceManager &Sources, in Replacement()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp72 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-13.1/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DRewriter.h27 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()
/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DMacros.h56 class SourceManager; variable
107 clang::SourceManager &SourceMgr, const FormatStyle &Style,
130 clang::SourceManager &SourceMgr;
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DTransformer.cpp48 auto ID = Result.SourceManager->getFileID(T.Range.getBegin()); in run()
50 .emplace(ID, AtomicChange(*Result.SourceManager, in run()
57 AC.replace(*Result.SourceManager, T.Range, T.Replacement)) { in run()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Index/
H A DUSRGeneration.h21 class SourceManager; variable
71 const SourceManager &SM, SmallVectorImpl<char> &Buf);
73 const SourceManager &SM, SmallVectorImpl<char> &Buf);

1234567891011