/external/clang/lib/Frontend/Rewrite/ |
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 | 67 FileID FID = R.getSourceMgr().getMainFileID(); in HandleTranslationUnit()
|
D | InclusionRewriter.cpp | 232 const MemoryBuffer &FromFile = *SM.getBuffer(SM.getMainFileID(), &Invalid); in detectMainFileEOL() 416 if (FileId == SM.getMainFileID() || FileId == PP.getPredefinesFileID()) in Process() 601 Rewrite->Process(SM.getMainFileID(), SrcMgr::C_User); in RewriteIncludesInInput()
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | ModelInjector.cpp | 48 FileID mainFileID = SM.getMainFileID(); in onBodySynthesis()
|
/external/clang/lib/Frontend/ |
D | LogDiagnosticPrinter.cpp | 120 FileID FID = SM.getMainFileID(); in HandleDiagnostic()
|
D | FrontendActions.cpp | 621 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in ExecuteAction() 622 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in ExecuteAction() 687 const llvm::MemoryBuffer *Buffer = SM.getBuffer(SM.getMainFileID(), in ExecuteAction()
|
D | ASTUnit.cpp | 1614 if (!File || File == SourceMgr.getFileEntryForID(SourceMgr.getMainFileID())) in getMainBufferWithPrecompiledPreamble() 1685 FE = SourceMgr->getFileEntryForID(SourceMgr->getMainFileID())) in getMainFileName() 2680 = SourceMgr->getLocForStartOfFile(SourceMgr->getMainFileID()); in mapLocationFromPreamble() 2699 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && in mapLocationToPreamble() 2722 FID = SourceMgr->getMainFileID(); in isInMainFileID() 2744 FID = SourceMgr->getMainFileID(); in getStartOfMainFileID()
|
D | CacheTokens.cpp | 576 const FileEntry *MainFile = SrcMgr.getFileEntryForID(SrcMgr.getMainFileID()); in CacheTokens()
|
D | CompilerInstance.cpp | 731 assert(SourceMgr.getMainFileID().isValid() && in InitializeSourceManager() 782 assert(SourceMgr.getMainFileID().isValid() && in InitializeSourceManager()
|
/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/include/llvm/Support/ |
D | SourceMgr.h | 111 unsigned getMainFileID() const { in getMainFileID() function
|
/external/llvm/lib/TableGen/ |
D | TGLexer.cpp | 30 CurBuffer = SrcMgr.getMainFileID(); in TGLexer()
|
/external/clang/lib/Lex/ |
D | Preprocessor.cpp | 405 SourceMgr.getFileEntryForID(SourceMgr.getMainFileID()) == File) { in SetCodeCompletionPoint() 498 FileID MainFileID = SourceMgr.getMainFileID(); in EnterMainSourceFile()
|
D | PPLexerChange.cpp | 483 = SourceMgr.getLocForStartOfFile(SourceMgr.getMainFileID()); in HandleEndOfFile()
|
D | PPDirectives.cpp | 637 if (FID == SourceMgr.getMainFileID() && MainFileDir) in LookupFile() 640 SourceMgr.getFileEntryForID(SourceMgr.getMainFileID()))) in LookupFile()
|
/external/llvm/lib/CodeGen/MIRParser/ |
D | MIRParser.cpp | 207 yaml::Input In(SM.getMemoryBuffer(SM.getMainFileID())->getBuffer(), in parse() 673 for (line_iterator L(*SM.getMemoryBuffer(SM.getMainFileID()), false), E; in diagFromBlockStringDiag()
|
D | MIParser.cpp | 263 const MemoryBuffer &Buffer = *SM.getMemoryBuffer(SM.getMainFileID()); in error()
|
/external/clang/lib/ARCMigrate/ |
D | TransGCAttrs.cpp | 176 return SM.isInFileID(SM.getExpansionLoc(Loc), SM.getMainFileID()); in isInMainFile()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 755 FileID getMainFileID() const { return MainFileID; } in getMainFileID() function 1339 return getFileID(Loc) == getMainFileID(); in isWrittenInMainFile()
|
/external/llvm/lib/MC/ |
D | MCContext.cpp | 57 SrcMgr->getMemoryBuffer(SrcMgr->getMainFileID())->getBufferIdentifier(); in MCContext()
|
/external/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 248 Lexer.setBuffer(SrcMgr.getMemoryBuffer(SrcMgr.getMainFileID())->getBuffer()); in AsLexInput()
|
/external/clang/lib/CodeGen/ |
D | CGDeclCXX.cpp | 435 if (const FileEntry *MainFile = SM.getFileEntryForID(SM.getMainFileID())) { in EmitCXXGlobalInitFunc()
|
D | CodeGenAction.cpp | 747 FileID FID = SM.getMainFileID(); in ExecuteAction()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 508 PlatformParser(nullptr), CurBuffer(SM.getMainFileID()), in AsmParser() 1858 DiagCurBuffer != DiagSrcMgr.getMainFileID()) { in DiagHandler() 4796 SrcMgr.getMemoryBuffer(SrcMgr.getMainFileID())->getBuffer(); in parseMSInlineAsm()
|