Searched refs:getMainFileID (Results 1 – 18 of 18) sorted by relevance
/external/clang/lib/Rewrite/ |
D | RewriteMacros.cpp | 68 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()
|
D | RewriteTest.cpp | 23 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts); in DoRewriteTest()
|
D | HTMLPrint.cpp | 66 FileID FID = R.getSourceMgr().getMainFileID(); in HandleTranslationUnit()
|
D | RewriteObjC.cpp | 561 MainFileID = SM->getMainFileID(); in Initialize()
|
/external/clang/lib/Frontend/ |
D | FrontendActions.cpp | 129 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in ExecuteAction() 130 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOptions()); in ExecuteAction()
|
D | LogDiagnosticPrinter.cpp | 104 FileID FID = SM.getMainFileID(); in HandleDiagnostic()
|
D | VerifyDiagnosticsClient.cpp | 330 FileID FID = SM.getMainFileID(); in FindExpectedDiags() 331 if (SM.getMainFileID().isInvalid()) in FindExpectedDiags()
|
D | CompilerInstance.cpp | 533 if (!SourceMgr.getMainFileID().isInvalid()) { in InitializeSourceManager() 555 assert(!SourceMgr.getMainFileID().isInvalid() && in InitializeSourceManager()
|
D | CacheTokens.cpp | 542 const FileEntry *MainFile = SrcMgr.getFileEntryForID(SrcMgr.getMainFileID()); in CacheTokens()
|
D | ASTUnit.cpp | 1472 = SourceMgr.getBuffer(SourceMgr.getMainFileID()); in getMainBufferWithPrecompiledPreamble()
|
/external/clang/lib/CodeGen/ |
D | CodeGenAction.cpp | 309 const llvm::MemoryBuffer *MainFile = SM.getBuffer(SM.getMainFileID(), in ExecuteAction() 324 SM.getFileEntryForID(SM.getMainFileID()), Err.getLineNo(), in ExecuteAction()
|
D | CGDebugInfo.cpp | 244 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in CreateCompileUnit()
|
D | CGObjCGNU.cpp | 2173 const FileEntry *mainFile = SM.getFileEntryForID(SM.getMainFileID()); in ModuleInitFunction()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 549 FileID getMainFileID() const { return MainFileID; } in getMainFileID() function 887 return getFileID(Loc) == getMainFileID(); in isFromMainFile()
|
/external/clang/lib/Lex/ |
D | Preprocessor.cpp | 363 FileID MainFileID = SourceMgr.getMainFileID(); in EnterMainSourceFile()
|
D | PPDirectives.cpp | 495 FID = SourceMgr.getMainFileID(); in LookupFile()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 977 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in WriteMetadata() 995 Record.push_back(SM.getMainFileID().getOpaqueValue()); in WriteMetadata()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 439 if (Location.first != AU->getSourceManager().getMainFileID()) in getPreprocessedEntities()
|