[cfe-commits] r138081 - /cfe/trunk/include/clang/Serialization/ASTReader.h

Douglas Gregor dgregor at apple.com
Fri Aug 19 14:20:08 PDT 2011


Author: dgregor
Date: Fri Aug 19 16:20:08 2011
New Revision: 138081

URL: http://llvm.org/viewvc/llvm-project?rev=138081&view=rev
Log:
Remove another unused function from ModuleManager. We have no notion of a 'last' module any more

Modified:
    cfe/trunk/include/clang/Serialization/ASTReader.h

Modified: cfe/trunk/include/clang/Serialization/ASTReader.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Serialization/ASTReader.h?rev=138081&r1=138080&r2=138081&view=diff
==============================================================================
--- cfe/trunk/include/clang/Serialization/ASTReader.h (original)
+++ cfe/trunk/include/clang/Serialization/ASTReader.h Fri Aug 19 16:20:08 2011
@@ -482,10 +482,6 @@
   /// 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]; }
 





More information about the cfe-commits mailing list