forked from OSchip/llvm-project
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
This commit is contained in:
parent
05b8584f16
commit
a33815be22
|
@ -421,7 +421,7 @@ public:
|
|||
ASTMutationListener *Listener;
|
||||
|
||||
/// \brief Contains parents of a node.
|
||||
typedef llvm::SmallVector<ast_type_traits::DynTypedNode, 1> ParentVector;
|
||||
typedef llvm::SmallVector<ast_type_traits::DynTypedNode, 2> ParentVector;
|
||||
|
||||
/// \brief Maps from a node to its parents.
|
||||
typedef llvm::DenseMap<const void *,
|
||||
|
|
Loading…
Reference in New Issue