From a33815be22055f1c1e7b27ce5ffea12292f942f8 Mon Sep 17 00:00:00 2001 From: Manuel Klimek Date: Fri, 23 May 2014 16:58:18 +0000 Subject: [PATCH] Make the ParentVector default to size 2. As Jordan noted, it makes more sense when we store it in the ParentMap, and doesn't really make a difference when we return it from getParents. llvm-svn: 209530 --- clang/include/clang/AST/ASTContext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/include/clang/AST/ASTContext.h b/clang/include/clang/AST/ASTContext.h index 7ca5da8862f9..b0de90c5f699 100644 --- a/clang/include/clang/AST/ASTContext.h +++ b/clang/include/clang/AST/ASTContext.h @@ -421,7 +421,7 @@ public: ASTMutationListener *Listener; /// \brief Contains parents of a node. - typedef llvm::SmallVector ParentVector; + typedef llvm::SmallVector ParentVector; /// \brief Maps from a node to its parents. typedef llvm::DenseMap