/external/clang/include/clang/Lex/ |
ScratchBuffer.h | 26 SourceManager &SourceMgr;
|
PPConditionalDirectiveRecord.h | 27 SourceManager &SourceMgr; 71 SourceManager &getSourceManager() const { return SourceMgr; }
|
ModuleMap.h | 40 SourceManager *SourceMgr;
|
PreprocessingRecord.h | 291 SourceManager &SourceMgr; 376 SourceManager &getSourceManager() const { return SourceMgr; }
|
/external/clang/include/clang/AST/ |
CommentParser.h | 44 const SourceManager &SourceMgr; 96 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); 165 StringRef getRawTextSlow(const SourceManager &SourceMgr) const; 194 RawCommentList(SourceManager &SourceMgr) : 195 SourceMgr(SourceMgr), OnlyWhitespaceSeen(true) { } 204 SourceManager &SourceMgr;
|
/external/clang/include/clang/Edit/ |
EditedSource.h | 28 const SourceManager &SourceMgr; 49 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), 52 const SourceManager &getSourceManager() const { return SourceMgr; }
|
Commit.h | 48 const SourceManager &SourceMgr; 62 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), Editor(0),
|
/external/clang/unittests/Lex/ |
PPConditionalDirectiveRecordTest.cpp | 38 SourceMgr(Diags, FileMgr), 49 SourceManager SourceMgr; 90 SourceMgr.createMainFileIDForMemBuffer(buf); 96 SourceMgr, HeaderInfo, ModLoader, 101 PPRec = new PPConditionalDirectiveRecord(SourceMgr);
|
LexerTest.cpp | 52 SourceMgr(Diags, FileMgr), 62 (void) SourceMgr.createMainFileIDForMemBuffer(buf); 68 SourceMgr, HeaderInfo, ModLoader, /*IILookup =*/ 0, 95 SourceMgr, LangOpts, &Invalid); 105 SourceManager SourceMgr; 288 macroPair = SourceMgr.getExpansionRange(lsqrLoc); 292 EXPECT_TRUE(Lexer::isAtStartOfMacroExpansion(lsqrLoc, SourceMgr, LangOpts, &Loc)); 294 EXPECT_FALSE(Lexer::isAtStartOfMacroExpansion(idLoc, SourceMgr, LangOpts)); 295 EXPECT_FALSE(Lexer::isAtEndOfMacroExpansion(idLoc, SourceMgr, LangOpts)); 296 EXPECT_TRUE(Lexer::isAtEndOfMacroExpansion(rsqrLoc, SourceMgr, LangOpts, &Loc)) [all...] |
PPCallbacksTest.cpp | 88 SourceMgr(Diags, FileMgr) { 99 SourceManager SourceMgr; 120 const char* B = SourceMgr.getCharacterData(Range.getBegin()); 121 const char* E = SourceMgr.getCharacterData(Range.getEnd()); 131 (void)SourceMgr.createMainFileIDForMemBuffer(Buf); 142 SourceMgr, HeaderInfo, ModLoader,
|
/external/clang/lib/Format/ |
WhitespaceManager.h | 40 WhitespaceManager(SourceManager &SourceMgr, const FormatStyle &Style) 41 : SourceMgr(SourceMgr), Style(Style) {} 79 IsBeforeInFile(const SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} 83 const SourceManager &SourceMgr; 162 SourceManager &SourceMgr;
|
/external/clang/unittests/AST/ |
CommentLexer.cpp | 34 SourceMgr(Diags, FileMgr), 42 SourceManager SourceMgr; 64 FileID File = SourceMgr.createFileIDForMemBuffer(Buf); 65 SourceLocation Begin = SourceMgr.getLocForStartOfFile(File); [all...] |
CommentParser.cpp | 41 SourceMgr(Diags, FileMgr), 49 SourceManager SourceMgr; 58 FileID File = SourceMgr.createFileIDForMemBuffer(Buf); 59 SourceLocation Begin = SourceMgr.getLocForStartOfFile(File); 63 Sema S(Allocator, SourceMgr, Diags, Traits, /*PP=*/ NULL); 64 Parser P(L, S, Allocator, SourceMgr, Diags, Traits); 69 FC->dump(llvm::errs(), &Traits, &SourceMgr); [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; 33 /// SourceMgr - This owns the files read by a parser, handles include stacks, 35 class SourceMgr { 65 /// is really private to SourceMgr.cpp. 71 SourceMgr(const SourceMgr&) LLVM_DELETED_FUNCTION; 72 void operator=(const SourceMgr&) LLVM_DELETED_FUNCTION; 74 SourceMgr() : LineNoCache(0), DiagHandler(0), DiagContext(0) { [all...] |
/external/clang/include/clang/Rewrite/Core/ |
Rewriter.h | 130 SourceManager *SourceMgr; 154 : SourceMgr(&SM), LangOpts(&LO) {} 155 explicit Rewriter() : SourceMgr(0), LangOpts(0) {} 158 SourceMgr = &SM; 161 SourceManager &getSourceMgr() const { return *SourceMgr; }
|
/external/clang/lib/Lex/ |
TokenLexer.cpp | 580 SourceManager &SourceMgr = PP.getSourceManager(); 581 FileID LocFileID = SourceMgr.getFileID(ResultTokLoc); 585 = SourceMgr.getBufferData(LocFileID, &Invalid).data(); 591 Lexer TL(SourceMgr.getLocForStartOfFile(LocFileID), [all...] |
/external/clang/unittests/Basic/ |
SourceManagerTest.cpp | 38 SourceMgr(Diags, FileMgr), 48 SourceManager SourceMgr; 73 FileID mainFileID = SourceMgr.createMainFileIDForMemBuffer(buf); 79 SourceMgr, HeaderInfo, ModLoader, 104 SourceLocation macroExpStartLoc = SourceMgr.translateLineCol(mainFileID, 2, 1); 105 SourceLocation macroExpEndLoc = SourceMgr.translateLineCol(mainFileID, 2, 6); 113 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(lsqrLoc, idLoc)); 114 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(idLoc, rsqrLoc)); 115 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(macroExpStartLoc, idLoc)); 116 EXPECT_TRUE(SourceMgr.isBeforeInTranslationUnit(idLoc, macroExpEndLoc)) [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" 41 SourceMgr::~SourceMgr() { 55 size_t SourceMgr::AddIncludeFile(const std::string &Filename, 76 int SourceMgr::FindBufferContainingLoc(SMLoc Loc) const { 89 SourceMgr::getLineAndColumn(SMLoc Loc, int BufferID) const { 132 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { 151 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, SourceMgr::DiagKind Kind [all...] |
/system/extras/tests/bionic/libc/other/ |
test_jpeg.c | 54 } SourceMgrRec, *SourceMgr; 59 SourceMgr src = (SourceMgr) cinfo->src; 68 SourceMgr src = (SourceMgr) cinfo->src; 77 SourceMgr src = (SourceMgr) cinfo->src; 90 SourceMgr src = (SourceMgr) cinfo->src; 104 _source_init( SourceMgr src, char* base, long size 142 SourceMgrRec sourcemgr; local [all...] |
/external/clang/include/clang/Frontend/ |
CompilerInstance.h | 81 IntrusiveRefCntPtr<SourceManager> SourceMgr; 338 bool hasSourceManager() const { return SourceMgr != 0; } 342 assert(SourceMgr && "Compiler instance has no source manager!"); 343 return *SourceMgr; 347 SourceMgr.resetWithoutRelease(); 652 SourceManager &SourceMgr,
|
ASTUnit.h | 70 IntrusiveRefCntPtr<SourceManager> SourceMgr; 448 const SourceManager &getSourceManager() const { return *SourceMgr; } 449 SourceManager &getSourceManager() { return *SourceMgr; } 815 /// FIXME: The Diag, LangOpts, SourceMgr, FileMgr, StoredDiagnostics, and 823 SourceManager &SourceMgr, FileManager &FileMgr [all...] |
/external/clang/lib/Frontend/ |
PrintPreprocessedOutput.cpp | 263 SourceManager &SourceMgr = SM; 265 PresumedLoc UserLoc = SourceMgr.getPresumedLoc(Loc); 728 const SourceManager &SourceMgr = PP.getSourceManager(); 735 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Tok.getLocation());
|
/external/clang/tools/libclang/ |
CIndexCodeCompletion.cpp | 271 IntrusiveRefCntPtr<SourceManager> SourceMgr; 328 SourceMgr(new SourceManager(*Diag, *FileMgr)), 725 *Results->Diag, Results->LangOpts, *Results->SourceMgr, [all...] |