clang 22.0.0git
|
#include "clang/AST/ASTTypeTraits.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/Error.h"
Go to the source code of this file.
Classes | |
class | clang::transformer::MatchComputation< T > |
A failable computation over nodes bound by AST matchers, with (limited) reflection via the toString method. More... |
Namespaces | |
namespace | clang |
The JSON file list parser is used to communicate input to InstallAPI. | |
namespace | clang::transformer |
Typedefs | |
template<typename T> | |
using | clang::transformer::MatchConsumer |
A failable computation over nodes bound by AST matchers. |
Functions | |
llvm::Error | clang::transformer::notBoundError (llvm::StringRef Id) |
Creates an error that signals that a MatchConsumer expected a certain node to be bound by AST matchers, but it was not actually bound. | |
template<typename T> | |
MatchConsumer< T > | clang::transformer::ifBound (std::string ID, MatchConsumer< T > TrueC, MatchConsumer< T > FalseC) |
Chooses between the two consumers, based on whether ID is bound in the match. |