[clang] e3548e2 - Remove unnecessary typedef that GCC doesn't like
Reid Kleckner via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 13 12:51:15 PST 2020
Author: Reid Kleckner
Date: 2020-02-13T12:51:06-08:00
New Revision: e3548e23657d6c4988f815e9c87350f53e48e783
URL: https://github.com/llvm/llvm-project/commit/e3548e23657d6c4988f815e9c87350f53e48e783
DIFF: https://github.com/llvm/llvm-project/commit/e3548e23657d6c4988f815e9c87350f53e48e783.diff
LOG: Remove unnecessary typedef that GCC doesn't like
Added:
Modified:
clang/include/clang/AST/ParentMapContext.h
Removed:
################################################################################
diff --git a/clang/include/clang/AST/ParentMapContext.h b/clang/include/clang/AST/ParentMapContext.h
index 3ab55fb3d309..be4d75df7b99 100644
--- a/clang/include/clang/AST/ParentMapContext.h
+++ b/clang/include/clang/AST/ParentMapContext.h
@@ -89,8 +89,6 @@ class TraversalKindScope {
/// Container for either a single DynTypedNode or for an ArrayRef to
/// DynTypedNode. For use with ParentMap.
class DynTypedNodeList {
- using DynTypedNode = DynTypedNode;
-
llvm::AlignedCharArrayUnion<DynTypedNode, ArrayRef<DynTypedNode>> Storage;
bool IsSingleNode;
More information about the cfe-commits
mailing list