/external/clang/include/clang/Frontend/ |
D | DiagnosticRenderer.h | 29 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 …]
|
D | TextDiagnostic.h | 82 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/ |
D | SourceManager.cpp | 41 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/ |
D | Lexer.h | 25 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 …]
|
D | PPConditionalDirectiveRecord.h | 27 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()
|
D | ScratchBuffer.h | 20 class SourceManager; variable 26 SourceManager &SourceMgr; 31 ScratchBuffer(SourceManager &SM);
|
/external/lldb/include/lldb/Core/ |
D | SourceManager.h | 25 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);
|
D | Debugger.h | 55 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… 368 …SourceManager::SourceFileCache m_source_file_cache; // All the source managers for targets created…
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 85 const SourceManager &SM, in getBuffer() 286 unsigned SourceManager::getLineTableFilenameID(StringRef Name) { in getLineTableFilenameID() 296 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote() 316 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote() 361 LineTableInfo &SourceManager::getLineTable() { in getLineTable() 371 SourceManager::SourceManager(DiagnosticsEngine &Diag, FileManager &FileMgr, in SourceManager() function in SourceManager 382 SourceManager::~SourceManager() { in ~SourceManager() 408 void SourceManager::clearIDTables() { in clearIDTables() 429 SourceManager::getOrCreateContentCache(const FileEntry *FileEnt, in getOrCreateContentCache() 464 SourceManager::createMemBufferContentCache(llvm::MemoryBuffer *Buffer) { in createMemBufferContentCache() [all …]
|
/external/clang/lib/Tooling/ |
D | RefactoringCallbacks.cpp | 23 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/ |
D | RawCommentList.h | 43 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/ |
D | CXSourceLocation.cpp | 217 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 …]
|
D | CIndexInclusionStack.cpp | 33 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()
|
D | CXSourceLocation.h | 24 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/ |
D | PathDiagnostic.h | 39 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 …]
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 43 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 …]
|
D | SerializedDiagnosticPrinter.cpp | 67 const SourceManager *SM, 73 const SourceManager &SM) override {} in emitDiagnosticLoc() 76 const SourceManager *SM) override; 82 const SourceManager &SM) override; 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 …]
|
/external/clang/unittests/AST/ |
D | MatchVerifier.h | 157 unsigned Line = Result.SourceManager->getSpellingLineNumber(Loc); in verify() 158 unsigned Column = Result.SourceManager->getSpellingColumnNumber(Loc); in verify() 164 Loc.print(Msg, *Result.SourceManager); in verify() 198 unsigned BeginLine = Result.SourceManager->getSpellingLineNumber(Begin); in verify() 199 unsigned BeginColumn = Result.SourceManager->getSpellingColumnNumber(Begin); in verify() 200 unsigned EndLine = Result.SourceManager->getSpellingLineNumber(End); in verify() 201 unsigned EndColumn = Result.SourceManager->getSpellingColumnNumber(End); in verify() 208 Begin.print(Msg, *Result.SourceManager); in verify() 210 End.print(Msg, *Result.SourceManager); in verify() 236 Node.dump(Dump, *Result.SourceManager); in verify()
|
/external/clang/include/clang/Tooling/ |
D | Refactoring.h | 86 Replacement(const SourceManager &Sources, SourceLocation Start, unsigned Length, 90 Replacement(const SourceManager &Sources, const CharSourceRange &Range, 95 Replacement(const SourceManager &Sources, const Node &NodeToReplace, 118 void setFromSourceLocation(const SourceManager &Sources, SourceLocation Start, 120 void setFromSourceRange(const SourceManager &Sources, 234 Replacement::Replacement(const SourceManager &Sources, in Replacement()
|
/external/clang/include/clang/Basic/ |
D | SourceLocation.h | 34 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()
|
D | PlistSupport.h | 23 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()
|
/external/clang/lib/Format/ |
D | WhitespaceManager.h | 40 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/chromium_org/tools/clang/rewrite_scoped_array/ |
D | RewriteScopedArray.cpp | 47 result.SourceManager->getSpellingLoc(type_location.getLocStart()), in run() 48 result.SourceManager->getSpellingLoc(type_location.getLocEnd())); in run() 53 range, *result.SourceManager, result.Context->getLangOpts()); in run() 61 Replacement(*result.SourceManager, range, replacement_text)); in run()
|
/external/clang/include/clang/Edit/ |
D | Commit.h | 42 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,
|
/external/clang/include/clang/Rewrite/Core/ |
D | Rewriter.h | 29 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()
|