/external/clang/include/clang/Lex/ |
H A D | ScratchBuffer.h | 26 SourceManager &SourceMgr; member in class:clang::ScratchBuffer
|
H A D | PPConditionalDirectiveRecord.h | 27 SourceManager &SourceMgr; member in class:clang::PPConditionalDirectiveRecord 71 SourceManager &getSourceManager() const { return SourceMgr; }
|
H A D | ModuleMap.h | 40 SourceManager &SourceMgr; member in class:clang::ModuleMap 210 /// \param SourceMgr The source manager used to find module files and headers. 219 ModuleMap(SourceManager &SourceMgr, DiagnosticsEngine &Diags,
|
/external/clang/unittests/Lex/ |
H A D | PPConditionalDirectiveRecordTest.cpp | 37 SourceMgr(Diags, FileMgr), 48 SourceManager SourceMgr; member in class:__anon19547::PPConditionalDirectiveRecordTest 94 SourceMgr.setMainFileID(SourceMgr.createFileID(buf)); 97 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts, 99 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr, 105 PPRec = new PPConditionalDirectiveRecord(SourceMgr);
|
H A D | LexerTest.cpp | 56 SourceMgr(Diags, FileMgr), 66 SourceMgr.setMainFileID(SourceMgr.createFileID(buf)); 69 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts, 71 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr, 99 SourceMgr, LangOpts, &Invalid); 109 SourceManager SourceMgr; member in class:__anon19544::LexerTest 292 macroPair = SourceMgr.getExpansionRange(lsqrLoc); 296 EXPECT_TRUE(Lexer::isAtStartOfMacroExpansion(lsqrLoc, SourceMgr, LangOpts, &Loc)); 298 EXPECT_FALSE(Lexer::isAtStartOfMacroExpansion(idLoc, SourceMgr, LangOpt [all...] |
H A D | PPCallbacksTest.cpp | 122 SourceMgr(Diags, FileMgr), TargetOpts(new TargetOptions()) { 132 SourceManager SourceMgr; member in class:__anon19545::PPCallbacksTest 153 const char* B = SourceMgr.getCharacterData(Range.getBegin()); 154 const char* E = SourceMgr.getCharacterData(Range.getEnd()); 164 SourceMgr.setMainFileID(SourceMgr.createFileID(Buf)); 169 HeaderSearch HeaderInfo(HSOpts, SourceMgr, Diags, LangOpts, 174 Preprocessor PP(PPOpts, Diags, LangOpts, SourceMgr, HeaderInfo, ModLoader, 201 SourceMgr.setMainFileID(SourceMgr [all...] |
/external/clang/include/clang/AST/ |
H A D | CommentParser.h | 44 const SourceManager &SourceMgr; member in class:clang::comments::Parser 94 const SourceManager &SourceMgr, DiagnosticsEngine &Diags,
|
H A D | CommentSema.h | 27 class SourceMgr; 41 const SourceManager &SourceMgr; member in class:clang::comments::Sema 73 Sema(llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr,
|
H A D | RawCommentList.h | 43 RawComment(const SourceManager &SourceMgr, SourceRange SR, 101 StringRef getRawText(const SourceManager &SourceMgr) const { 105 RawText = getRawTextSlow(SourceMgr); 156 StringRef getRawTextSlow(const SourceManager &SourceMgr) const; 184 RawCommentList(SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} argument 193 SourceManager &SourceMgr; member in class:clang::RawCommentList
|
/external/clang/include/clang/Edit/ |
H A D | EditedSource.h | 28 const SourceManager &SourceMgr; member in class:clang::edit::EditedSource 49 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), 52 const SourceManager &getSourceManager() const { return SourceMgr; }
|
H A D | Commit.h | 48 const SourceManager &SourceMgr; member in class:clang::edit::Commit 62 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), Editor(nullptr),
|
/external/clang/lib/Format/ |
H A D | WhitespaceManager.h | 40 WhitespaceManager(SourceManager &SourceMgr, const FormatStyle &Style, argument 42 : SourceMgr(SourceMgr), Style(Style), UseCRLF(UseCRLF) {} 91 IsBeforeInFile(const SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} argument 95 const SourceManager &SourceMgr; member in class:clang::format::WhitespaceManager::Change::IsBeforeInFile 194 SourceManager &SourceMgr; member in class:clang::format::WhitespaceManager
|
H A D | ContinuationIndenter.h | 38 ContinuationIndenter(const FormatStyle &Style, SourceManager &SourceMgr, 137 SourceManager &SourceMgr; member in class:clang::format::ContinuationIndenter
|
H A D | ContinuationIndenter.cpp | 60 SourceManager &SourceMgr, 64 : Style(Style), SourceMgr(SourceMgr), Whitespaces(Whitespaces), 239 int WhitespaceLength = SourceMgr.getSpellingColumnNumber( 241 SourceMgr.getSpellingColumnNumber( 59 ContinuationIndenter(const FormatStyle &Style, SourceManager &SourceMgr, WhitespaceManager &Whitespaces, encoding::Encoding Encoding, bool BinPackInconclusiveFunctions) argument
|
/external/clang/tools/clang-check/ |
H A D | ClangCheck.cpp | 120 clang::SourceManager& SourceMgr, 123 : clang::FixItRewriter(Diags, SourceMgr, LangOpts, FixItOpts) { 119 FixItRewriter(clang::DiagnosticsEngine& Diags, clang::SourceManager& SourceMgr, const clang::LangOptions& LangOpts, clang::FixItOptions* FixItOpts) argument
|
/external/clang/unittests/AST/ |
H A D | CommentLexer.cpp | 34 SourceMgr(Diags, FileMgr), 42 SourceManager SourceMgr; member in class:clang::comments::__anon19529::CommentLexerTest 64 FileID File = SourceMgr.createFileID(Buf); 65 SourceLocation Begin = SourceMgr.getLocForStartOfFile(File);
|
H A D | CommentParser.cpp | 41 SourceMgr(Diags, FileMgr), 49 SourceManager SourceMgr; member in class:clang::comments::__anon19530::CommentParserTest 58 FileID File = SourceMgr.createFileID(Buf); 59 SourceLocation Begin = SourceMgr.getLocForStartOfFile(File); 63 Sema S(Allocator, SourceMgr, Diags, Traits, /*PP=*/ nullptr); 64 Parser P(L, S, Allocator, SourceMgr, Diags, Traits); 69 FC->dump(llvm::errs(), &Traits, &SourceMgr); local
|
/external/clang/lib/Rewrite/Frontend/ |
H A D | FixItRewriter.cpp | 30 FixItRewriter::FixItRewriter(DiagnosticsEngine &Diags, SourceManager &SourceMgr, argument 34 Editor(SourceMgr, LangOpts), 35 Rewrite(SourceMgr, LangOpts),
|
/external/clang/include/clang/Rewrite/Core/ |
H A D | Rewriter.h | 128 SourceManager *SourceMgr; member in class:clang::Rewriter 153 : SourceMgr(&SM), LangOpts(&LO) {} 154 explicit Rewriter() : SourceMgr(nullptr), LangOpts(nullptr) {} 157 SourceMgr = &SM; 160 SourceManager &getSourceMgr() const { return *SourceMgr; }
|
/external/clang/lib/AST/ |
H A D | RawCommentList.cpp | 67 RawComment::RawComment(const SourceManager &SourceMgr, SourceRange SR, argument 73 if (SR.getBegin() == SR.getEnd() || getRawText(SourceMgr).empty()) { 92 StringRef RawComment::getRawTextSlow(const SourceManager &SourceMgr) const { 99 SourceMgr.getDecomposedLoc(Range.getBegin()); 100 std::tie(EndFileID, EndOffset) = SourceMgr.getDecomposedLoc(Range.getEnd()); 110 const char *BufferStart = SourceMgr.getBufferData(BeginFileID, 220 !SourceMgr.isBeforeInTranslationUnit(Comments.back()->getLocStart(), 245 onlyWhitespaceBetween(SourceMgr, C1.getLocEnd(), C2.getLocStart(), 248 *Comments.back() = RawComment(SourceMgr, MergedRange, true, 262 BeforeThanCompare<RawComment>(SourceMgr)); [all...] |
/external/clang/lib/Frontend/ |
H A D | FrontendActions.cpp | 271 SourceManager &SourceMgr = CI.getSourceManager(); local 272 if (SourceMgr.getModuleBuildStack().empty()) 273 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, 274 FullSourceLoc(SourceLocation(), SourceMgr));
|
/external/clang/unittests/Basic/ |
H A D | SourceManagerTest.cpp | 38 SourceMgr(Diags, FileMgr), 48 SourceManager SourceMgr; member in class:__anon19539::SourceManagerTest 78 FileID mainFileID = SourceMgr.createFileID(buf); 79 SourceMgr.setMainFileID(mainFileID); 82 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts, 84 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr, 110 SourceLocation macroExpStartLoc = SourceMgr.translateLineCol(mainFileID, 2, 1); 111 SourceLocation macroExpEndLoc = SourceMgr.translateLineCol(mainFileID, 2, 6); 119 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(lsqrLoc, idLoc)); 120 EXPECT_TRUE(SourceMgr [all...] |
/external/clang/lib/Lex/ |
H A D | TokenLexer.cpp | 574 SourceManager &SourceMgr = PP.getSourceManager(); local 575 FileID LocFileID = SourceMgr.getFileID(ResultTokLoc); 579 = SourceMgr.getBufferData(LocFileID, &Invalid).data(); 585 Lexer TL(SourceMgr.getLocForStartOfFile(LocFileID),
|
/external/llvm/include/llvm/Support/ |
H A D | SourceMgr.h | 1 //===- SourceMgr.h - Manager for Source Buffers & Diagnostics ---*- C++ -*-===// 10 // This file declares the SMDiagnostic and SourceMgr classes. This 27 class SourceMgr; 35 class SourceMgr { class in namespace:llvm 63 /// private to SourceMgr.cpp. 71 SourceMgr(const SourceMgr&) LLVM_DELETED_FUNCTION; 72 void operator=(const SourceMgr&) LLVM_DELETED_FUNCTION; 74 SourceMgr() function in class:llvm::SourceMgr 76 ~SourceMgr(); [all...] |
/external/llvm/lib/Support/ |
H A D | SourceMgr.cpp | 1 //===- SourceMgr.cpp - Manager for Simple Source Buffers & Diagnostics ----===// 10 // This file implements the SourceMgr class. This class is used as a simple 16 #include "llvm/Support/SourceMgr.h" 41 SourceMgr::~SourceMgr() { 52 unsigned SourceMgr::AddIncludeFile(const std::string &Filename, 73 unsigned SourceMgr::FindBufferContainingLoc(SMLoc Loc) const { 84 SourceMgr::getLineAndColumn(SMLoc Loc, unsigned BufferID) const { 128 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { 142 SMDiagnostic SourceMgr [all...] |