Searched defs:DiagnosticPredicate (Results 1 – 1 of 1) sorted by relevance
165 struct DiagnosticPredicate { struct166 DiagnosticPredicateTy Type; argument168 explicit DiagnosticPredicate(bool Match) in DiagnosticPredicate() function171 DiagnosticPredicate(DiagnosticPredicateTy T) : Type(T) {} in DiagnosticPredicate() argument173 DiagnosticPredicate& operator=(const DiagnosticPredicate &) = default; argument176 bool isMatch() const { return Type == DiagnosticPredicateTy::Match; } in isMatch() argument177 bool isNearMatch() const { return Type == DiagnosticPredicateTy::NearMatch; } in isNearMatch() argument178 bool isNoMatch() const { return Type == DiagnosticPredicateTy::NoMatch; } in isNoMatch() argument