summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-doc/Representation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clang-doc/Representation.cpp')
-rw-r--r--clang-tools-extra/clang-doc/Representation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-doc/Representation.cpp b/clang-tools-extra/clang-doc/Representation.cpp
index ce6b735fe71..a70bf8c30f4 100644
--- a/clang-tools-extra/clang-doc/Representation.cpp
+++ b/clang-tools-extra/clang-doc/Representation.cpp
@@ -178,6 +178,8 @@ void RecordInfo::merge(RecordInfo &&Other) {
TagType = Other.TagType;
if (Members.empty())
Members = std::move(Other.Members);
+ if (Bases.empty())
+ Bases = std::move(Other.Bases);
if (Parents.empty())
Parents = std::move(Other.Parents);
if (VirtualParents.empty())
OpenPOWER on IntegriCloud