Home
last modified time | relevance | path

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

123456789

/external/clang/include/clang/Frontend/
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 …]
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);
/external/lldb/source/Core/
DSourceManager.cpp41 SourceManager::SourceManager(const TargetSP &target_sp) : in SourceManager() function in SourceManager
51 SourceManager::SourceManager(const DebuggerSP &debugger_sp) : in SourceManager() function in SourceManager
64 SourceManager::~SourceManager() in ~SourceManager()
68 SourceManager::FileSP
69 SourceManager::GetFile (const FileSpec &file_spec) in GetFile()
99 SourceManager::DisplaySourceLinesWithLineNumbersUsingLastFile (uint32_t start_line, in DisplaySourceLinesWithLineNumbersUsingLastFile()
167 SourceManager::DisplaySourceLinesWithLineNumbers in DisplaySourceLinesWithLineNumbers()
197 SourceManager::DisplayMoreWithLineNumbers (Stream *s, in DisplayMoreWithLineNumbers()
247 SourceManager::SetDefaultFileAndLine (const FileSpec &file_spec, uint32_t line) in SetDefaultFileAndLine()
266 SourceManager::GetDefaultFileAndLine (FileSpec &file_spec, uint32_t &line) in GetDefaultFileAndLine()
[all …]
/external/clang/include/clang/Lex/
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 …]
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()
DScratchBuffer.h20 class SourceManager; variable
26 SourceManager &SourceMgr;
31 ScratchBuffer(SourceManager &SM);
/external/clang/lib/Basic/
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 …]
/external/lldb/include/lldb/Core/
DSourceManager.h25 class SourceManager
32 friend bool operator== (const SourceManager::File &lhs, const SourceManager::File &rhs);
116 SourceManager (const lldb::DebuggerSP &debugger_sp);
117 SourceManager (const lldb::TargetSP &target_sp);
119 ~SourceManager();
190 DISALLOW_COPY_AND_ASSIGN (SourceManager);
193 bool operator== (const SourceManager::File &lhs, const SourceManager::File &rhs);
DDebugger.h55 friend class SourceManager; // For GetSourceFileCache. variable
161 SourceManager &
354 SourceManager::SourceFileCache &
367 …std::unique_ptr<SourceManager> m_source_manager_ap; // This is a scratch source manager that we…
368SourceManager::SourceFileCache m_source_file_cache; // All the source managers for targets created…
/external/clang/lib/Tooling/
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()
/external/clang/include/clang/AST/
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;
/external/clang/tools/libclang/
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 …]
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()
DCXSourceLocation.h24 class SourceManager; variable
30 translateSourceLocation(const SourceManager &SM, const LangOptions &LangOpts, in translateSourceLocation()
54 CXSourceRange translateSourceRange(const SourceManager &SM,
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h39 class SourceManager; variable
139 const SourceManager *SM;
143 PathDiagnosticLocation(SourceLocation L, const SourceManager &sm, in PathDiagnosticLocation()
163 const SourceManager &sm, in PathDiagnosticLocation()
176 PathDiagnosticLocation(const Decl *d, const SourceManager &sm) in PathDiagnosticLocation()
187 PathDiagnosticLocation(SourceLocation loc, const SourceManager &sm) in PathDiagnosticLocation()
196 const SourceManager &SM) { in create()
202 const SourceManager &SM);
206 const SourceManager &SM,
214 const SourceManager &SM,
[all …]
/external/clang/lib/Frontend/
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 …]
DSerializedDiagnosticPrinter.cpp72 const SourceManager *SM,
78 const SourceManager &SM) override {} in emitDiagnosticLoc()
81 const SourceManager *SM) override;
87 const SourceManager &SM) override;
201 const SourceManager *SM,
207 const SourceManager &SM);
210 void EmitCharSourceRange(CharSourceRange R, const SourceManager &SM);
225 void AddLocToRecord(SourceLocation Loc, const SourceManager *SM,
231 const SourceManager *SM, in AddLocToRecord()
239 const SourceManager &SM);
[all …]
/external/clang/unittests/AST/
DMatchVerifier.h172 unsigned Line = Result.SourceManager->getSpellingLineNumber(Loc); in verify()
173 unsigned Column = Result.SourceManager->getSpellingColumnNumber(Loc); in verify()
179 Loc.print(Msg, *Result.SourceManager); in verify()
214 unsigned BeginLine = Result.SourceManager->getSpellingLineNumber(Begin); in verify()
215 unsigned BeginColumn = Result.SourceManager->getSpellingColumnNumber(Begin); in verify()
216 unsigned EndLine = Result.SourceManager->getSpellingLineNumber(End); in verify()
217 unsigned EndColumn = Result.SourceManager->getSpellingColumnNumber(End); in verify()
224 Begin.print(Msg, *Result.SourceManager); in verify()
226 End.print(Msg, *Result.SourceManager); in verify()
252 Node.dump(Dump, *Result.SourceManager); in verify()
/external/clang/include/clang/Tooling/Core/
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()
/external/clang/include/clang/Basic/
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()
DPlistSupport.h22 const SourceManager &SM, SourceLocation L) { in AddFID()
31 inline unsigned GetFID(const FIDMap &FIDs, const SourceManager &SM, in GetFID()
90 inline void EmitLocation(raw_ostream &o, const SourceManager &SM, in EmitLocation()
94 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager &>(SM)); in EmitLocation()
106 inline void EmitRange(raw_ostream &o, const SourceManager &SM, in EmitRange()
/external/clang/include/clang/Rewrite/Core/
DRewriter.h26 class SourceManager; variable
32 SourceManager *SourceMgr;
56 explicit Rewriter(SourceManager &SM, const LangOptions &LO) in Rewriter()
60 void setSourceMgr(SourceManager &SM, const LangOptions &LO) { in setSourceMgr()
64 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr()
/external/clang/lib/CodeGen/
DCoverageMappingGen.h29 class SourceManager; variable
87 SourceManager &SM;
92 CoverageMappingGen(CoverageMappingModuleGen &CVM, SourceManager &SM, in CoverageMappingGen()
96 CoverageMappingGen(CoverageMappingModuleGen &CVM, SourceManager &SM, in CoverageMappingGen()
/external/clang/lib/Format/
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;
/external/clang/include/clang/Edit/
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,

123456789