summaryrefslogtreecommitdiff
path: root/cpp/src/slice2swift/Gen.cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2019-06-11 15:31:57 -0400
committerJoe George <joe@zeroc.com>2019-06-11 15:31:57 -0400
commit2e36bbddf9180c50e43bc4d3a23c9499dbbfa952 (patch)
tree3aa583d14cb382e450c8b03c852d014f4887afbf /cpp/src/slice2swift/Gen.cpp
parentReplace precondition(false) with fatalError (diff)
downloadice-2e36bbddf9180c50e43bc4d3a23c9499dbbfa952.tar.bz2
ice-2e36bbddf9180c50e43bc4d3a23c9499dbbfa952.tar.xz
ice-2e36bbddf9180c50e43bc4d3a23c9499dbbfa952.zip
Add :nodoc: to _TypeResolver classes
Diffstat (limited to 'cpp/src/slice2swift/Gen.cpp')
-rw-r--r--cpp/src/slice2swift/Gen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/slice2swift/Gen.cpp b/cpp/src/slice2swift/Gen.cpp
index 7ff72953c30..ceaacf73b9f 100644
--- a/cpp/src/slice2swift/Gen.cpp
+++ b/cpp/src/slice2swift/Gen.cpp
@@ -390,6 +390,7 @@ Gen::TypesVisitor::visitExceptionStart(const ExceptionPtr& p)
}
out << sp;
+ out << nl << "/// :nodoc:";
out << nl << "public class " << name << "_TypeResolver: "
<< getUnqualified("Ice.UserExceptionTypeResolver", swiftModule);
out << sb;
@@ -1330,6 +1331,7 @@ Gen::ValueVisitor::visitClassDefStart(const ClassDefPtr& p)
}
out << sp;
+ out << nl << "/// :nodoc:";
out << nl << "public class " << name << "_TypeResolver: " << getUnqualified("Ice.ValueTypeResolver", swiftModule);
out << sb;
out << nl << "public override func type() -> " << getUnqualified("Ice.Value.Type", swiftModule);
@@ -1551,7 +1553,6 @@ Gen::ObjectVisitor::visitClassDefStart(const ClassDefPtr& p)
const string servant = fixIdent(getUnqualified(getAbsolute(p), swiftModule) +
(p->isInterface() ? "" : "Operations"));
-
//
// Disp struct
//