Searched refs:FromFile (Results 1 – 11 of 11) sorted by relevance
/external/clang/lib/Frontend/ |
D | DependencyGraph.cpp | 83 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()
|
D | InitPreprocessor.cpp | 623 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()
|
D | FrontendActions.cpp | 366 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in ExecuteAction() local 367 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in ExecuteAction()
|
D | VerifyDiagnosticConsumer.cpp | 350 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in FindExpectedDiags() local 351 Lexer RawLex(FID, FromFile, SM, PP.getLangOpts()); in FindExpectedDiags()
|
D | CacheTokens.cpp | 485 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in GeneratePTH() local 486 Lexer L(FID, FromFile, SM, LOpts); in GeneratePTH()
|
D | ASTUnit.cpp | 690 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/ |
D | TokenRewriter.cpp | 26 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); in TokenRewriter() local 27 Lexer RawLex(FID, FromFile, SM, LangOpts); in TokenRewriter()
|
D | HTMLRewrite.cpp | 362 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()
|
D | RewriteMacros.cpp | 68 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/ |
D | Tooling.cpp | 229 const FileEntry *FromFile = Files->getVirtualFile( in addFileMappingsTo() local 232 Sources.overrideFileContents(FromFile, Input, true); in addFileMappingsTo()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 145 Lexer::Lexer(FileID FID, const llvm::MemoryBuffer *FromFile, in Lexer() argument 149 InitLexer(FromFile->getBufferStart(), FromFile->getBufferStart(), in Lexer() 150 FromFile->getBufferEnd()); in Lexer()
|