LLVM 22.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::DiagnosticPredicate Struct Reference

#include "llvm/MC/MCParser/MCTargetAsmParser.h"

Public Types

enum  PredicateTy { Match , NearMatch , NoMatch }
 

Public Member Functions

constexpr DiagnosticPredicate (PredicateTy T)
 
constexpr DiagnosticPredicate (bool Matches)
 
 operator bool () const
 
constexpr bool isMatch () const
 
constexpr bool isNearMatch () const
 
constexpr bool isNoMatch () const
 

Public Attributes

enum llvm::DiagnosticPredicate::PredicateTy Predicate
 

Detailed Description

Definition at line 182 of file MCTargetAsmParser.h.

Member Enumeration Documentation

◆ PredicateTy

Enumerator
Match 
NearMatch 
NoMatch 

Definition at line 183 of file MCTargetAsmParser.h.

Constructor & Destructor Documentation

◆ DiagnosticPredicate() [1/2]

constexpr llvm::DiagnosticPredicate::DiagnosticPredicate ( PredicateTy  T)
inlineconstexpr

Definition at line 189 of file MCTargetAsmParser.h.

◆ DiagnosticPredicate() [2/2]

constexpr llvm::DiagnosticPredicate::DiagnosticPredicate ( bool  Matches)
inlineexplicitconstexpr

Definition at line 191 of file MCTargetAsmParser.h.

Member Function Documentation

◆ isMatch()

constexpr bool llvm::DiagnosticPredicate::isMatch ( ) const
inlineconstexpr

Definition at line 196 of file MCTargetAsmParser.h.

References Match.

◆ isNearMatch()

constexpr bool llvm::DiagnosticPredicate::isNearMatch ( ) const
inlineconstexpr

Definition at line 197 of file MCTargetAsmParser.h.

References NearMatch.

◆ isNoMatch()

constexpr bool llvm::DiagnosticPredicate::isNoMatch ( ) const
inlineconstexpr

Definition at line 198 of file MCTargetAsmParser.h.

References NoMatch.

◆ operator bool()

llvm::DiagnosticPredicate::operator bool ( ) const
inlineexplicit

Definition at line 194 of file MCTargetAsmParser.h.

References Match.

Member Data Documentation

◆ Predicate

enum llvm::DiagnosticPredicate::PredicateTy llvm::DiagnosticPredicate::Predicate

The documentation for this struct was generated from the following file: