From 3bd762deaace1d62dab413d22c7430434e57a0d5 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 19 Sep 2012 14:11:44 +0000 Subject: [PATCH] Add some typedefs for clarity. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164223 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/CXXInheritance.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/include/clang/AST/CXXInheritance.h b/include/clang/AST/CXXInheritance.h index ee6eba78e4..5e3145fb64 100644 --- a/include/clang/AST/CXXInheritance.h +++ b/include/clang/AST/CXXInheritance.h @@ -271,15 +271,14 @@ struct UniqueVirtualMethod { /// pair is the virtual method that overrides it (including the /// subobject in which that virtual function occurs). class OverridingMethods { - llvm::DenseMap > - Overrides; + typedef SmallVector ValuesT; + typedef llvm::DenseMap MapType; + MapType Overrides; public: // Iterate over the set of subobjects that have overriding methods. - typedef llvm::DenseMap > - ::iterator iterator; - typedef llvm::DenseMap > - ::const_iterator const_iterator; + typedef MapType::iterator iterator; + typedef MapType::const_iterator const_iterator; iterator begin() { return Overrides.begin(); } const_iterator begin() const { return Overrides.begin(); } iterator end() { return Overrides.end(); } -- 2.50.1