16 #ifndef LLVM_CLANG_ASTMATCHERS_DYNAMIC_REGISTRY_H 17 #define LLVM_CLANG_ASTMATCHERS_DYNAMIC_REGISTRY_H 21 #include "llvm/ADT/ArrayRef.h" 22 #include "llvm/ADT/Optional.h" 23 #include "llvm/ADT/StringRef.h" 44 : TypedText(TypedText), MatcherDecl(MatcherDecl),
45 Specificity(Specificity) {}
83 static std::vector<ArgKind> getAcceptedCompletionTypes(
95 static std::vector<MatcherCompletion>
135 #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.