diff options
author | Joe George <joe@zeroc.com> | 2019-05-07 10:51:58 -0400 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2019-05-07 11:12:17 -0400 |
commit | 0199db0b81df4a37fe63069a9fc75e13d880e967 (patch) | |
tree | 48901929000d768d85f0eb350c60e99e962e4d38 /cpp/src/slice2cpp | |
parent | Regenerate Xcode projects (diff) | |
download | ice-0199db0b81df4a37fe63069a9fc75e13d880e967.tar.bz2 ice-0199db0b81df4a37fe63069a9fc75e13d880e967.tar.xz ice-0199db0b81df4a37fe63069a9fc75e13d880e967.zip |
Dispatch queue updates
- Remove dispatch queues from Swift APIs
- Create dispatch queue in C++ thread pool (ICE_SWIFT only)
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 6315c900650..afb8f2976c7 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -5686,6 +5686,13 @@ Slice::Gen::MetaDataVisitor::validate(const SyntaxTreeBasePtr& cont, const Strin } } + if(BuiltinPtr::dynamicCast(cont) && + BuiltinPtr::dynamicCast(cont)->kind() == Builtin::KindLocalObject && + ss.find("type:") == 0) + { + continue; + } + dc->warning(InvalidMetaData, file, line, "ignoring invalid metadata `" + s + "'"); newMetaData.remove(s); continue; |