struct MatcherCompletion

Declaration

struct MatcherCompletion { /* full declaration omitted */ };

Declared at: clang/include/clang/ASTMatchers/Dynamic/Registry.h:57

Member Variables

public std::string TypedText
The text to type to select this matcher.
public std::string MatcherDecl
The "declaration" of the matcher, with type information.
public unsigned int Specificity
Zero specificity indicates that this conversion would produce a trivial matcher that will either always or never match. Such matchers are excluded from code completion results.

Method Overview

Methods

MatcherCompletion()

Declared at: clang/include/clang/ASTMatchers/Dynamic/Registry.h:58

MatcherCompletion(llvm::StringRef TypedText,
                  llvm::StringRef MatcherDecl,
                  unsigned int Specificity)

Declared at: clang/include/clang/ASTMatchers/Dynamic/Registry.h:59

Parameters

llvm::StringRef TypedText
llvm::StringRef MatcherDecl
unsigned int Specificity