LLVM 22.0.0git
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]

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

Definition at line 189 of file MCTargetAsmParser.h.

References Predicate, and T.

◆ DiagnosticPredicate() [2/2]

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

Definition at line 191 of file MCTargetAsmParser.h.

References Match, NearMatch, and Predicate.

Member Function Documentation

◆ isMatch()

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

Definition at line 196 of file MCTargetAsmParser.h.

References Match, and Predicate.

◆ isNearMatch()

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

Definition at line 197 of file MCTargetAsmParser.h.

References NearMatch, and Predicate.

◆ isNoMatch()

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

Definition at line 198 of file MCTargetAsmParser.h.

References NoMatch, and Predicate.

◆ operator bool()

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

Definition at line 194 of file MCTargetAsmParser.h.

References Match, and Predicate.

Member Data Documentation

◆ Predicate


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