diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-23 09:19:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-23 09:19:42 +0000 |
commit | 75dfb65c38d51772df9a00ce2d2feeefd55667ad (patch) | |
tree | e7cbb532a7424c29765febd45a7f941f38d6a248 /include/clang/Frontend/ASTUnit.h | |
parent | 681c74afe6a81161aa13291c6c114e5240b23865 (diff) |
tidy up. Split FileManager::getBufferForFile into
two copies, since they are fundamentally different
operations and the StringRef one should go away
(it shouldn't be part of FileManager at least).
Remove some dead arguments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120013 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/ASTUnit.h')
-rw-r--r-- | include/clang/Frontend/ASTUnit.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/clang/Frontend/ASTUnit.h b/include/clang/Frontend/ASTUnit.h index b6398f7926..6d584d4b07 100644 --- a/include/clang/Frontend/ASTUnit.h +++ b/include/clang/Frontend/ASTUnit.h @@ -462,8 +462,7 @@ public: } llvm::MemoryBuffer *getBufferForFile(llvm::StringRef Filename, - std::string *ErrorStr = 0, - int64_t FileSize = -1); + std::string *ErrorStr = 0); /// \brief Whether this AST represents a complete translation unit. /// |