Home
last modified time | relevance | path

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

12345678

/minix3/external/bsd/llvm/dist/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h29 class SourceManager; variable
79 const SourceManager *SM,
85 const SourceManager &SM) = 0;
91 const SourceManager &SM) = 0;
94 const SourceManager &SM) = 0;
97 const SourceManager &SM) = 0;
100 const SourceManager &SM) = 0;
111 DiagnosticsEngine::Level Level, const SourceManager &SM);
112 void emitIncludeStackRecursively(SourceLocation Loc, const SourceManager &SM);
113 void emitImportStack(SourceLocation Loc, const SourceManager &SM);
[all …]
H A DTextDiagnostic.h82 const SourceManager *SM,
88 const SourceManager &SM) override;
94 const SourceManager &SM) override { in emitCodeContext()
99 const SourceManager &SM) override;
103 const SourceManager &SM) override;
107 const SourceManager &SM) override;
113 const SourceManager &SM);
117 void emitParseableFixits(ArrayRef<FixItHint> Hints, const SourceManager &SM);
/minix3/external/bsd/llvm/dist/clang/include/clang/Lex/
H A DLexer.h25 class SourceManager; variable
115 const SourceManager &SM, const LangOptions &LangOpts);
249 const SourceManager &SourceMgr,
259 const SourceManager &SourceMgr,
273 const SourceManager &SourceMgr,
282 const SourceManager &SM,
288 const SourceManager &SM,
296 const SourceManager &SM,
304 const SourceManager &SM,
323 const SourceManager &SM,
[all …]
H A DScratchBuffer.h20 class SourceManager; variable
26 SourceManager &SourceMgr;
31 ScratchBuffer(SourceManager &SM);
H A DPPConditionalDirectiveRecord.h27 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()
/minix3/external/bsd/llvm/dist/clang/lib/Basic/
H A DSourceManager.cpp85 const SourceManager &SM, in getBuffer()
281 unsigned SourceManager::getLineTableFilenameID(StringRef Name) { in getLineTableFilenameID()
291 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote()
311 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote()
356 LineTableInfo &SourceManager::getLineTable() { in getLineTable()
366 SourceManager::SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr, in SourceManager() function in SourceManager
376 SourceManager::~SourceManager() { in ~SourceManager()
399 void SourceManager::clearIDTables() { in clearIDTables()
420 SourceManager::getOrCreateContentCache(const FileEntry *FileEnt, in getOrCreateContentCache()
454 const ContentCache *SourceManager::createMemBufferContentCache( in createMemBufferContentCache()
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp23 static Replacement replaceStmtWithText(SourceManager &Sources, in replaceStmtWithText()
29 static Replacement replaceStmtWithStmt(SourceManager &Sources, in replaceStmtWithStmt()
44 *Result.SourceManager, in run()
59 *Result.SourceManager, *FromMatch, *ToMatch)); in run()
71 Replace.insert(replaceStmtWithStmt(*Result.SourceManager, *Node, *Body)); in run()
75 Replace.insert(replaceStmtWithText(*Result.SourceManager, *Node, "")); in run()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DRawCommentList.h43 RawComment(const SourceManager &SourceMgr, SourceRange SR,
101 StringRef getRawText(const SourceManager &SourceMgr) const { in getRawText()
156 StringRef getRawTextSlow(const SourceManager &SourceMgr) const;
166 const SourceManager &SM;
169 explicit BeforeThanCompare(const SourceManager &SM) : SM(SM) { } in BeforeThanCompare()
184 RawCommentList(SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} in RawCommentList()
193 SourceManager &SourceMgr;
H A DCommentParser.h24 class SourceManager; variable
44 const SourceManager &SourceMgr;
94 const SourceManager &SourceMgr, DiagnosticsEngine &Diags,
/minix3/external/bsd/llvm/dist/clang/tools/libclang/
H A DCXSourceLocation.cpp217 const SourceManager &SM = in clang_Location_isInSystemHeader()
218 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_Location_isInSystemHeader()
228 const SourceManager &SM = in clang_Location_isFromMainFile()
229 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_Location_isFromMainFile()
251 const SourceManager &SM = in clang_getExpansionLocation()
252 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_getExpansionLocation()
294 const SourceManager &SM = in clang_getPresumedLocation()
295 *static_cast<const SourceManager *>(location.ptr_data[0]); in clang_getPresumedLocation()
333 const SourceManager &SM = in clang_getSpellingLocation()
334 *static_cast<const SourceManager*>(location.ptr_data[0]); in clang_getSpellingLocation()
[all …]
H A DCIndexInclusionStack.cpp33 SourceManager &SM = CXXUnit->getSourceManager(); in clang_getInclusions()
42 const SrcMgr::SLocEntry &(SourceManager::*Getter)(unsigned, bool*) const; in clang_getInclusions()
44 Getter = &SourceManager::getLoadedSLocEntry; in clang_getInclusions()
47 Getter = &SourceManager::getLocalSLocEntry; in clang_getInclusions()
H A DCXSourceLocation.h24 class SourceManager; variable
30 translateSourceLocation(const SourceManager &SM, const LangOptions &LangOpts, in translateSourceLocation()
54 CXSourceRange translateSourceRange(const SourceManager &SM,
/minix3/external/bsd/llvm/dist/clang/include/clang/Tooling/Core/
H A DReplacement.h85 Replacement(const SourceManager &Sources, SourceLocation Start, unsigned Length,
89 Replacement(const SourceManager &Sources, const CharSourceRange &Range,
94 Replacement(const SourceManager &Sources, const Node &NodeToReplace,
117 void setFromSourceLocation(const SourceManager &Sources, SourceLocation Start,
119 void setFromSourceRange(const SourceManager &Sources,
219 Replacement::Replacement(const SourceManager &Sources, in Replacement()
/minix3/external/bsd/llvm/dist/clang/unittests/AST/
H A DMatchVerifier.h171 unsigned Line = Result.SourceManager->getSpellingLineNumber(Loc); in verify()
172 unsigned Column = Result.SourceManager->getSpellingColumnNumber(Loc); in verify()
178 Loc.print(Msg, *Result.SourceManager); in verify()
212 unsigned BeginLine = Result.SourceManager->getSpellingLineNumber(Begin); in verify()
213 unsigned BeginColumn = Result.SourceManager->getSpellingColumnNumber(Begin); in verify()
214 unsigned EndLine = Result.SourceManager->getSpellingLineNumber(End); in verify()
215 unsigned EndColumn = Result.SourceManager->getSpellingColumnNumber(End); in verify()
222 Begin.print(Msg, *Result.SourceManager); in verify()
224 End.print(Msg, *Result.SourceManager); in verify()
250 Node.dump(Dump, *Result.SourceManager); in verify()
/minix3/external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DPathDiagnostic.h39 class SourceManager; variable
135 const SourceManager *SM;
139 PathDiagnosticLocation(SourceLocation L, const SourceManager &sm, in PathDiagnosticLocation()
159 const SourceManager &sm, in PathDiagnosticLocation()
172 PathDiagnosticLocation(const Decl *d, const SourceManager &sm) in PathDiagnosticLocation()
183 PathDiagnosticLocation(SourceLocation loc, const SourceManager &sm) in PathDiagnosticLocation()
192 const SourceManager &SM) { in create()
198 const SourceManager &SM);
202 const SourceManager &SM,
210 const SourceManager &SM,
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp43 const SourceManager &SM, in getImmediateMacroName()
93 const SourceManager &SM, const LangOptions &LangOpts, in mergeFixits()
128 const SourceManager *SM, in emitDiagnostic()
213 const SourceManager &SM) { in emitIncludeStack()
236 const SourceManager &SM) { in emitIncludeStackRecursively()
265 const SourceManager &SM) { in emitImportStack()
280 const SourceManager &SM) { in emitImportStackRecursively()
300 void DiagnosticRenderer::emitModuleBuildStack(const SourceManager &SM) { in emitModuleBuildStack()
303 const SourceManager &CurSM = Stack[I].second.getManager(); in emitModuleBuildStack()
327 const SourceManager *SM) { in mapDiagnosticRanges()
[all …]
/minix3/external/bsd/llvm/dist/clang/include/clang/Basic/
H A DPlistSupport.h23 const SourceManager &SM, SourceLocation L) { in AddFID()
32 inline unsigned GetFID(const FIDMap &FIDs, const SourceManager &SM, in GetFID()
91 inline void EmitLocation(raw_ostream &o, const SourceManager &SM,
95 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM));
111 inline void EmitRange(raw_ostream &o, const SourceManager &SM, in EmitRange()
H A DSourceLocation.h34 class SourceManager; variable
59 friend class SourceManager;
89 friend class SourceManager; variable
174 void print(raw_ostream &OS, const SourceManager &SM) const;
175 std::string printToString(const SourceManager &SM) const;
176 void dump(const SourceManager &SM) const;
268 const SourceManager *SrcMgr;
273 explicit FullSourceLoc(SourceLocation Loc, const SourceManager &SM) in FullSourceLoc()
277 const SourceManager &getManager() const { in getManager()
H A DPrettyStackTrace.h28 SourceManager &SM;
32 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg) in PrettyStackTraceLoc()
H A DSanitizerBlacklist.h28 SourceManager &SM;
31 SanitizerBlacklist(StringRef BlacklistPath, SourceManager &SM);
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCoverageMappingGen.h29 class SourceManager; variable
87 SourceManager &SM;
92 CoverageMappingGen(CoverageMappingModuleGen &CVM, SourceManager &SM, in CoverageMappingGen()
96 CoverageMappingGen(CoverageMappingModuleGen &CVM, SourceManager &SM, in CoverageMappingGen()
/minix3/external/bsd/llvm/dist/clang/lib/Format/
H A DWhitespaceManager.h40 WhitespaceManager(SourceManager &SourceMgr, const FormatStyle &Style, in WhitespaceManager()
91 IsBeforeInFile(const SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} in IsBeforeInFile()
95 const SourceManager &SourceMgr;
194 SourceManager &SourceMgr;
/minix3/external/bsd/llvm/dist/clang/include/clang/Edit/
H A DCommit.h42 SourceLocation getFileLocation(SourceManager &SM) const;
43 CharSourceRange getFileRange(SourceManager &SM) const;
44 CharSourceRange getInsertFromRange(SourceManager &SM) const;
48 const SourceManager &SourceMgr;
60 Commit(const SourceManager &SM, const LangOptions &LangOpts,
H A DEditedSource.h28 const SourceManager &SourceMgr;
47 EditedSource(const SourceManager &SM, const LangOptions &LangOpts,
52 const SourceManager &getSourceManager() const { return SourceMgr; } in getSourceManager()
/minix3/external/bsd/llvm/dist/clang/include/clang/Rewrite/Core/
H A DRewriter.h29 class SourceManager; variable
127 SourceManager *SourceMgr;
151 explicit Rewriter(SourceManager &SM, const LangOptions &LO) in Rewriter()
155 void setSourceMgr(SourceManager &SM, const LangOptions &LO) { in setSourceMgr()
159 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr()

12345678