Searched refs:getMainFileID (Results 1 – 22 of 22) sorted by relevance
/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 Rewrite->Process(SM.getMainFileID(), SrcMgr::C_User); in RewriteIncludesInInput()
|
D | RewriteObjC.cpp | 634 MainFileID = SM->getMainFileID(); in InitializeCommon()
|
D | RewriteModernObjC.cpp | 697 MainFileID = SM->getMainFileID(); in InitializeCommon()
|
/external/clang/lib/Frontend/ |
D | FrontendActions.cpp | 328 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in ExecuteAction() 329 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in ExecuteAction() 400 const llvm::MemoryBuffer *Buffer = SM.getBuffer(SM.getMainFileID(), in ExecuteAction()
|
D | LogDiagnosticPrinter.cpp | 130 FileID FID = SM.getMainFileID(); in HandleDiagnostic()
|
D | ASTUnit.cpp | 1639 = SourceMgr.getBuffer(SourceMgr.getMainFileID()); in getMainBufferWithPrecompiledPreamble() 1707 FE = SourceMgr->getFileEntryForID(SourceMgr->getMainFileID())) in getMainFileName() 2735 = SourceMgr->getLocForStartOfFile(SourceMgr->getMainFileID()); in mapLocationFromPreamble() 2754 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && in mapLocationToPreamble() 2777 FID = SourceMgr->getMainFileID(); in isInMainFileID() 2799 FID = SourceMgr->getMainFileID(); in getStartOfMainFileID()
|
D | CompilerInstance.cpp | 593 assert(!SourceMgr.getMainFileID().isInvalid() && in InitializeSourceManager() 638 assert(!SourceMgr.getMainFileID().isInvalid() && in InitializeSourceManager()
|
D | CacheTokens.cpp | 542 const FileEntry *MainFile = SrcMgr.getFileEntryForID(SrcMgr.getMainFileID()); in CacheTokens()
|
/external/clang/lib/CodeGen/ |
D | CodeGenAction.cpp | 376 const llvm::MemoryBuffer *MainFile = SM.getBuffer(SM.getMainFileID(), in ExecuteAction() 391 SM.getFileEntryForID(SM.getMainFileID()), Err.getLineNo(), in ExecuteAction()
|
D | CGObjCGNU.cpp | 2515 const FileEntry *mainFile = SM.getFileEntryForID(SM.getMainFileID()); in ModuleInitFunction()
|
D | CGDebugInfo.cpp | 305 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in CreateCompileUnit()
|
/external/clang/tools/libclang/ |
D | Indexing.cpp | 260 SourceLocation MainFileLoc = SM.getLocForStartOfFile(SM.getMainFileID()); in FileChanged() 264 IndexCtx.enteredMainFile(SM.getFileEntryForID(SM.getMainFileID())); in FileChanged() 378 if (SM.getMainFileID() == FID) in shouldSkipFunctionBody()
|
D | CIndex.cpp | 4223 FileID MainID = TU->getSourceManager().getMainFileID(); in getRawCursorExtent()
|
/external/clang/lib/Lex/ |
D | PPLexerChange.cpp | 370 = SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in HandleEndOfFile()
|
D | Preprocessor.cpp | 461 FileID MainFileID = SourceMgr.getMainFileID(); in EnterMainSourceFile()
|
D | PPDirectives.cpp | 526 FID = SourceMgr.getMainFileID(); in LookupFile()
|
/external/clang/lib/ARCMigrate/ |
D | TransGCAttrs.cpp | 180 return SM.isInFileID(SM.getExpansionLoc(Loc), SM.getMainFileID()); in isInMainFile()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 742 FileID getMainFileID() const { return MainFileID; } in getMainFileID() function 1276 return getFileID(Loc) == getMainFileID(); in isFromMainFile()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 1175 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in WriteControlBlock() 1191 Record.push_back(SM.getMainFileID().getOpaqueValue()); in WriteControlBlock() 1196 Record.push_back(SM.getMainFileID().getOpaqueValue()); in WriteControlBlock()
|