summaryrefslogtreecommitdiffstats
path: root/unittests/ASTMatchers/Dynamic
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2016-02-01 14:11:47 +0000
committerAaron Ballman <aaron@aaronballman.com>2016-02-01 14:11:47 +0000
commit31c95759cb46dbff448da69f95a1a4ea4471d52c (patch)
treeb8d2fa160a82cd4e3b714da2beb694dfe07f1077 /unittests/ASTMatchers/Dynamic
parente4ebe1b3dbc16a911d865ef012a7d8ca38fc80cd (diff)
Reapply r259210 with a fix for RegistryTest.cpp.
Patch by Richard Thomson. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259359 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ASTMatchers/Dynamic')
-rw-r--r--unittests/ASTMatchers/Dynamic/RegistryTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ASTMatchers/Dynamic/RegistryTest.cpp b/unittests/ASTMatchers/Dynamic/RegistryTest.cpp
index a1b6a93456..3b0bd51ec9 100644
--- a/unittests/ASTMatchers/Dynamic/RegistryTest.cpp
+++ b/unittests/ASTMatchers/Dynamic/RegistryTest.cpp
@@ -421,7 +421,7 @@ TEST_F(RegistryTest, Errors) {
constructMatcher("parameterCountIs", 3), Error.get())
.isNull());
EXPECT_EQ("Incorrect type for arg 2. (Expected = Matcher<CXXRecordDecl>) != "
- "(Actual = Matcher<FunctionDecl>)",
+ "(Actual = Matcher<FunctionDecl|FunctionProtoType>)",
Error->toString());
// Bad argument type with variadic.