| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/ |
| H A D | Lexer.h | 39 class SourceManager; variable 154 const SourceManager &SM, const LangOptions &LangOpts); 289 const SourceManager &SourceMgr, 299 const SourceManager &SourceMgr, 313 const SourceManager &SM, 322 const SourceManager &SM, 328 const SourceManager &SM, 343 const SourceManager &SM, 412 const SourceManager &SM, 448 const SourceManager &SM, [all …]
|
| H A D | PPConditionalDirectiveRecord.h | 27 SourceManager &SourceMgr; 43 SourceManager &SM; 45 explicit Comp(SourceManager &SM) : SM(SM) {} in Comp() 67 explicit PPConditionalDirectiveRecord(SourceManager &SM); 71 SourceManager &getSourceManager() const { return SourceMgr; } in getSourceManager()
|
| H A D | ScratchBuffer.h | 20 class SourceManager; variable 26 SourceManager &SourceMgr; 31 ScratchBuffer(SourceManager &SM);
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Core/ |
| H A D | SourceManager.cpp | 56 SourceManager::SourceManager(const TargetSP &target_sp) in SourceManager() function in SourceManager 61 SourceManager::SourceManager(const DebuggerSP &debugger_sp) in SourceManager() function in SourceManager 68 SourceManager::~SourceManager() {} in ~SourceManager() 70 SourceManager::FileSP SourceManager::GetFile(const FileSpec &file_spec) { in GetFile() 254 size_t SourceManager::DisplayMoreWithLineNumbers( in DisplayMoreWithLineNumbers() 370 SourceManager::File::File(const FileSpec &file_spec, in File() 462 uint32_t SourceManager::File::GetNumLines() { in GetNumLines() 505 bool SourceManager::File::LineIsValid(uint32_t line) { in LineIsValid() 514 void SourceManager::File::UpdateIfNeeded() { in UpdateIfNeeded() 588 void SourceManager::File::FindLinesMatchingRegex( in FindLinesMatchingRegex() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 305 LineTableInfo &SourceManager::getLineTable() { in getLineTable() 315 SourceManager::SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr, in SourceManager() function in SourceManager 322 SourceManager::~SourceManager() { in ~SourceManager() 343 void SourceManager::clearIDTables() { in clearIDTables() 361 void SourceManager::initializeForReplay(const SourceManager &Old) { in initializeForReplay() 483 SourceManager::getFakeContentCacheForRecovery() const { in getFakeContentCacheForRecovery() 879 SourceLocation SourceManager:: 915 SourceManager::getDecomposedExpansionLocSlowCase( in getDecomposedExpansionLocSlowCase() 2096 void SourceManager::PrintStats() const { in PrintStats() 2124 LLVM_DUMP_METHOD void SourceManager::dump() const { in dump() [all …]
|
| H A D | SourceLocation.cpp | 44 void SourceLocation::print(raw_ostream &OS, const SourceManager &SM)const{ in print() 71 SourceLocation::printToString(const SourceManager &SM) const { in printToString() 78 LLVM_DUMP_METHOD void SourceLocation::dump(const SourceManager &SM) const { in dump() 83 LLVM_DUMP_METHOD void SourceRange::dump(const SourceManager &SM) const { in dump() 88 static PresumedLoc PrintDifference(raw_ostream &OS, const SourceManager &SM, in PrintDifference() 118 void SourceRange::print(raw_ostream &OS, const SourceManager &SM) const { in print() 130 SourceRange::printToString(const SourceManager &SM) const { in printToString()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/ |
| H A D | SourceManager.h | 41 class SourceManager { 45 friend bool operator==(const SourceManager::File &lhs, 46 const SourceManager::File &rhs); 132 SourceManager(const lldb::DebuggerSP &debugger_sp); 133 SourceManager(const lldb::TargetSP &target_sp); 135 ~SourceManager(); 176 DISALLOW_COPY_AND_ASSIGN(SourceManager); 179 bool operator==(const SourceManager::File &lhs, const SourceManager::File &rhs);
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | RawCommentList.h | 43 RawComment(const SourceManager &SourceMgr, SourceRange SR, 94 StringRef getRawText(const SourceManager &SourceMgr) const { in getRawText() 135 std::string getFormattedText(const SourceManager &SourceMgr, 167 StringRef getRawTextSlow(const SourceManager &SourceMgr) const; 177 const SourceManager &SM; 180 explicit BeforeThanCompare(const SourceManager &SM) : SM(SM) { } in BeforeThanCompare() 195 RawCommentList(SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} in RawCommentList() 205 SourceManager &SourceMgr;
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
| H A D | PathDiagnostic.h | 52 class SourceManager; variable 162 const SourceManager *SM = nullptr; 181 PathDiagnosticLocation(const Stmt *s, const SourceManager &sm, in PathDiagnosticLocation() 192 PathDiagnosticLocation(const Decl *d, const SourceManager &sm) in PathDiagnosticLocation() 210 const SourceManager &SM) { in create() 222 createBegin(const Decl *D, const SourceManager &SM, in createBegin() 229 const SourceManager &SM, 237 const SourceManager &SM, 275 const SourceManager &SMng); 615 void setCallee(const CallEnter &CE, const SourceManager &SM); [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | SourceLocation.h | 35 class SourceManager; variable 62 friend class SourceManager; variable 91 friend class SourceManager; variable 180 void print(raw_ostream &OS, const SourceManager &SM) const; 181 std::string printToString(const SourceManager &SM) const; 182 void dump(const SourceManager &SM) const; 224 void print(raw_ostream &OS, const SourceManager &SM) const; 225 std::string printToString(const SourceManager &SM) const; 226 void dump(const SourceManager &SM) const; 341 const SourceManager *SrcMgr = nullptr; [all …]
|
| H A D | PlistSupport.h | 40 const SourceManager &SM, SourceLocation L) { in AddFID() 51 inline unsigned GetFID(const FIDMap &FIDs, const SourceManager &SM, in GetFID() 108 inline void EmitLocation(raw_ostream &o, const SourceManager &SM, in EmitLocation() 112 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM)); in EmitLocation() 124 inline void EmitRange(raw_ostream &o, const SourceManager &SM, in EmitRange()
|
| H A D | SourceManager.h | 65 class SourceManager; variable 245 friend class clang::SourceManager; 582 class SourceManager : public RefCountedBase<SourceManager> { 747 explicit SourceManager(const SourceManager &) = delete; 748 SourceManager &operator=(const SourceManager &) = delete; 749 ~SourceManager(); 755 void initializeForReplay(const SourceManager &Old); 1808 SourceManager &SM; 1821 SourceManager &SM; 1839 SourceManager &get() { in get() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Edit/ |
| H A D | Commit.h | 24 class SourceManager; variable 47 SourceLocation getFileLocation(SourceManager &SM) const; 48 CharSourceRange getFileRange(SourceManager &SM) const; 49 CharSourceRange getInsertFromRange(SourceManager &SM) const; 53 const SourceManager &SourceMgr; 65 Commit(const SourceManager &SM, const LangOptions &LangOpts,
|
| H A D | EditedSource.h | 29 class SourceManager; variable 37 const SourceManager &SourceMgr; 74 EditedSource(const SourceManager &SM, const LangOptions &LangOpts, 78 const SourceManager &getSourceManager() const { return SourceMgr; } in getSourceManager()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/ |
| H A D | RefactoringCallbacks.cpp | 73 static Replacement replaceStmtWithText(SourceManager &Sources, const Stmt &From, in replaceStmtWithText() 78 static Replacement replaceStmtWithStmt(SourceManager &Sources, const Stmt &From, in replaceStmtWithStmt() 93 *Result.SourceManager, in run() 113 replaceStmtWithStmt(*Result.SourceManager, *FromMatch, *ToMatch)); in run() 133 Replace.add(replaceStmtWithStmt(*Result.SourceManager, *Node, *Body)); in run() 144 Replace.add(replaceStmtWithText(*Result.SourceManager, *Node, "")); in run() 218 ToText += Lexer::getSourceText(Source, *Result.SourceManager, in run() 230 tooling::Replacement(*Result.SourceManager, &NodeMap.at(FromId), ToText, in run()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Core/ |
| H A D | Replacement.h | 40 class SourceManager; variable 100 Replacement(const SourceManager &Sources, SourceLocation Start, 104 Replacement(const SourceManager &Sources, const CharSourceRange &Range, 110 Replacement(const SourceManager &Sources, const Node &NodeToReplace, 134 void setFromSourceLocation(const SourceManager &Sources, SourceLocation Start, 136 void setFromSourceRange(const SourceManager &Sources, 360 Replacement::Replacement(const SourceManager &Sources, in Replacement()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Rewrite/Core/ |
| H A D | Rewriter.h | 28 class SourceManager; variable 34 SourceManager *SourceMgr = nullptr; 59 explicit Rewriter(SourceManager &SM, const LangOptions &LO) in Rewriter() 62 void setSourceMgr(SourceManager &SM, const LangOptions &LO) { in setSourceMgr() 67 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.h | 27 class SourceManager; variable 87 SourceManager &SM; 92 CoverageMappingGen(CoverageMappingModuleGen &CVM, SourceManager &SM, in CoverageMappingGen() 96 CoverageMappingGen(CoverageMappingModuleGen &CVM, SourceManager &SM, in CoverageMappingGen()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Format/ |
| H A D | WhitespaceManager.h | 40 WhitespaceManager(const SourceManager &SourceMgr, const FormatStyle &Style, in WhitespaceManager() 91 IsBeforeInFile(const SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} in IsBeforeInFile() 95 const SourceManager &SourceMgr; 206 const SourceManager &SourceMgr;
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/ |
| H A D | IssueHash.h | 16 class SourceManager; variable 38 llvm::SmallString<32> GetIssueHash(const SourceManager &SM, 46 std::string GetIssueString(const SourceManager &SM, FullSourceLoc &IssueLoc,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | PathDiagnostic.cpp | 146 const SourceManager &SMgr) { in getFirstStackedCallToHeaderFile() 179 const SourceManager &SMgr = LastP->getLocation().getManager(); in resetDiagnosticLocationToMainFile() 357 const SourceManager &SM = XL.getManager(); in comparePiece() 405 const SourceManager &SM = XL.getManager(); in compareCrossTUSourceLocs() 443 const SourceManager &SM = XL.getManager(); in compare() 581 const SourceManager &SM) { in getLocationForCaller() 643 const SourceManager &SM, in createBegin() 651 const SourceManager &SM, in createEnd() 714 const SourceManager &SMng) { in create() 885 const_cast<SourceManager&>(*SM)); in genLocation() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring/ |
| H A D | RefactoringRuleContext.h | 36 RefactoringRuleContext(const SourceManager &SM) : SM(SM) {} in RefactoringRuleContext() 38 const SourceManager &getSources() const { return SM; } in getSources() 73 const SourceManager &SM;
|
| H A D | AtomicChange.h | 43 AtomicChange(const SourceManager &SM, SourceLocation KeyPosition); 85 llvm::Error replace(const SourceManager &SM, const CharSourceRange &Range, 91 llvm::Error replace(const SourceManager &SM, SourceLocation Loc, 102 llvm::Error insert(const SourceManager &SM, SourceLocation Loc,
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/ |
| H A D | VerifyDiagnosticConsumer.h | 30 class SourceManager; variable 223 SourceManager *SrcManager = nullptr; 230 void setSourceManager(SourceManager &SM) { in setSourceManager() 277 void UpdateParsedFileStatus(SourceManager &SM, FileID FID, ParsedStatus PS);
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Index/ |
| H A D | USRGeneration.h | 22 class SourceManager; variable 72 const SourceManager &SM, SmallVectorImpl<char> &Buf); 74 const SourceManager &SM, SmallVectorImpl<char> &Buf);
|