diff options
author | Jose <jose@zeroc.com> | 2019-03-09 21:13:01 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-03-09 21:13:01 +0100 |
commit | 32047cdd87984b54e1ac80b161e288f32f93d51a (patch) | |
tree | b6089bbd57e900188e069330187e67da7face46a /cpp/src/slice2swift/SwiftUtil.cpp | |
parent | Value marshalling fixes (diff) | |
download | ice-32047cdd87984b54e1ac80b161e288f32f93d51a.tar.bz2 ice-32047cdd87984b54e1ac80b161e288f32f93d51a.tar.xz ice-32047cdd87984b54e1ac80b161e288f32f93d51a.zip |
Swift class resolver updates
Diffstat (limited to 'cpp/src/slice2swift/SwiftUtil.cpp')
-rw-r--r-- | cpp/src/slice2swift/SwiftUtil.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/slice2swift/SwiftUtil.cpp b/cpp/src/slice2swift/SwiftUtil.cpp index 1fe9ccf7fe0..5c3bcac9013 100644 --- a/cpp/src/slice2swift/SwiftUtil.cpp +++ b/cpp/src/slice2swift/SwiftUtil.cpp @@ -62,11 +62,13 @@ replace(string s, string patt, string val) return r; } +} + // // Split a scoped name into its components and return the components as a list of (unscoped) identifiers. // -static StringList -splitScopedName(const string& scoped) +StringList +Slice::splitScopedName(const string& scoped) { assert(scoped[0] == ':'); StringList ids; @@ -97,8 +99,6 @@ splitScopedName(const string& scoped) return ids; } -} - // // Check the given identifier against Swift's list of reserved words. If it matches // a reserved word, then an escaped version is returned with a leading underscore. |