Searched refs:SourceManager (Results 1 - 25 of 166) sorted by relevance

1234567

/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DScratchBuffer.h20 class SourceManager;
26 SourceManager &SourceMgr;
31 ScratchBuffer(SourceManager &SM);
H A DPPConditionalDirectiveRecord.h27 SourceManager &SourceMgr;
43 SourceManager &SM;
45 explicit Comp(SourceManager &SM) : SM(SM) {}
67 explicit PPConditionalDirectiveRecord(SourceManager &SM);
71 SourceManager &getSourceManager() const { return SourceMgr; }
H A DLexer.h25 class SourceManager;
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
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Basic/
H A DPrettyStackTrace.h28 SourceManager &SM;
32 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg)
H A DSourceLocation.h34 class SourceManager;
36 /// \brief An opaque identifier used by SourceManager which refers to a
59 friend class SourceManager;
72 /// \brief Encodes a location in the source. The SourceManager can decode this
89 friend class SourceManager;
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;
264 /// \brief A SourceLocation and its associated SourceManager.
268 const SourceManager *SrcMg
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h29 class SourceManager;
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
[all...]
H A DTextDiagnostic.h84 const SourceManager *SM,
90 const SourceManager &SM);
96 const SourceManager &SM) {
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);
H A DVerifyDiagnosticConsumer.h209 SourceManager *SrcManager;
215 void setSourceManager(SourceManager &SM) {
216 assert((!SrcManager || SrcManager == &SM) && "SourceManager changed!");
263 void UpdateParsedFileStatus(SourceManager &SM, FileID FID, ParsedStatus PS);
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp23 static Replacement replaceStmtWithText(SourceManager &Sources,
29 static Replacement replaceStmtWithStmt(SourceManager &Sources,
44 *Result.SourceManager,
59 *Result.SourceManager, *FromMatch, *ToMatch));
71 Replace.insert(replaceStmtWithStmt(*Result.SourceManager, *Node, *Body));
75 Replace.insert(replaceStmtWithText(*Result.SourceManager, *Node, ""));
/freebsd-10.3-release/contrib/llvm/tools/lldb/source/Core/
H A DSourceManager.cpp1 //===-- SourceManager.cpp ---------------------------------------*- C++ -*-===//
12 #include "lldb/Core/SourceManager.h"
39 // SourceManager constructor
41 SourceManager::SourceManager(const TargetSP &target_sp) : function in class:SourceManager
51 SourceManager::SourceManager(const DebuggerSP &debugger_sp) : function in class:SourceManager
64 SourceManager::~SourceManager()
68 SourceManager
[all...]
/freebsd-10.3-release/contrib/llvm/tools/lldb/include/lldb/Core/
H A DSourceManager.h1 //===-- SourceManager.h -----------------------------------------*- C++ -*-===//
25 class SourceManager class in namespace:lldb_private
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();
186 // Classes that inherit from SourceManager can see and modify these
197 // For SourceManager only
199 DISALLOW_COPY_AND_ASSIGN (SourceManager);
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Format/
H A DWhitespaceManager.h20 #include "clang/Basic/SourceManager.h"
40 WhitespaceManager(SourceManager &SourceMgr, const FormatStyle &Style,
85 IsBeforeInFile(const SourceManager &SourceMgr) : SourceMgr(SourceMgr) {}
89 const SourceManager &SourceMgr;
174 SourceManager &SourceMgr;
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DRawCommentList.h14 #include "clang/Basic/SourceManager.h"
43 RawComment(const SourceManager &SourceMgr, SourceRange SR,
101 StringRef getRawText(const SourceManager &SourceMgr) const {
156 StringRef getRawTextSlow(const SourceManager &SourceMgr) const;
166 const SourceManager &SM;
169 explicit BeforeThanCompare(const SourceManager &SM) : SM(SM) { }
184 RawCommentList(SourceManager &SourceMgr) : SourceMgr(SourceMgr) {}
193 SourceManager &SourceMgr;
H A DCommentParser.h24 class SourceManager;
44 const SourceManager &SourceMgr;
94 const SourceManager &SourceMgr, DiagnosticsEngine &Diags,
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Basic/
H A DSourceManager.cpp1 //===--- SourceManager.cpp - Track and cache source files -----------------===//
10 // This file implements the SourceManager interface.
14 #include "clang/Basic/SourceManager.h"
36 // SourceManager Helper Classes
87 const SourceManager &SM,
288 unsigned SourceManager::getLineTableFilenameID(StringRef Name) {
298 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo,
318 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo,
363 LineTableInfo &SourceManager::getLineTable() {
373 SourceManager function in class:SourceManager
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Tooling/
H A DRefactoring.h13 // SourceManager independent form, duplicate changes need to be removed, and
35 /// \brief A source range independent of the \c SourceManager.
68 /// Represents a SourceManager independent replacement of a range of text in a
78 /// \param FilePath A source file accessible via a SourceManager.
86 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
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Edit/
H A DEditedSource.h28 const SourceManager &SourceMgr;
48 EditedSource(const SourceManager &SM, const LangOptions &LangOpts,
55 const SourceManager &getSourceManager() const { return SourceMgr; }
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;
61 Commit(const SourceManager &SM, const LangOptions &LangOpts,
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DRewriteTest.cpp20 SourceManager &SM = PP.getSourceManager();
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DPrettyDeclStackTrace.h26 class SourceManager;
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp13 #include "clang/Basic/SourceManager.h"
31 /// refers to the SourceManager-owned buffer of the source where that macro
32 /// name is spelled. Thus, the result shouldn't out-live that SourceManager.
43 const SourceManager &SM,
93 const SourceManager &SM, const LangOptions &LangOpts,
128 const SourceManager *SM,
207 const SourceManager &SM) {
230 const SourceManager &SM) {
259 const SourceManager &SM) {
274 const SourceManager
[all...]
H A DSerializedDiagnosticPrinter.cpp14 #include "clang/Basic/SourceManager.h"
67 const SourceManager *SM,
73 const SourceManager &SM) {}
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 *S
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DPathDiagnostic.h39 class SourceManager;
133 const SourceManager *SM;
137 PathDiagnosticLocation(SourceLocation L, const SourceManager &sm,
157 const SourceManager &sm,
170 PathDiagnosticLocation(const Decl *d, const SourceManager &sm)
181 PathDiagnosticLocation(SourceLocation loc, const SourceManager &sm)
189 const SourceManager &SM) {
195 const SourceManager &SM);
199 const SourceManager &SM,
207 const SourceManager
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Rewrite/Frontend/
H A DFixItRewriter.h25 class SourceManager;
85 FixItRewriter(DiagnosticsEngine &Diags, SourceManager &SourceMgr,
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DPlistReporter.cpp12 #include "clang/Basic/SourceManager.h"
23 const SourceManager &SM, SourceLocation L) {
32 static unsigned GetFID(const FIDMap& FIDs, const SourceManager &SM,
45 static void EmitLocation(raw_ostream& o, const SourceManager &SM,
50 FullSourceLoc Loc(SM.getExpansionLoc(L), const_cast<SourceManager&>(SM));
66 static void EmitRange(raw_ostream& o, const SourceManager &SM,
96 SourceManager &SM,

Completed in 129 milliseconds

1234567