Searched defs:DiagnosticPredicate (Results 1 – 1 of 1) sorted by relevance
182 struct DiagnosticPredicate { struct189 constexpr DiagnosticPredicate(PredicateTy T) : Predicate(T) {} in DiagnosticPredicate() argument191 explicit constexpr DiagnosticPredicate(bool Matches) in DiagnosticPredicate() function196 constexpr bool isMatch() const { return Predicate == Match; } in isMatch()197 constexpr bool isNearMatch() const { return Predicate == NearMatch; } in isNearMatch()198 constexpr bool isNoMatch() const { return Predicate == NoMatch; } in isNoMatch()