/external/clang/lib/Frontend/Rewrite/ |
H A D | InclusionRewriter.cpp | 75 void OutputContentUpTo(const MemoryBuffer &FromFile, 80 const MemoryBuffer &FromFile, StringRef EOL, 198 /// Detect the likely line ending style of \p FromFile by examining the first 200 static StringRef DetectEOL(const MemoryBuffer &FromFile) { argument 204 const char *Pos = strchr(FromFile.getBufferStart(), '\n'); 207 if (Pos - 1 >= FromFile.getBufferStart() && Pos[-1] == '\r') 209 if (Pos + 1 < FromFile.getBufferEnd() && Pos[1] == '\r') 216 const MemoryBuffer &FromFile = *SM.getBuffer(SM.getMainFileID(), &Invalid); local 220 MainEOL = DetectEOL(FromFile); 223 /// Writes out bytes from \p FromFile, startin 225 OutputContentUpTo(const MemoryBuffer &FromFile, unsigned &WriteFrom, unsigned WriteTo, StringRef LocalEOL, int &Line, bool EnsureNewline) argument 276 CommentOutDirective(Lexer &DirectiveLex, const Token &StartToken, const MemoryBuffer &FromFile, StringRef LocalEOL, unsigned &NextToWrite, int &Line) argument 390 const MemoryBuffer &FromFile = *SM.getBuffer(FileId, &Invalid); local [all...] |
H A D | RewriteMacros.cpp | 68 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); 69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts());
|
/external/clang/lib/Frontend/ |
H A D | DependencyGraph.cpp | 81 const FileEntry *FromFile local 83 if (!FromFile) 86 Dependencies[FromFile].push_back(File); 89 AllFiles.insert(FromFile);
|
H A D | CompilerInstance.cpp | 246 const FileEntry *FromFile = local 248 if (!FromFile) { 257 SourceMgr.overrideFileContents(FromFile, RB.second, 271 const FileEntry *FromFile = local 273 if (!FromFile) { 280 SourceMgr.overrideFileContents(FromFile, ToFile);
|
H A D | CacheTokens.cpp | 518 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); local 519 Lexer L(FID, FromFile, SM, LOpts);
|
H A D | FrontendActions.cpp | 575 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); local 576 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts());
|
H A D | VerifyDiagnosticConsumer.cpp | 588 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); local 589 Lexer RawLex(FID, FromFile, SM, LangOpts);
|
/external/clang/lib/Rewrite/ |
H A D | TokenRewriter.cpp | 26 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); local 27 Lexer RawLex(FID, FromFile, SM, LangOpts);
|
H A D | HTMLRewrite.cpp | 361 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); local 362 Lexer L(FID, FromFile, SM, PP.getLangOpts()); 451 const llvm::MemoryBuffer *FromFile = SM.getBuffer(FID); local 452 Lexer L(FID, FromFile, SM, PP.getLangOpts());
|
/external/clang/lib/Lex/ |
H A D | Lexer.cpp | 144 Lexer::Lexer(FileID FID, const llvm::MemoryBuffer *FromFile, argument 146 : Lexer(SM.getLocForStartOfFile(FID), langOpts, FromFile->getBufferStart(), 147 FromFile->getBufferStart(), FromFile->getBufferEnd()) {}
|
H A D | PPDirectives.cpp | 613 const FileEntry *FromFile, 623 if (!FromDir && !FromFile) { 665 if (FromFile) { 677 if (FE == FromFile) { 608 LookupFile( SourceLocation FilenameLoc, StringRef Filename, bool isAngled, const DirectoryLookup *FromDir, const FileEntry *FromFile, const DirectoryLookup *&CurDir, SmallVectorImpl<char> *SearchPath, SmallVectorImpl<char> *RelativePath, ModuleMap::KnownHeader *SuggestedModule, bool SkipCache) argument
|
/external/clang/include/clang/Lex/ |
H A D | Preprocessor.h | 1346 const FileEntry *FromFile,
|