diff options
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rwxr-xr-x | cpp/src/Slice/Parser.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp index 1ac81d36880..79a4241cf78 100755 --- a/cpp/src/Slice/Parser.cpp +++ b/cpp/src/Slice/Parser.cpp @@ -5797,29 +5797,6 @@ Slice::Unit::findUsedBy(const ContainedPtr& contained) const } bool -Slice::Unit::usesProxies() const -{ - for(map<string, ContainedList>::const_iterator p = _contentMap.begin(); p != _contentMap.end(); ++p) - { - for(ContainedList::const_iterator q = p->second.begin(); q != p->second.end(); ++q) - { - ClassDeclPtr decl = ClassDeclPtr::dynamicCast(*q); - if(decl && !decl->isLocal()) - { - return true; - } - } - } - - if(_builtins.find(Builtin::KindObjectProxy) != _builtins.end()) - { - return true; - } - - return false; -} - -bool Slice::Unit::usesNonLocals() const { for(map<string, ContainedList>::const_iterator p = _contentMap.begin(); p != _contentMap.end(); ++p) |