Home
last modified time | relevance | path

Searched defs:DiagnosticPredicate (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCTargetAsmParser.h202 struct DiagnosticPredicate { struct
203 DiagnosticPredicateTy Type; argument
205 explicit DiagnosticPredicate(bool Match) in DiagnosticPredicate() argument
208 DiagnosticPredicate(DiagnosticPredicateTy T) : Type(T) {} in DiagnosticPredicate() function
210 DiagnosticPredicate& operator=(const DiagnosticPredicate &) = default; argument
213 bool isMatch() const { return Type == DiagnosticPredicateTy::Match; } in isMatch() argument
214 bool isNearMatch() const { return Type == DiagnosticPredicateTy::NearMatch; } in isNearMatch() argument
215 bool isNoMatch() const { return Type == DiagnosticPredicateTy::NoMatch; } in isNoMatch() argument