/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/ |
H A D | Lexer.h | 38 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, 354 const SourceManager &SM, 361 const SourceManager &SM, 369 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);
|
/netbsd-src/external/apache2/llvm/dist/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() 423 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()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Syntax/ |
H A D | Tokens.h | 56 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; 135 static FileRange range(const SourceManager &SM, const syntax::Token &First, 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() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/ |
H A D | PathDiagnostic.h | 51 class SourceManager; variable 202 const SourceManager *SM = nullptr; 206 PathDiagnosticLocation(SourceLocation L, const SourceManager &sm, Kind kind) in PathDiagnosticLocation() 221 PathDiagnosticLocation(const Stmt *s, const SourceManager &sm, in PathDiagnosticLocation() 232 PathDiagnosticLocation(const Decl *d, const SourceManager &sm) in PathDiagnosticLocation() 242 PathDiagnosticLocation(SourceLocation loc, const SourceManager &sm) in PathDiagnosticLocation() 250 const SourceManager &SM) { in create() 256 const SourceManager &SM); 262 createBegin(const Decl *D, const SourceManager &SM, in createBegin() 269 const SourceManager &SM, [all …]
|
/netbsd-src/external/apache2/llvm/dist/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, 171 StringRef getRawTextSlow(const SourceManager &SourceMgr) const; 182 RawCommentList(SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} in RawCommentList() 198 SourceManager &SourceMgr;
|
/netbsd-src/external/apache2/llvm/dist/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 …]
|
H A D | CXSourceLocation.h | 23 class SourceManager; variable 29 translateSourceLocation(const SourceManager &SM, const LangOptions &LangOpts, in translateSourceLocation() 53 CXSourceRange translateSourceRange(const SourceManager &SM,
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 36 class SourceManager; variable 63 friend class SourceManager; variable 92 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 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 | NoSanitizeList.h | 26 class SourceManager; variable 31 SourceManager &SM; 35 SourceManager &SM);
|
H A D | XRayLists.h | 27 class SourceManager; variable 33 SourceManager &SM; 38 ArrayRef<std::string> AttrListPaths, SourceManager &SM);
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CoverageMappingGen.h | 27 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()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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, 359 Replacement::Replacement(const SourceManager &Sources, in Replacement()
|
/netbsd-src/external/apache2/llvm/dist/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;
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Format/ |
H A D | WhitespaceManager.h | 40 WhitespaceManager(const SourceManager &SourceMgr, const FormatStyle &Style, in WhitespaceManager() 93 IsBeforeInFile(const SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} in IsBeforeInFile() 97 const SourceManager &SourceMgr; 226 const SourceManager &SourceMgr;
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
H A D | PathDiagnostic.cpp | 156 const SourceManager &SMgr = D->path.front()->getLocation().getManager(); in HandlePathDiagnostic() 283 const SourceManager &SM = XL.getManager(); in comparePiece() 336 const SourceManager &SM = XL.getManager(); in compareCrossTUSourceLocs() 378 const SourceManager &SM = XL.getManager(); in compare() 525 const SourceManager &SM) { in getLocationForCaller() 581 const SourceManager &SM) { in createBegin() 587 const SourceManager &SM, in createBegin() 595 const SourceManager &SM, in createEnd() 605 const SourceManager &SM) { in createOperatorLoc() 612 const SourceManager &SM) { in createConditionalColonLoc() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/ |
H A D | SourceCode.cpp | 54 const SourceManager &SM) { in validateEditRange() 83 const SourceManager &SM, in getRangeForEdit() 104 static bool startsWithNewline(const SourceManager &SM, const Token &Tok) { in startsWithNewline() 122 getEntityEndLoc(const SourceManager &SM, SourceLocation EntityLast, in getEntityEndLoc() 267 static SourceLocation skipWhitespaceAndNewline(const SourceManager &SM, in skipWhitespaceAndNewline() 283 static bool atOrBeforeSeparation(const SourceManager &SM, SourceLocation Loc, in atOrBeforeSeparation() 321 const SourceManager &SM = Context.getSourceManager(); in getAssociatedRange()
|