summaryrefslogtreecommitdiff
path: root/cpp/src/slice2swift/Gen.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-05-30 11:37:43 +0200
committerJose <jose@zeroc.com>2019-05-30 11:37:43 +0200
commit79a165ee6240c27ef75fdb72a94db9356728befa (patch)
tree4ea180bf5ba4d236afdefa72af76e48f0c287d7d /cpp/src/slice2swift/Gen.cpp
parentFix logger initialization (diff)
downloadice-79a165ee6240c27ef75fdb72a94db9356728befa.tar.bz2
ice-79a165ee6240c27ef75fdb72a94db9356728befa.tar.xz
ice-79a165ee6240c27ef75fdb72a94db9356728befa.zip
Swif doc comment fixes
Diffstat (limited to 'cpp/src/slice2swift/Gen.cpp')
-rw-r--r--cpp/src/slice2swift/Gen.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/cpp/src/slice2swift/Gen.cpp b/cpp/src/slice2swift/Gen.cpp
index 77960e9dba2..b972a44e3e2 100644
--- a/cpp/src/slice2swift/Gen.cpp
+++ b/cpp/src/slice2swift/Gen.cpp
@@ -1116,10 +1116,6 @@ Gen::ProxyVisitor::visitClassDefStart(const ClassDefPtr& p)
out << eb;
out << sp;
- out << nl << "/// Returns the Slice type id of the interface or class associated with this proxy class.";
- out << nl << "///";
- out << nl << "/// - returns: `String` the Slice type id of the interface or class associated with";
- out << nl << "/// this proxy type";
out << nl;
if(swiftModule == "Ice")
{
@@ -1675,9 +1671,9 @@ Gen::ObjectExtVisitor::visitClassDefStart(const ClassDefPtr& p)
out << sp;
out << nl << "/// Returns the Slice type IDs of the interfaces supported by this object";
out << nl << "///";
- out << nl << "/// - parameter current: `Ice.Current` The Current object for the invocation.";
+ out << nl << "/// - parameter current: `Ice.Current` - The Current object for the invocation.";
out << nl << "///";
- out << nl << "/// - returns: `[Swift.String]` The Slice type IDs of the interfaces supported by this object,";
+ out << nl << "/// - returns: `[Swift.String]` - The Slice type IDs of the interfaces supported by this object,";
out << nl << "/// in base-to-derived order.";
out << nl << "func ice_ids(current _: Current) throws -> [Swift.String]";
out << sb;
@@ -1687,7 +1683,7 @@ Gen::ObjectExtVisitor::visitClassDefStart(const ClassDefPtr& p)
out << sp;
out << nl << "/// Tests whether this object supports a specific Slice interface.";
out << nl << "///";
- out << nl << "/// - parameter s: `Swift.String` - The name of the interface to be check.";
+ out << nl << "/// - parameter s: `String` - The name of the interface to be check.";
out << nl << "///";
out << nl << "/// - parameter current: `Ice.Current` - The Current object for the invocation.";
out << nl << "///";