Searched defs:DiagnosticPredicate (Results 1 – 1 of 1) sorted by relevance
160 struct DiagnosticPredicate { struct161 DiagnosticPredicateTy Type; argument163 explicit DiagnosticPredicate(bool Match) in DiagnosticPredicate() argument166 DiagnosticPredicate(DiagnosticPredicateTy T) : Type(T) {} in DiagnosticPredicate() function168 DiagnosticPredicate& operator=(const DiagnosticPredicate &) = default; argument171 bool isMatch() const { return Type == DiagnosticPredicateTy::Match; } in isMatch() argument172 bool isNearMatch() const { return Type == DiagnosticPredicateTy::NearMatch; } in isNearMatch() argument173 bool isNoMatch() const { return Type == DiagnosticPredicateTy::NoMatch; } in isNoMatch() argument