LLVM 19.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 80 of file FileCheck.h.

Constructor & Destructor Documentation

◆ FileCheckType() [1/2]

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

Definition at line 87 of file FileCheck.h.

◆ FileCheckType() [2/2]

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

Member Function Documentation

◆ getCount()

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

Definition at line 93 of file FileCheck.h.

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

◆ getDescription()

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

◆ getModifiersDescription()

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

Definition at line 1482 of file FileCheck.cpp.

References OS.

◆ isLiteralMatch()

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

Definition at line 96 of file FileCheck.h.

References llvm::Check::ModifierLiteral.

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

◆ operator FileCheckKind()

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

Definition at line 91 of file FileCheck.h.

◆ operator=()

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

◆ setCount()

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

Definition at line 1474 of file FileCheck.cpp.

References assert(), llvm::CallingConv::C, and llvm::Check::CheckPlain.

◆ setLiteralMatch()

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

Definition at line 99 of file FileCheck.h.

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

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