/external/clang/include/clang/Lex/ |
ScratchBuffer.h | 26 SourceManager &SourceMgr;
|
PPConditionalDirectiveRecord.h | 27 SourceManager &SourceMgr; 71 SourceManager &getSourceManager() const { return SourceMgr; }
|
ModuleMap.h | 56 SourceManager &SourceMgr; 269 /// \param SourceMgr The source manager used to find module files and headers. 278 ModuleMap(SourceManager &SourceMgr, DiagnosticsEngine &Diags,
|
PreprocessingRecord.h | 291 SourceManager &SourceMgr; 379 SourceManager &getSourceManager() const { return SourceMgr; }
|
/external/clang/include/clang/AST/ |
CommentParser.h | 44 const SourceManager &SourceMgr; 90 const SourceManager &SourceMgr, DiagnosticsEngine &Diags,
|
CommentSema.h | 27 class SourceMgr; 41 const SourceManager &SourceMgr; 73 Sema(llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr,
|
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) {} 193 SourceManager &SourceMgr;
|
/external/clang/include/clang/Edit/ |
EditedSource.h | 30 const SourceManager &SourceMgr; 55 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), IdentTable(LangOpts), 58 const SourceManager &getSourceManager() const { return SourceMgr; }
|
Commit.h | 48 const SourceManager &SourceMgr; 62 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), Editor(nullptr),
|
/external/clang/unittests/AST/ |
ASTVectorTest.cpp | 31 SourceMgr(Diags, FileMgr), Idents(LangOpts, nullptr), 32 Ctxt(LangOpts, SourceMgr, Idents, Sels, Builtins) {} 38 SourceManager SourceMgr;
|
CommentLexer.cpp | 34 SourceMgr(Diags, FileMgr), 42 SourceManager SourceMgr; 64 FileID File = SourceMgr.createFileID(std::move(Buf)); 65 SourceLocation Begin = SourceMgr.getLocForStartOfFile(File); [all...] |
CommentParser.cpp | 41 SourceMgr(Diags, FileMgr), 49 SourceManager SourceMgr; 58 FileID File = SourceMgr.createFileID(std::move(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); [all...] |
/external/clang/unittests/Lex/ |
PPConditionalDirectiveRecordTest.cpp | 37 SourceMgr(Diags, FileMgr), 48 SourceManager SourceMgr; 93 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); 96 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts, 98 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr, 104 PPRec = new PPConditionalDirectiveRecord(SourceMgr);
|
LexerTest.cpp | 55 SourceMgr(Diags, FileMgr), 65 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); 68 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts, 70 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr, 98 SourceMgr, LangOpts, &Invalid); 108 SourceManager SourceMgr; 291 macroPair = SourceMgr.getExpansionRange(lsqrLoc); 295 EXPECT_TRUE(Lexer::isAtStartOfMacroExpansion(lsqrLoc, SourceMgr, LangOpts, &Loc)); 297 EXPECT_FALSE(Lexer::isAtStartOfMacroExpansion(idLoc, SourceMgr, LangOpts)) [all...] |
PPCallbacksTest.cpp | 117 SourceMgr(Diags, FileMgr), TargetOpts(new TargetOptions()) { 127 SourceManager SourceMgr; 149 const char* B = SourceMgr.getCharacterData(Range.getBegin()); 150 const char* E = SourceMgr.getCharacterData(Range.getEnd()); 161 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(Buf))); 166 HeaderSearch HeaderInfo(HSOpts, SourceMgr, Diags, LangOpts, 171 Preprocessor PP(PPOpts, Diags, LangOpts, SourceMgr, HeaderInfo, ModLoader, 199 SourceMgr.setMainFileID(SourceMgr.createFileID(std::move(SourceBuf))) [all...] |
/external/clang/include/clang/Rewrite/Core/ |
Rewriter.h | 32 SourceManager *SourceMgr; 57 : SourceMgr(&SM), LangOpts(&LO) {} 58 explicit Rewriter() : SourceMgr(nullptr), LangOpts(nullptr) {} 61 SourceMgr = &SM; 64 SourceManager &getSourceMgr() const { return *SourceMgr; }
|
/external/clang/lib/Format/ |
WhitespaceManager.h | 40 WhitespaceManager(SourceManager &SourceMgr, const FormatStyle &Style, 42 : SourceMgr(SourceMgr), Style(Style), UseCRLF(UseCRLF) {} 90 IsBeforeInFile(const SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} 94 const SourceManager &SourceMgr; 201 SourceManager &SourceMgr;
|
ContinuationIndenter.h | 41 SourceManager &SourceMgr, WhitespaceManager &Whitespaces, 140 SourceManager &SourceMgr;
|
/external/clang/lib/Frontend/ |
FrontendActions.cpp | 309 SourceManager &SourceMgr = CI.getSourceManager(); 310 if (SourceMgr.getModuleBuildStack().empty()) 311 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, 312 FullSourceLoc(SourceLocation(), SourceMgr));
|
/external/clang/lib/Lex/ |
TokenLexer.cpp | 598 SourceManager &SourceMgr = PP.getSourceManager(); 599 FileID LocFileID = SourceMgr.getFileID(ResultTokLoc); 603 = SourceMgr.getBufferData(LocFileID, &Invalid).data(); 609 Lexer TL(SourceMgr.getLocForStartOfFile(LocFileID), [all...] |
/external/clang/unittests/Basic/ |
SourceManagerTest.cpp | 38 SourceMgr(Diags, FileMgr), 48 SourceManager SourceMgr; 77 FileID mainFileID = SourceMgr.createFileID(std::move(Buf)); 78 SourceMgr.setMainFileID(mainFileID); 81 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts, 83 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr, 109 SourceLocation macroExpStartLoc = SourceMgr.translateLineCol(mainFileID, 2, 1); 110 SourceLocation macroExpEndLoc = SourceMgr.translateLineCol(mainFileID, 2, 6); 118 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(lsqrLoc, idLoc)); 119 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(idLoc, rsqrLoc)) [all...] |
/external/llvm/include/llvm/Support/ |
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 { 68 /// private to SourceMgr.cpp. 76 SourceMgr(const SourceMgr&) = delete; 77 void operator=(const SourceMgr&) = delete; 79 SourceMgr() 81 ~SourceMgr(); [all...] |
/external/llvm/lib/Support/ |
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" 39 SourceMgr::~SourceMgr() { 45 unsigned SourceMgr::AddIncludeFile(const std::string &Filename, 66 unsigned SourceMgr::FindBufferContainingLoc(SMLoc Loc) const { 77 SourceMgr::getLineAndColumn(SMLoc Loc, unsigned BufferID) const { 121 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { 135 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, SourceMgr::DiagKind Kind [all...] |
/external/clang/include/clang/Frontend/ |
CompilerInstance.h | 91 IntrusiveRefCntPtr<SourceManager> SourceMgr; 410 bool hasSourceManager() const { return SourceMgr != nullptr; } 414 assert(SourceMgr && "Compiler instance has no source manager!"); 415 return *SourceMgr; 419 BuryPointer(SourceMgr.get()); 420 SourceMgr.resetWithoutRelease(); 753 SourceManager &SourceMgr,
|
/external/clang/lib/CodeGen/ |
CodeGenAction.cpp | 37 #include "llvm/Support/SourceMgr.h" 277 /// ConvertBackendLocation - Convert a location in a temporary llvm::SourceMgr 284 const llvm::SourceMgr &LSM = *D.getSourceMgr(); 286 // We need to copy the underlying LLVM memory buffer because llvm::SourceMgr 327 case llvm::SourceMgr::DK_Error: 330 case llvm::SourceMgr::DK_Warning: 333 case llvm::SourceMgr::DK_Note: 446 SourceManager &SourceMgr = Context->getSourceManager(); 447 FileManager &FileMgr = SourceMgr.getFileManager(); 458 DILoc = SourceMgr.translateFileLineCol(FE, Line, Column ? Column : 1) [all...] |