Home
last modified time | relevance | path

Searched refs:getMainFileID (Results 1 – 18 of 18) sorted by relevance

/external/clang/lib/Rewrite/
DRewriteMacros.cpp68 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in LexRawTokensFromMainFile()
69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOptions()); in LexRawTokensFromMainFile()
95 RewriteBuffer &RB = Rewrite.getEditBuffer(SM.getMainFileID()); in RewriteMacrosInInput()
210 Rewrite.getRewriteBufferFor(SM.getMainFileID())) { in RewriteMacrosInInput()
DRewriteTest.cpp23 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts); in DoRewriteTest()
DHTMLPrint.cpp66 FileID FID = R.getSourceMgr().getMainFileID(); in HandleTranslationUnit()
DRewriteObjC.cpp561 MainFileID = SM->getMainFileID(); in Initialize()
/external/clang/lib/Frontend/
DFrontendActions.cpp129 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in ExecuteAction()
130 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOptions()); in ExecuteAction()
DLogDiagnosticPrinter.cpp104 FileID FID = SM.getMainFileID(); in HandleDiagnostic()
DVerifyDiagnosticsClient.cpp330 FileID FID = SM.getMainFileID(); in FindExpectedDiags()
331 if (SM.getMainFileID().isInvalid()) in FindExpectedDiags()
DCompilerInstance.cpp533 if (!SourceMgr.getMainFileID().isInvalid()) { in InitializeSourceManager()
555 assert(!SourceMgr.getMainFileID().isInvalid() && in InitializeSourceManager()
DCacheTokens.cpp542 const FileEntry *MainFile = SrcMgr.getFileEntryForID(SrcMgr.getMainFileID()); in CacheTokens()
DASTUnit.cpp1472 = SourceMgr.getBuffer(SourceMgr.getMainFileID()); in getMainBufferWithPrecompiledPreamble()
/external/clang/lib/CodeGen/
DCodeGenAction.cpp309 const llvm::MemoryBuffer *MainFile = SM.getBuffer(SM.getMainFileID(), in ExecuteAction()
324 SM.getFileEntryForID(SM.getMainFileID()), Err.getLineNo(), in ExecuteAction()
DCGDebugInfo.cpp244 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in CreateCompileUnit()
DCGObjCGNU.cpp2173 const FileEntry *mainFile = SM.getFileEntryForID(SM.getMainFileID()); in ModuleInitFunction()
/external/clang/include/clang/Basic/
DSourceManager.h549 FileID getMainFileID() const { return MainFileID; } in getMainFileID() function
887 return getFileID(Loc) == getMainFileID(); in isFromMainFile()
/external/clang/lib/Lex/
DPreprocessor.cpp363 FileID MainFileID = SourceMgr.getMainFileID(); in EnterMainSourceFile()
DPPDirectives.cpp495 FID = SourceMgr.getMainFileID(); in LookupFile()
/external/clang/lib/Serialization/
DASTWriter.cpp977 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in WriteMetadata()
995 Record.push_back(SM.getMainFileID().getOpaqueValue()); in WriteMetadata()
/external/clang/tools/libclang/
DCIndex.cpp439 if (Location.first != AU->getSourceManager().getMainFileID()) in getPreprocessedEntities()