Lines Matching defs:matcher
268 // Returns a matcher that matches any expression 'e' such that `innerMatcher`
285 // Returns a matcher that matches any expression `e` such that `InnerMatcher`
315 // A matcher that matches pointer subtractions:
319 // pointer. Then the inner matcher can match any of
333 // Returns a matcher that matches any expression 'e' such that `innerMatcher`
786 // This matcher requires that it is known that the callee `isNormalPrintf`.
787 // Then if the format string is a string literal, this matcher matches when at
789 // this matcher matches when at least one pointer type argument is unsafe.
856 // This matcher requires that it is known that the callee `isNormalPrintf`.
971 /// Useful for implementing the static matcher() methods
1071 static Matcher matcher() {
1111 static Matcher matcher() {
1150 static Matcher matcher() {
1201 static Matcher matcher() {
1250 static Matcher matcher() {
1260 static Matcher matcher(const UnsafeBufferUsageHandler *Handler) {
1261 return stmt(unless(ignoreUnsafeBufferInContainer(Handler)), matcher());
1303 static Matcher matcher() {
1351 static Matcher matcher() {
1400 static Matcher matcher() {
1442 static Matcher matcher() {
1479 static Matcher matcher() {
1483 auto HasTwoParamSpanCtorDecl = SpanTwoParamConstructorGadget::matcher();
1516 static Matcher matcher() {
1579 static Matcher matcher(const UnsafeBufferUsageHandler *Handler) {
1649 static Matcher matcher() {
1691 static Matcher matcher() {
1724 static Matcher matcher() {
1765 static Matcher matcher() {
1872 static Matcher matcher() {
1875 // can have the matcher be general, so long as `getClaimedVarUseSites` does
1915 static Matcher matcher() {
1959 static Matcher matcher() {
2023 // Figure out which matcher we've found, and call the appropriate
2055 // Add Gadget::matcher() for every gadget in the registry.
2057 allOf(x ## Gadget::matcher().bind(#x), \
2060 allOf(x ## Gadget::matcher(&Handler).bind(#x), \
2077 x ## Gadget::matcher().bind(#x),