17 #ifndef LLVM_CLANG_ASTMATCHERS_DYNAMIC_REGISTRY_H 18 #define LLVM_CLANG_ASTMATCHERS_DYNAMIC_REGISTRY_H 22 #include "llvm/ADT/ArrayRef.h" 23 #include "llvm/ADT/Optional.h" 24 #include "llvm/ADT/StringRef.h" 45 : TypedText(TypedText), MatcherDecl(MatcherDecl),
46 Specificity(Specificity) {}
84 static std::vector<ArgKind> getAcceptedCompletionTypes(
96 static std::vector<MatcherCompletion>
136 #endif // LLVM_CLANG_AST_MATCHERS_DYNAMIC_REGISTRY_H
Matcher descriptor interface.
std::string MatcherDecl
The "declaration" of the matcher, with type information.
Diagnostics class to manage error messages.
bool operator==(const MatcherCompletion &Other) const
Helper class to manage error messages.
unsigned Specificity
Value corresponding to the "specificity" of the converted matcher.
std::string TypedText
The text to type to select this matcher.
Dataflow Directional Tag Classes.
MatcherCompletion(StringRef TypedText, StringRef MatcherDecl, unsigned Specificity)
A variant matcher object.