clang-tools  6.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
[legend]
Collaboration diagram for clang::query::Query:
Collaboration graph
[legend]

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 36 of file Query.h.

Constructor & Destructor Documentation

◆ Query()

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

Definition at line 37 of file Query.h.

References run(), and ~Query().

◆ ~Query()

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

Definition at line 23 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: