From: Daniel Jasper Date: Sun, 15 Jul 2012 19:57:12 +0000 (+0000) Subject: Fix spelling of anyOf matcher and add missing test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff2fcb8db242a54f72bbb4e5595261e12672ed66;p=clang Fix spelling of anyOf matcher and add missing test. Patch by Sam Panzer! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160233 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/ASTMatchers/ASTMatchers.h b/include/clang/ASTMatchers/ASTMatchers.h index 195225d09b..fceea21171 100644 --- a/include/clang/ASTMatchers/ASTMatchers.h +++ b/include/clang/ASTMatchers/ASTMatchers.h @@ -702,7 +702,7 @@ internal::PolymorphicMatcherWithParam2 > > anyOf(const C1 &P1, const C2 &P2, const C3 &P3, const C4 &P4) { - return AnyOf(P1, AnyOf(P2, AnyOf(P3, P4))); + return anyOf(P1, anyOf(P2, anyOf(P3, P4))); } template internal::PolymorphicMatcherWithParam2