| 3920 | } |
| 3921 | |
| 3922 | bool Type::isDerivedFrom(const std::string & ancestor) const |
| 3923 | { |
| 3924 | for (auto parent=derivedFrom.cbegin(); parent!=derivedFrom.cend(); ++parent) { |
| 3925 | if (parent->name == ancestor) |
| 3926 | return true; |
| 3927 | if (parent->type && parent->type->isDerivedFrom(ancestor)) |
| 3928 | return true; |
| 3929 | } |
| 3930 | return false; |
| 3931 | } |
| 3932 | |
| 3933 | bool Variable::arrayDimensions(const Settings& settings, bool& isContainer) |
| 3934 | { |
no outgoing calls
no test coverage detected