]> granicus.if.org Git - clang/commitdiff
Remove another unused function from ModuleManager. We have no notion of a 'last'...
authorDouglas Gregor <dgregor@apple.com>
Fri, 19 Aug 2011 21:20:08 +0000 (21:20 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 19 Aug 2011 21:20:08 +0000 (21:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138081 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Serialization/ASTReader.h

index bd2060192e9b1db261fffca17d48a45abb4c2e1d..5223bd8d157654455c2d05a716d6fb859e7c002d 100644 (file)
@@ -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]; }