From: Argyrios Kyrtzidis Date: Tue, 6 Mar 2012 07:15:06 +0000 (+0000) Subject: Use newly introduced const-goodness of TinyPtrVector. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=faa7fac3f8627f53f2c5aa06f0ad8832098872f5;p=clang Use newly introduced const-goodness of TinyPtrVector. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152108 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index 62143e0199..695db67f24 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -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;