#include "Query.h"
#include "QueryParser.h"
#include "QuerySession.h"
#include "clang/AST/ASTDumper.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Frontend/ASTUnit.h"
#include "clang/Frontend/TextDiagnostic.h"
#include "llvm/Support/raw_ostream.h"
#include <optional>
usingnamespaceclang::ast_matchers;
usingnamespaceclang::ast_matchers::dynamic;
namespace clang {
namespace query {
Query::~Query() { … }
bool InvalidQuery::run(llvm::raw_ostream &OS, QuerySession &QS) const { … }
bool NoOpQuery::run(llvm::raw_ostream &OS, QuerySession &QS) const { … }
bool HelpQuery::run(llvm::raw_ostream &OS, QuerySession &QS) const { … }
bool QuitQuery::run(llvm::raw_ostream &OS, QuerySession &QS) const { … }
namespace {
struct CollectBoundNodes : MatchFinder::MatchCallback { … };
}
bool MatchQuery::run(llvm::raw_ostream &OS, QuerySession &QS) const { … }
bool LetQuery::run(llvm::raw_ostream &OS, QuerySession &QS) const { … }
#ifndef _MSC_VER
const QueryKind SetQueryKind<bool>::value;
const QueryKind SetQueryKind<OutputKind>::value;
#endif
bool FileQuery::run(llvm::raw_ostream &OS, QuerySession &QS) const { … }
}
}