diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2020-01-14 15:46:13 +0100 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2020-01-14 18:56:29 +0100 |
commit | 2948ec5ca98f8593584f2117bc92fe8d75f6f098 (patch) | |
tree | 417b18aa594f1db005b57eca3c27eb9ca0517427 /clang/lib | |
parent | 0877843ddacca0bea049b65d8a328e5038c72b66 (diff) | |
download | bcm5719-llvm-2948ec5ca98f8593584f2117bc92fe8d75f6f098.tar.gz bcm5719-llvm-2948ec5ca98f8593584f2117bc92fe8d75f6f098.zip |
Removed PointerUnion3 and PointerUnion4 aliases in favor of the variadic template
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/AST/ASTContext.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index 481affafc87..26e76d45042 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -924,15 +924,15 @@ class ASTContext::ParentMap { /// only storing a unique pointer to them. using ParentMapPointers = llvm::DenseMap< const void *, - llvm::PointerUnion4<const Decl *, const Stmt *, - ast_type_traits::DynTypedNode *, ParentVector *>>; + llvm::PointerUnion<const Decl *, const Stmt *, + ast_type_traits::DynTypedNode *, ParentVector *>>; /// Parent map for nodes without pointer identity. We store a full /// DynTypedNode for all keys. using ParentMapOtherNodes = llvm::DenseMap< ast_type_traits::DynTypedNode, - llvm::PointerUnion4<const Decl *, const Stmt *, - ast_type_traits::DynTypedNode *, ParentVector *>>; + llvm::PointerUnion<const Decl *, const Stmt *, + ast_type_traits::DynTypedNode *, ParentVector *>>; ParentMapPointers PointerParents; ParentMapOtherNodes OtherParents; |