diff options
author | Julie Hockett <juliehockett@google.com> | 2018-08-02 18:01:37 +0000 |
---|---|---|
committer | Julie Hockett <juliehockett@google.com> | 2018-08-02 18:01:37 +0000 |
commit | a9cb2dd8b0d5be357e7aaf2b1a16f63eb703cdf8 (patch) | |
tree | 064bdf0629c08cb405aaa0a93537c0b050e32378 /clang-tools-extra/clang-doc/BitcodeWriter.cpp | |
parent | 90dc82e955d38e30fd31506a7b8cfce831d06b71 (diff) | |
download | bcm5719-llvm-a9cb2dd8b0d5be357e7aaf2b1a16f63eb703cdf8.tar.gz bcm5719-llvm-a9cb2dd8b0d5be357e7aaf2b1a16f63eb703cdf8.zip |
Revert "[clang-doc] Refactoring mapper to map by scope"
This reverts commit r338738 as it's breaking the bots.
llvm-svn: 338748
Diffstat (limited to 'clang-tools-extra/clang-doc/BitcodeWriter.cpp')
-rw-r--r-- | clang-tools-extra/clang-doc/BitcodeWriter.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/clang-tools-extra/clang-doc/BitcodeWriter.cpp b/clang-tools-extra/clang-doc/BitcodeWriter.cpp index f73724e4fbc..623ed1a2af0 100644 --- a/clang-tools-extra/clang-doc/BitcodeWriter.cpp +++ b/clang-tools-extra/clang-doc/BitcodeWriter.cpp @@ -434,14 +434,6 @@ void ClangDocBitcodeWriter::emitBlock(const NamespaceInfo &I) { emitBlock(N, FieldId::F_namespace); for (const auto &CI : I.Description) emitBlock(CI); - for (const auto &C : I.ChildNamespaces) - emitBlock(C, FieldId::F_child_namespace); - for (const auto &C : I.ChildRecords) - emitBlock(C, FieldId::F_child_record); - for (const auto &C : I.ChildFunctions) - emitBlock(C); - for (const auto &C : I.ChildEnums) - emitBlock(C); } void ClangDocBitcodeWriter::emitBlock(const EnumInfo &I) { @@ -480,12 +472,6 @@ void ClangDocBitcodeWriter::emitBlock(const RecordInfo &I) { emitBlock(P, FieldId::F_parent); for (const auto &P : I.VirtualParents) emitBlock(P, FieldId::F_vparent); - for (const auto &C : I.ChildRecords) - emitBlock(C, FieldId::F_child_record); - for (const auto &C : I.ChildFunctions) - emitBlock(C); - for (const auto &C : I.ChildEnums) - emitBlock(C); } void ClangDocBitcodeWriter::emitBlock(const FunctionInfo &I) { |