diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-04-29 07:12:06 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-04-29 07:12:06 +0000 |
| commit | 739e739b811793954529309aa5c1b8c1d23d1059 (patch) | |
| tree | 63f5bbd359e9285ec819292c5d6c0bea65b8387e /clang/Lex/Preprocessor.cpp | |
| parent | e92976d8ee2a62bc00e7316426fb3a9581671ad7 (diff) | |
| download | bcm5719-llvm-739e739b811793954529309aa5c1b8c1d23d1059.tar.gz bcm5719-llvm-739e739b811793954529309aa5c1b8c1d23d1059.zip | |
Remove the clang::SourceBuffer class, switch to the llvm::MemoryBuffer class.
llvm-svn: 39426
Diffstat (limited to 'clang/Lex/Preprocessor.cpp')
| -rw-r--r-- | clang/Lex/Preprocessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Lex/Preprocessor.cpp b/clang/Lex/Preprocessor.cpp index 7654d22d053..cbdb0ff3868 100644 --- a/clang/Lex/Preprocessor.cpp +++ b/clang/Lex/Preprocessor.cpp @@ -339,7 +339,7 @@ void Preprocessor::EnterSourceFile(unsigned FileID, if (MaxIncludeStackDepth < IncludeMacroStack.size()) MaxIncludeStackDepth = IncludeMacroStack.size(); - const SourceBuffer *Buffer = SourceMgr.getBuffer(FileID); + const MemoryBuffer *Buffer = SourceMgr.getBuffer(FileID); Lexer *TheLexer = new Lexer(Buffer, FileID, *this); if (isMainFile) TheLexer->setIsMainFile(); EnterSourceFileWithLexer(TheLexer, CurDir); |

