LLVM 22.0.0git
llvm::Pattern::MatchResult Struct Reference

#include "FileCheck/FileCheckImpl.h"

Public Member Functions

 MatchResult (size_t MatchPos, size_t MatchLen, Error E)
 MatchResult (Match M, Error E)
 MatchResult (Error E)

Public Attributes

std::optional< MatchTheMatch
Error TheError

Detailed Description

Definition at line 713 of file FileCheckImpl.h.

Constructor & Destructor Documentation

◆ MatchResult() [1/3]

llvm::Pattern::MatchResult::MatchResult ( size_t MatchPos,
size_t MatchLen,
Error E )
inline

Definition at line 716 of file FileCheckImpl.h.

References E(), llvm::move(), TheError, and TheMatch.

◆ MatchResult() [2/3]

llvm::Pattern::MatchResult::MatchResult ( Match M,
Error E )
inline

Definition at line 718 of file FileCheckImpl.h.

References E(), llvm::move(), TheError, and TheMatch.

◆ MatchResult() [3/3]

llvm::Pattern::MatchResult::MatchResult ( Error E)
inline

Definition at line 719 of file FileCheckImpl.h.

References E(), llvm::move(), and TheError.

Member Data Documentation

◆ TheError

Error llvm::Pattern::MatchResult::TheError

◆ TheMatch

std::optional<Match> llvm::Pattern::MatchResult::TheMatch

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