Searched defs:DiagnosticPredicate (Results 1 – 1 of 1) sorted by relevance
202 struct DiagnosticPredicate { struct203 DiagnosticPredicateTy Type; argument205 explicit DiagnosticPredicate(bool Match) in DiagnosticPredicate() argument208 DiagnosticPredicate(DiagnosticPredicateTy T) : Type(T) {} in DiagnosticPredicate() function210 DiagnosticPredicate& operator=(const DiagnosticPredicate &) = default; argument213 bool isMatch() const { return Type == DiagnosticPredicateTy::Match; } in isMatch() argument214 bool isNearMatch() const { return Type == DiagnosticPredicateTy::NearMatch; } in isNearMatch() argument215 bool isNoMatch() const { return Type == DiagnosticPredicateTy::NoMatch; } in isNoMatch() argument