clang-tools 19.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::query::NoOpQuery Struct Reference

No-op query (i.e. a blank line). More...

#include <Query.h>

Inheritance diagram for clang::query::NoOpQuery:
Inheritance graph

Public Member Functions

 NoOpQuery ()
bool run (llvm::raw_ostream &OS, QuerySession &QS) const override
 Perform the query on QS and print output to OS.
- Public Member Functions inherited from clang::query::Query
 Query (QueryKind Kind)
virtual ~Query ()
virtual bool run (llvm::raw_ostream &OS, QuerySession &QS) const =0
 Perform the query on QS and print output to OS.

Static Public Member Functions

static bool classof (const Query *Q)

Additional Inherited Members

- Public Attributes inherited from clang::query::Query
StringRef RemainingContent
const QueryKind Kind

Detailed Description

No-op query (i.e. a blank line).

Definition at line 65 of file Query.h.

Constructor & Destructor Documentation

◆ NoOpQuery()

clang::query::NoOpQuery::NoOpQuery ( )

Definition at line 66 of file Query.h.

Member Function Documentation

◆ classof()

static bool clang::query::NoOpQuery::classof ( const Query Q)

Definition at line 69 of file Query.h.

References clang::query::Query::Kind, and clang::query::QK_NoOp.

◆ run()

bool clang::query::NoOpQuery::run ( llvm::raw_ostream &  OS,
QuerySession QS 
) const

Perform the query on QS and print output to OS.

false if an error occurs, otherwise return true.

Implements clang::query::Query.

Definition at line 32 of file Query.cpp.

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