clang-tools  7.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
clang::query::QuitQuery Struct Reference

Query for "quit". More...

#include <Query.h>

Inheritance diagram for clang::query::QuitQuery:
Inheritance graph
Collaboration diagram for clang::query::QuitQuery:
Collaboration graph

Public Member Functions

 QuitQuery ()
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

Query for "quit".

Definition at line 77 of file Query.h.

Constructor & Destructor Documentation

◆ QuitQuery()

clang::query::QuitQuery::QuitQuery ( )

Definition at line 78 of file Query.h.

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

Member Function Documentation

◆ classof()

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

Definition at line 81 of file Query.h.

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

◆ run()

bool clang::query::QuitQuery::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 53 of file Query.cpp.

References clang::query::QuerySession::Terminate.

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