Searched defs:DiagnosticPredicate (Results 1 – 1 of 1) sorted by relevance
159 struct DiagnosticPredicate { struct160 DiagnosticPredicateTy Type; argument162 explicit DiagnosticPredicate(bool Match) in DiagnosticPredicate() function165 DiagnosticPredicate(DiagnosticPredicateTy T) : Type(T) {} in DiagnosticPredicate() function167 DiagnosticPredicate& operator=(const DiagnosticPredicate &) = default; argument170 bool isMatch() const { return Type == DiagnosticPredicateTy::Match; } in isMatch() argument171 bool isNearMatch() const { return Type == DiagnosticPredicateTy::NearMatch; } in isNearMatch() argument172 bool isNoMatch() const { return Type == DiagnosticPredicateTy::NoMatch; } in isNoMatch() argument