MLIR  20.0.0git
Static Public Member Functions | List of all members
mlir::query::matcher::internal::ArgTypeTraits< llvm::StringRef > Struct Reference

#include "mlir/Query/Matcher/Marshallers.h"

Static Public Member Functions

static bool hasCorrectType (const VariantValue &value)
 
static const llvm::StringRef & get (const VariantValue &value)
 
static ArgKind getKind ()
 
static std::optional< std::string > getBestGuess (const VariantValue &)
 

Detailed Description

Definition at line 36 of file Marshallers.h.

Member Function Documentation

◆ get()

static const llvm::StringRef& mlir::query::matcher::internal::ArgTypeTraits< llvm::StringRef >::get ( const VariantValue value)
inlinestatic

Definition at line 42 of file Marshallers.h.

References mlir::query::matcher::VariantValue::getString().

◆ getBestGuess()

static std::optional<std::string> mlir::query::matcher::internal::ArgTypeTraits< llvm::StringRef >::getBestGuess ( const VariantValue )
inlinestatic

Definition at line 48 of file Marshallers.h.

◆ getKind()

static ArgKind mlir::query::matcher::internal::ArgTypeTraits< llvm::StringRef >::getKind ( )
inlinestatic

Definition at line 46 of file Marshallers.h.

References mlir::query::matcher::String.

◆ hasCorrectType()

static bool mlir::query::matcher::internal::ArgTypeTraits< llvm::StringRef >::hasCorrectType ( const VariantValue value)
inlinestatic

Definition at line 38 of file Marshallers.h.

References mlir::query::matcher::VariantValue::isString().


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