LLVM 24.0.0git
llvm::PatternMatchHelpers::match_unless< Ty > Struct Template Reference

Inverting matcher that matches a value not matching P. More...

#include "llvm/Support/PatternMatchHelpers.h"

Public Member Functions

 match_unless (const Ty &P)
template<typename ITy>
bool match (ITy *V) const

Public Attributes

Ty P

Detailed Description

template<typename Ty>
struct llvm::PatternMatchHelpers::match_unless< Ty >

Inverting matcher that matches a value not matching P.

Definition at line 105 of file PatternMatchHelpers.h.

Constructor & Destructor Documentation

◆ match_unless()

template<typename Ty>
llvm::PatternMatchHelpers::match_unless< Ty >::match_unless ( const Ty & P)
inline

Definition at line 107 of file PatternMatchHelpers.h.

References P.

Member Function Documentation

◆ match()

template<typename Ty>
template<typename ITy>
bool llvm::PatternMatchHelpers::match_unless< Ty >::match ( ITy * V) const
inline

Definition at line 108 of file PatternMatchHelpers.h.

References P.

Member Data Documentation

◆ P

template<typename Ty>
Ty llvm::PatternMatchHelpers::match_unless< Ty >::P

Definition at line 106 of file PatternMatchHelpers.h.

Referenced by match(), and match_unless().


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