Home
last modified time | relevance | path

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

1234567

/trueos/contrib/llvm/tools/clang/include/clang/Frontend/
HDDiagnosticRenderer.h29 class SourceManager; variable
79 const SourceManager *SM,
85 const SourceManager &SM) = 0;
93 const SourceManager &SM) = 0;
96 const SourceManager &SM) = 0;
99 const SourceManager &SM) = 0;
102 const SourceManager &SM) = 0;
112 DiagnosticsEngine::Level Level, const SourceManager &SM);
113 void emitIncludeStackRecursively(SourceLocation Loc, const SourceManager &SM);
114 void emitImportStack(SourceLocation Loc, const SourceManager &SM);
[all …]
HDTextDiagnostic.h84 const SourceManager *SM,
90 const SourceManager &SM);
96 const SourceManager &SM) { in emitCodeContext()
103 const SourceManager &SM);
107 const SourceManager &SM);
111 const SourceManager &SM);
117 const SourceManager &SM);
121 void emitParseableFixits(ArrayRef<FixItHint> Hints, const SourceManager &SM);
/trueos/contrib/llvm/tools/lldb/source/Core/
HDSourceManager.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 …]
/trueos/contrib/llvm/tools/clang/include/clang/Lex/
HDLexer.h25 class SourceManager; variable
115 const SourceManager &SM, const LangOptions &LangOpts);
247 const SourceManager &SourceMgr,
257 const SourceManager &SourceMgr,
271 const SourceManager &SourceMgr,
280 const SourceManager &SM,
286 const SourceManager &SM,
294 const SourceManager &SM,
302 const SourceManager &SM,
321 const SourceManager &SM,
[all …]
HDPPConditionalDirectiveRecord.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()
HDScratchBuffer.h20 class SourceManager; variable
26 SourceManager &SourceMgr;
31 ScratchBuffer(SourceManager &SM);
/trueos/contrib/llvm/tools/clang/lib/Basic/
HDSourceManager.cpp87 const SourceManager &SM, in getBuffer()
288 unsigned SourceManager::getLineTableFilenameID(StringRef Name) { in getLineTableFilenameID()
298 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote()
318 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote()
363 LineTableInfo &SourceManager::getLineTable() { in getLineTable()
373 SourceManager::SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr, in SourceManager() function in SourceManager
384 SourceManager::~SourceManager() { in ~SourceManager()
413 void SourceManager::clearIDTables() { in clearIDTables()
434 SourceManager::getOrCreateContentCache(const FileEntry *FileEnt, in getOrCreateContentCache()
473 SourceManager::createMemBufferContentCache(const MemoryBuffer *Buffer) { in createMemBufferContentCache()
[all …]
/trueos/contrib/llvm/tools/lldb/include/lldb/Core/
HDSourceManager.h25 class SourceManager
32 friend bool operator== (const SourceManager::File &lhs, const SourceManager::File &rhs);
125 SourceManager (const lldb::DebuggerSP &debugger_sp);
126 SourceManager (const lldb::TargetSP &target_sp);
128 ~SourceManager();
199 DISALLOW_COPY_AND_ASSIGN (SourceManager);
202 bool operator== (const SourceManager::File &lhs, const SourceManager::File &rhs);
HDDebugger.h50 friend class SourceManager; // For GetSourceFileCache. variable
150 SourceManager &
395 SourceManager::SourceFileCache &
407 …std::unique_ptr<SourceManager> m_source_manager_ap; // This is a scratch source manager that we…
408SourceManager::SourceFileCache m_source_file_cache; // All the source managers for targets created…
/trueos/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/
HDPathDiagnostic.h39 class SourceManager; variable
133 const SourceManager *SM;
137 PathDiagnosticLocation(SourceLocation L, const SourceManager &sm, in PathDiagnosticLocation()
157 const SourceManager &sm, in PathDiagnosticLocation()
170 PathDiagnosticLocation(const Decl *d, const SourceManager &sm) in PathDiagnosticLocation()
181 PathDiagnosticLocation(SourceLocation loc, const SourceManager &sm) in PathDiagnosticLocation()
189 const SourceManager &SM) { in create()
195 const SourceManager &SM);
199 const SourceManager &SM,
207 const SourceManager &SM,
[all …]
/trueos/contrib/llvm/tools/clang/lib/Tooling/
HDRefactoringCallbacks.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()
HDRefactoring.cpp38 Replacement::Replacement(SourceManager &Sources, SourceLocation Start, in Replacement()
43 Replacement::Replacement(SourceManager &Sources, const CharSourceRange &Range, in Replacement()
53 SourceManager &SM = Rewrite.getSourceMgr(); in apply()
102 void Replacement::setFromSourceLocation(SourceManager &Sources, in setFromSourceLocation()
124 static int getRangeSize(SourceManager &Sources, const CharSourceRange &Range) { in getRangeSize()
136 void Replacement::setFromSourceRange(SourceManager &Sources, in setFromSourceRange()
181 SourceManager SourceMgr(Diagnostics, Files); in applyAllReplacements()
289 SourceManager Sources(Diagnostics, getFiles()); in runAndSave()
/trueos/contrib/llvm/tools/clang/include/clang/AST/
HDRawCommentList.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;
/trueos/contrib/llvm/tools/clang/lib/Frontend/
HDDiagnosticRenderer.cpp43 const SourceManager &SM, in getImmediateMacroName()
93 const SourceManager &SM, const LangOptions &LangOpts, in mergeFixits()
128 const SourceManager *SM, in emitDiagnostic()
207 const SourceManager &SM) { in emitIncludeStack()
230 const SourceManager &SM) { in emitIncludeStackRecursively()
259 const SourceManager &SM) { in emitImportStack()
274 const SourceManager &SM) { in emitImportStackRecursively()
294 void DiagnosticRenderer::emitModuleBuildStack(const SourceManager &SM) { in emitModuleBuildStack()
297 const SourceManager &CurSM = Stack[I].second.getManager(); in emitModuleBuildStack()
321 const SourceManager *SM) { in mapDiagnosticRanges()
[all …]
HDSerializedDiagnosticPrinter.cpp67 const SourceManager *SM,
73 const SourceManager &SM) {} in emitDiagnosticLoc()
76 const SourceManager *SM);
82 const SourceManager &SM);
138 const SourceManager *SM,
144 const SourceManager &SM);
147 void EmitCharSourceRange(CharSourceRange R, const SourceManager &SM);
160 void AddLocToRecord(SourceLocation Loc, const SourceManager *SM,
166 const SourceManager *SM, in AddLocToRecord()
174 const SourceManager &SM);
[all …]
/trueos/contrib/llvm/tools/clang/include/clang/Tooling/
HDRefactoring.h86 Replacement(SourceManager &Sources, SourceLocation Start, unsigned Length,
90 Replacement(SourceManager &Sources, const CharSourceRange &Range,
95 Replacement(SourceManager &Sources, const Node &NodeToReplace,
118 void setFromSourceLocation(SourceManager &Sources, SourceLocation Start,
120 void setFromSourceRange(SourceManager &Sources, const CharSourceRange &Range,
233 Replacement::Replacement(SourceManager &Sources, const Node &NodeToReplace, in Replacement()
/trueos/contrib/llvm/tools/clang/include/clang/Basic/
HDSourceLocation.h34 class SourceManager; variable
59 friend class SourceManager;
89 friend class SourceManager; variable
174 void print(raw_ostream &OS, const SourceManager &SM) const;
175 LLVM_ATTRIBUTE_USED 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()
/trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDPlistDiagnostics.cpp84 const SourceManager* SM, SourceLocation L) { in AddFID()
93 static unsigned GetFID(const FIDMap& FIDs, const SourceManager &SM, in GetFID()
106 static void EmitLocation(raw_ostream &o, const SourceManager &SM, in EmitLocation()
111 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM)); in EmitLocation()
127 static void EmitLocation(raw_ostream &o, const SourceManager &SM, in EmitLocation()
134 static void EmitRange(raw_ostream &o, const SourceManager &SM, in EmitRange()
164 const SourceManager &SM, in ReportControlFlow()
214 const SourceManager &SM, in ReportEvent()
273 const FIDMap& FM, const SourceManager &SM,
282 const FIDMap& FM, const SourceManager &SM, in ReportCall()
[all …]
HDPathDiagnostic.cpp125 const SourceManager &SMgr) { in getFirstStackedCallToHeaderFile()
160 const SourceManager &SMgr = LastP->getLocation().getManager(); in resetDiagnosticLocationToMainFile()
214 const SourceManager &SMgr = (*D->path.begin())->getLocation().getManager(); in HandlePathDiagnostic()
334 const SourceManager &SM = XL.getManager(); in comparePiece()
401 const SourceManager &SM = XL.getManager(); in compare()
544 const SourceManager &SM) { in getLocationForCaller()
583 const SourceManager &SM) { in createBegin()
589 const SourceManager &SM, in createBegin()
598 const SourceManager &SM, in createEnd()
608 const SourceManager &SM) { in createOperatorLoc()
[all …]
/trueos/contrib/llvm/tools/clang/lib/ARCMigrate/
HDPlistReporter.cpp23 const SourceManager &SM, SourceLocation L) { in AddFID()
32 static unsigned GetFID(const FIDMap& FIDs, const SourceManager &SM, in GetFID()
45 static void EmitLocation(raw_ostream& o, const SourceManager &SM, in EmitLocation()
50 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM)); in EmitLocation()
66 static void EmitRange(raw_ostream& o, const SourceManager &SM, in EmitRange()
96 SourceManager &SM, in writeARCDiagsToPlist()
HDTransformActions.cpp68 CharRange(CharSourceRange range, SourceManager &srcMgr, Preprocessor &PP) { in CharRange()
99 SourceManager &SrcMgr, Preprocessor &PP) { in compare()
179 SourceManager &SM,Preprocessor &PP);
386 SourceManager &SM = Ctx.getSourceManager(); in canInsert()
399 SourceManager &SM = Ctx.getSourceManager(); in canInsertAfterToken()
421 SourceManager &SM = Ctx.getSourceManager(); in canReplaceText()
482 SourceManager &SM = Ctx.getSourceManager(); in commitReplaceText()
493 SourceManager &SM = Ctx.getSourceManager(); in commitIncreaseIndentation()
506 SourceManager &SM = Ctx.getSourceManager(); in addInsertion()
592 SourceManager &SM, in getLocForEndOfToken()
[all …]
/trueos/contrib/llvm/tools/clang/lib/Format/
HDWhitespaceManager.h40 WhitespaceManager(SourceManager &SourceMgr, const FormatStyle &Style, in WhitespaceManager()
85 IsBeforeInFile(const SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} in IsBeforeInFile()
89 const SourceManager &SourceMgr;
174 SourceManager &SourceMgr;
/trueos/contrib/llvm/tools/clang/include/clang/Edit/
HDCommit.h42 SourceLocation getFileLocation(SourceManager &SM) const;
43 CharSourceRange getFileRange(SourceManager &SM) const;
44 CharSourceRange getInsertFromRange(SourceManager &SM) const;
48 const SourceManager &SourceMgr;
61 Commit(const SourceManager &SM, const LangOptions &LangOpts,
HDEditedSource.h28 const SourceManager &SourceMgr;
48 EditedSource(const SourceManager &SM, const LangOptions &LangOpts,
55 const SourceManager &getSourceManager() const { return SourceMgr; } in getSourceManager()
/trueos/contrib/llvm/tools/clang/include/clang/Rewrite/Core/
HDRewriter.h29 class SourceManager; variable
128 SourceManager *SourceMgr;
152 explicit Rewriter(SourceManager &SM, const LangOptions &LO) in Rewriter()
156 void setSourceMgr(SourceManager &SM, const LangOptions &LO) { in setSourceMgr()
160 SourceManager &getSourceMgr() const { return *SourceMgr; } in getSourceMgr()

1234567