diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-05 22:42:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-05 22:42:27 +0000 |
commit | a0a270c0f1c0a4e3482438bdc5f4a7bd3d25f0a6 (patch) | |
tree | de698251078d6a2bb1f8d0ab9f47534a654d7367 /lib/Frontend/FrontendAction.cpp | |
parent | 5fcd52a6c94c7f93bd80062248353c45330da23a (diff) |
Match MemoryBuffer API changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100484 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/FrontendAction.cpp')
-rw-r--r-- | lib/Frontend/FrontendAction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/FrontendAction.cpp b/lib/Frontend/FrontendAction.cpp index 4c2b1e9b82..464b589f18 100644 --- a/lib/Frontend/FrontendAction.cpp +++ b/lib/Frontend/FrontendAction.cpp @@ -136,7 +136,7 @@ void FrontendAction::Execute() { // simplest way to reuse the logic in ParseAST. const char *EmptyStr = ""; llvm::MemoryBuffer *SB = - llvm::MemoryBuffer::getMemBuffer(EmptyStr, EmptyStr, "<dummy input>"); + llvm::MemoryBuffer::getMemBuffer(EmptyStr, "<dummy input>"); CI.getSourceManager().createMainFileIDForMemBuffer(SB); } else { if (!CI.InitializeSourceManager(getCurrentFile())) |