]> granicus.if.org Git - clang/commitdiff
Use newly introduced const-goodness of TinyPtrVector.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 6 Mar 2012 07:15:06 +0000 (07:15 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 6 Mar 2012 07:15:06 +0000 (07:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152108 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/ASTContext.h

index 62143e0199c573559404bc988518e35cf8f5e311..695db67f2416f23f32d95f1950f5a79eee4b8ef6 100644 (file)
@@ -480,7 +480,7 @@ public:
                                   const FieldDecl *LastFD) const;
 
   // Access to the set of methods overridden by the given C++ method.
-  typedef CXXMethodVector::iterator overridden_cxx_method_iterator;
+  typedef CXXMethodVector::const_iterator overridden_cxx_method_iterator;
   overridden_cxx_method_iterator
   overridden_methods_begin(const CXXMethodDecl *Method) const;