We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44af592 commit f501659Copy full SHA for f501659
llvm/lib/TextAPI/TextStubV5.cpp
@@ -767,7 +767,8 @@ Array serializeTargetInfo(const TargetList &ActiveTargets) {
767
Array Targets;
768
for (const auto Targ : ActiveTargets) {
769
Object TargetInfo;
770
- TargetInfo[Keys[TBDKey::Deployment]] = Targ.MinDeployment.getAsString();
+ if (!Targ.MinDeployment.empty())
771
+ TargetInfo[Keys[TBDKey::Deployment]] = Targ.MinDeployment.getAsString();
772
TargetInfo[Keys[TBDKey::Target]] = getFormattedStr(Targ);
773
Targets.emplace_back(std::move(TargetInfo));
774
}
0 commit comments