| 1085 | } |
| 1086 | |
| 1087 | const Enumerator * findEnumerator(const std::string & name) const { |
| 1088 | auto it = std::find_if(enumeratorList.cbegin(), enumeratorList.cend(), [&](const Enumerator& i) { |
| 1089 | return i.name->str() == name; |
| 1090 | }); |
| 1091 | return it == enumeratorList.end() ? nullptr : &*it; |
| 1092 | } |
| 1093 | |
| 1094 | bool isNestedIn(const Scope * outer) const { |
| 1095 | if (!outer) |
no test coverage detected