clang-tools  9.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::query::Query Struct Referenceabstract

#include <Query.h>

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

Public Member Functions

 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. More...

Public Attributes

const QueryKind Kind

Detailed Description

Definition at line 38 of file Query.h.

Constructor & Destructor Documentation

◆ Query()

clang::query::Query::Query ( QueryKind  Kind)

Definition at line 39 of file Query.h.

References run(), and ~Query().

◆ ~Query()

clang::query::Query::~Query ( )

Definition at line 22 of file Query.cpp.

Referenced by Query().

Member Function Documentation

◆ run()

virtual bool clang::query::Query::run ( llvm::raw_ostream &  OS,
QuerySession QS 
) const
pure virtual

Member Data Documentation

◆ Kind

const QueryKind clang::query::Query::Kind

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