Home
last modified time | relevance | path

Searched refs:FromFile (Results 1 – 11 of 11) sorted by relevance

/external/clang/lib/Frontend/
DDependencyGraph.cpp83 const FileEntry *FromFile in InclusionDirective() local
85 if (FromFile == 0) in InclusionDirective()
88 Dependencies[FromFile].push_back(File); in InclusionDirective()
91 AllFiles.insert(FromFile); in InclusionDirective()
DInitPreprocessor.cpp623 const FileEntry *FromFile = FileMgr.getVirtualFile(Remap->first, in InitializeFileRemapping() local
626 if (!FromFile) { in InitializeFileRemapping()
636 SourceMgr.overrideFileContents(FromFile, Remap->second, in InitializeFileRemapping()
655 const FileEntry *FromFile = FileMgr.getVirtualFile(Remap->first, in InitializeFileRemapping() local
657 if (!FromFile) { in InitializeFileRemapping()
665 SourceMgr.overrideFileContents(FromFile, ToFile); in InitializeFileRemapping()
DFrontendActions.cpp366 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in ExecuteAction() local
367 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in ExecuteAction()
DVerifyDiagnosticConsumer.cpp350 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in FindExpectedDiags() local
351 Lexer RawLex(FID, FromFile, SM, PP.getLangOpts()); in FindExpectedDiags()
DCacheTokens.cpp485 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in GeneratePTH() local
486 Lexer L(FID, FromFile, SM, LOpts); in GeneratePTH()
DASTUnit.cpp690 const FileEntry *FromFile in LoadFromASTFile() local
694 if (!FromFile) { in LoadFromASTFile()
703 AST->getSourceManager().overrideFileContents(FromFile, memBuf); in LoadFromASTFile()
715 const FileEntry *FromFile in LoadFromASTFile() local
719 if (!FromFile) { in LoadFromASTFile()
728 AST->getSourceManager().overrideFileContents(FromFile, ToFile); in LoadFromASTFile()
/external/clang/lib/Rewrite/
DTokenRewriter.cpp26 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in TokenRewriter() local
27 Lexer RawLex(FID, FromFile, SM, LangOpts); in TokenRewriter()
DHTMLRewrite.cpp362 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in SyntaxHighlight() local
363 Lexer L(FID, FromFile, SM, PP.getLangOpts()); in SyntaxHighlight()
452 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in HighlightMacros() local
453 Lexer L(FID, FromFile, SM, PP.getLangOpts()); in HighlightMacros()
DRewriteMacros.cpp68 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in LexRawTokensFromMainFile() local
69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in LexRawTokensFromMainFile()
/external/clang/lib/Tooling/
DTooling.cpp229 const FileEntry *FromFile = Files->getVirtualFile( in addFileMappingsTo() local
232 Sources.overrideFileContents(FromFile, Input, true); in addFileMappingsTo()
/external/clang/lib/Lex/
DLexer.cpp145 Lexer::Lexer(FileID FID, const llvm::MemoryBuffer *FromFile, in Lexer() argument
149 InitLexer(FromFile->getBufferStart(), FromFile->getBufferStart(), in Lexer()
150 FromFile->getBufferEnd()); in Lexer()