aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-08-19 21:20:08 +0000
committerDouglas Gregor <dgregor@apple.com>2011-08-19 21:20:08 +0000
commitdcf3c0f648edac4d4da1b05840e21ed23b9ca37e (patch)
tree0f58f302528db39cda00aa4e9a395ac55f444ed5
parenta3a0cf07fea63c020b0a261cb765ffdb5af991e6 (diff)
Remove another unused function from ModuleManager. We have no notion of a 'last' module any more
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138081 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Serialization/ASTReader.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/clang/Serialization/ASTReader.h b/include/clang/Serialization/ASTReader.h
index bd2060192e..5223bd8d15 100644
--- a/include/clang/Serialization/ASTReader.h
+++ b/include/clang/Serialization/ASTReader.h
@@ -482,10 +482,6 @@ public:
/// the first module loaded.
Module &getPrimaryModule() const { return *Chain[0]; }
- /// \brief Returns the latest module associated with the manager, that is,
- /// the last module loaded
- Module &getLastModule() { return *Chain.back(); }
-
/// \brief Returns the module associated with the given index
Module &operator[](unsigned Index) const { return *Chain[Index]; }