| 44 | } |
| 45 | |
| 46 | void StringDetection(const string &str_1, const string &str_2, const string &name_str_1, const string &name_str_2) { |
| 47 | if (str_1.empty() || str_2.empty()) { |
| 48 | return; |
| 49 | } |
| 50 | if (str_2.find(str_1) != string::npos) { |
| 51 | throw BinderException("%s must not appear in the %s specification and vice versa", name_str_1, name_str_2); |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | //===--------------------------------------------------------------------===// |
| 56 | // Bind |
no test coverage detected