MLIR  19.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mlir::query::InvalidQuery Struct Reference

#include "mlir/Query/Query.h"

+ Inheritance diagram for mlir::query::InvalidQuery:

Public Member Functions

 InvalidQuery (const llvm::Twine &errStr)
llvm::LogicalResult run (llvm::raw_ostream &os, QuerySession &qs) const override
- Public Member Functions inherited from mlir::query::Query
 Query (QueryKind kind)
virtual ~Query ()

Static Public Member Functions

static bool classof (const Query *query)

Public Attributes

std::string errStr
- Public Attributes inherited from mlir::query::Query
llvm::StringRef remainingContent
const QueryKind kind

Detailed Description

Definition at line 44 of file Query.h.

Constructor & Destructor Documentation

◆ InvalidQuery()

mlir::query::InvalidQuery::InvalidQuery ( const llvm::Twine &  errStr)

Definition at line 45 of file Query.h.

References mlir::query::Invalid.

Member Function Documentation

◆ classof()

static bool mlir::query::InvalidQuery::classof ( const Query query)

Definition at line 52 of file Query.h.

References mlir::query::Invalid, and mlir::query::Query::kind.

◆ run()

LogicalResult mlir::query::InvalidQuery::run ( llvm::raw_ostream &  os,
QuerySession qs 
) const

Implements mlir::query::Query.

Definition at line 104 of file Query.cpp.

References errStr.

Member Data Documentation

◆ errStr

std::string mlir::query::InvalidQuery::errStr

Definition at line 50 of file Query.h.

Referenced by run().

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