clang API Documentation
Registry map populated at static initialization time. More...
#include "clang/ASTMatchers/Dynamic/Registry.h"
#include "Marshallers.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/ManagedStatic.h"
#include <set>
#include <utility>
Go to the source code of this file.
Namespaces | |
namespace | clang |
namespace | clang::ast_matchers |
namespace | clang::ast_matchers::dynamic |
Defines | |
#define | REGISTER_MATCHER(name) |
#define | SPECIFIC_MATCHER_OVERLOAD(name, Id) |
#define | REGISTER_OVERLOADED_2(name) |
Registry map populated at static initialization time.
Definition in file Registry.cpp.
#define REGISTER_MATCHER | ( | name | ) |
registerMatcher(#name, internal::makeMatcherAutoMarshall( \ ::clang::ast_matchers::name, #name));
Definition at line 52 of file Registry.cpp.
#define REGISTER_OVERLOADED_2 | ( | name | ) |
do { \ MatcherDescriptor *Callbacks[] = { \ internal::makeMatcherAutoMarshall(SPECIFIC_MATCHER_OVERLOAD(name, 0), \ #name), \ internal::makeMatcherAutoMarshall(SPECIFIC_MATCHER_OVERLOAD(name, 1), \ #name) \ }; \ registerMatcher(#name, \ new internal::OverloadedMatcherDescriptor(Callbacks)); \ } while (0)
Definition at line 60 of file Registry.cpp.
#define SPECIFIC_MATCHER_OVERLOAD | ( | name, | |
Id | |||
) |
static_cast< ::clang::ast_matchers::name##_Type##Id>( \ ::clang::ast_matchers::name)
Definition at line 56 of file Registry.cpp.
ConstructorMap Constructors |
Definition at line 43 of file Registry.cpp.