clang-tools  6.0.0svn
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
[legend]
Collaboration diagram for clang::query::NoOpQuery:
Collaboration graph
[legend]

Public Member Functions

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

Static Public Member Functions

static bool classof (const Query *Q)
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 61 of file Query.h.

Constructor & Destructor Documentation

◆ NoOpQuery()

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

Definition at line 62 of file Query.h.

References clang::query::Query::run().

Member Function Documentation

◆ classof()

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

Definition at line 65 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
overridevirtual

Perform the query on QS and print output to OS.

Returns
false if an error occurs, otherwise return true.

Implements clang::query::Query.

Definition at line 30 of file Query.cpp.


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