LLVM  13.0.0git
Public Member Functions | List of all members
llvm::Check::FileCheckType Class Reference

#include "llvm/FileCheck/FileCheck.h"

Public Member Functions

 FileCheckType (FileCheckKind Kind=CheckNone)
 
 FileCheckType (const FileCheckType &)=default
 
FileCheckTypeoperator= (const FileCheckType &)=default
 
 operator FileCheckKind () const
 
int getCount () const
 
FileCheckTypesetCount (int C)
 
bool isLiteralMatch () const
 
FileCheckTypesetLiteralMatch (bool Literal=true)
 
std::string getDescription (StringRef Prefix) const
 
std::string getModifiersDescription () const
 

Detailed Description

Definition at line 76 of file FileCheck.h.

Constructor & Destructor Documentation

◆ FileCheckType() [1/2]

llvm::Check::FileCheckType::FileCheckType ( FileCheckKind  Kind = CheckNone)
inline

Definition at line 83 of file FileCheck.h.

◆ FileCheckType() [2/2]

llvm::Check::FileCheckType::FileCheckType ( const FileCheckType )
default

Member Function Documentation

◆ getCount()

int llvm::Check::FileCheckType::getCount ( ) const
inline

Definition at line 90 of file FileCheck.h.

Referenced by llvm::Pattern::getCount().

◆ getDescription()

std::string llvm::Check::FileCheckType::getDescription ( StringRef  Prefix) const

◆ getModifiersDescription()

std::string llvm::Check::FileCheckType::getModifiersDescription ( ) const

◆ isLiteralMatch()

bool llvm::Check::FileCheckType::isLiteralMatch ( ) const
inline

Definition at line 93 of file FileCheck.h.

References llvm::Check::ModifierLiteral.

Referenced by llvm::Pattern::parsePattern().

◆ operator FileCheckKind()

llvm::Check::FileCheckType::operator FileCheckKind ( ) const
inline

Definition at line 88 of file FileCheck.h.

◆ operator=()

FileCheckType& llvm::Check::FileCheckType::operator= ( const FileCheckType )
default

◆ setCount()

FileCheckType& llvm::Check::FileCheckType::setCount ( int  C)

◆ setLiteralMatch()

FileCheckType& llvm::Check::FileCheckType::setLiteralMatch ( bool  Literal = true)
inline

Definition at line 96 of file FileCheck.h.

References llvm::Literal, and llvm::Check::ModifierLiteral.


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