/external/clang/lib/Rewrite/Frontend/ |
D | RewriteMacros.cpp | 68 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in LexRawTokensFromMainFile() 69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in LexRawTokensFromMainFile() 95 RewriteBuffer &RB = Rewrite.getEditBuffer(SM.getMainFileID()); in RewriteMacrosInInput() 210 Rewrite.getRewriteBufferFor(SM.getMainFileID())) { in RewriteMacrosInInput()
|
D | RewriteTest.cpp | 23 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts); in DoRewriteTest()
|
D | HTMLPrint.cpp | 66 FileID FID = R.getSourceMgr().getMainFileID(); in HandleTranslationUnit()
|
D | InclusionRewriter.cpp | 361 if (FileId == SM.getMainFileID() || FileId == PP.getPredefinesFileID()) in Process() 545 Rewrite->Process(SM.getMainFileID(), SrcMgr::C_User); in RewriteIncludesInInput()
|
/external/clang/lib/Frontend/ |
D | LogDiagnosticPrinter.cpp | 118 FileID FID = SM.getMainFileID(); in HandleDiagnostic()
|
D | FrontendActions.cpp | 552 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in ExecuteAction() 553 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in ExecuteAction() 624 const llvm::MemoryBuffer *Buffer = SM.getBuffer(SM.getMainFileID(), in ExecuteAction()
|
D | ASTUnit.cpp | 1644 if (!File || File == SourceMgr.getFileEntryForID(SourceMgr.getMainFileID())) in getMainBufferWithPrecompiledPreamble() 1716 FE = SourceMgr->getFileEntryForID(SourceMgr->getMainFileID())) in getMainFileName() 2703 = SourceMgr->getLocForStartOfFile(SourceMgr->getMainFileID()); in mapLocationFromPreamble() 2722 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && in mapLocationToPreamble() 2745 FID = SourceMgr->getMainFileID(); in isInMainFileID() 2767 FID = SourceMgr->getMainFileID(); in getStartOfMainFileID()
|
D | CacheTokens.cpp | 566 const FileEntry *MainFile = SrcMgr.getFileEntryForID(SrcMgr.getMainFileID()); in CacheTokens()
|
D | CompilerInstance.cpp | 709 assert(!SourceMgr.getMainFileID().isInvalid() && in InitializeSourceManager() 760 assert(!SourceMgr.getMainFileID().isInvalid() && in InitializeSourceManager()
|
/external/clang/lib/Lex/ |
D | PPLexerChange.cpp | 450 = SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in HandleEndOfFile() 487 = SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in HandleEndOfFile()
|
D | Preprocessor.cpp | 461 FileID MainFileID = SourceMgr.getMainFileID(); in EnterMainSourceFile()
|
D | PPDirectives.cpp | 584 FileEnt = SourceMgr.getFileEntryForID(SourceMgr.getMainFileID()); in LookupFile()
|
/external/llvm/include/llvm/Support/ |
D | SourceMgr.h | 106 unsigned getMainFileID() const { in getMainFileID() function
|
/external/clang/tools/libclang/ |
D | Indexing.cpp | 262 SourceLocation MainFileLoc = SM.getLocForStartOfFile(SM.getMainFileID()); in FileChanged() 266 IndexCtx.enteredMainFile(SM.getFileEntryForID(SM.getMainFileID())); in FileChanged() 372 if (SM.getMainFileID() == FID) in shouldSkipFunctionBody()
|
/external/llvm/lib/TableGen/ |
D | TGLexer.cpp | 30 CurBuffer = SrcMgr.getMainFileID(); in TGLexer()
|
/external/llvm/lib/MC/ |
D | MCContext.cpp | 52 SrcMgr->getMemoryBuffer(SrcMgr->getMainFileID())->getBufferIdentifier(); in MCContext()
|
/external/clang/lib/ARCMigrate/ |
D | TransGCAttrs.cpp | 178 return SM.isInFileID(SM.getExpansionLoc(Loc), SM.getMainFileID()); in isInMainFile()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 752 FileID getMainFileID() const { return MainFileID; } in getMainFileID() function 1314 return getFileID(Loc) == getMainFileID(); in isWrittenInMainFile()
|
/external/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 245 Lexer.setBuffer(SrcMgr.getMemoryBuffer(SrcMgr.getMainFileID())->getBuffer()); in AsLexInput()
|
/external/clang/lib/CodeGen/ |
D | CGDeclCXX.cpp | 389 SM.getFileEntryForID(SM.getMainFileID())->getName())); in EmitCXXGlobalInitFunc()
|
D | CodeGenAction.cpp | 644 FileID FID = SM.getMainFileID(); in ExecuteAction()
|
D | CGObjCGNU.cpp | 2496 const FileEntry *mainFile = SM.getFileEntryForID(SM.getMainFileID()); in ModuleInitFunction()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 494 PlatformParser(nullptr), CurBuffer(_SM.getMainFileID()), in AsmParser() 1705 DiagCurBuffer != DiagSrcMgr.getMainFileID()) { in DiagHandler() 4585 SrcMgr.getMemoryBuffer(SrcMgr.getMainFileID())->getBuffer(); in parseMSInlineAsm()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 1238 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in WriteControlBlock() 1254 Record.push_back(SM.getMainFileID().getOpaqueValue()); in WriteControlBlock() 1259 Record.push_back(SM.getMainFileID().getOpaqueValue()); in WriteControlBlock()
|
D | ASTReader.cpp | 1305 assert(!SourceMgr.getMainFileID().isInvalid() && "missing main file"); in getImportLocation() 1306 return SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in getImportLocation()
|