diff options
| author | 2017-01-14 19:55:43 +0000 | |
|---|---|---|
| committer | 2017-01-14 19:55:43 +0000 | |
| commit | bd3306aecb3a15e8967143b8cdbbccf2b1b19b74 (patch) | |
| tree | 309a8132b44564b9e634c0da6815187ce8eab27c /gnu/llvm/tools/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp | |
| parent | killp -a should not kill the window if only one pane. (diff) | |
| download | wireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.tar.xz wireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.zip | |
Import LLVM 3.9.1 including clang and lld.
Diffstat (limited to 'gnu/llvm/tools/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp')
| -rw-r--r-- | gnu/llvm/tools/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/llvm/tools/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp b/gnu/llvm/tools/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp index 0de6242a67b..553427c9a40 100644 --- a/gnu/llvm/tools/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp +++ b/gnu/llvm/tools/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp @@ -263,7 +263,7 @@ TEST(ParserTest, Errors) { "1:1: Matcher does not support binding.", ParseWithError("isArrow().bind(\"foo\")")); EXPECT_EQ("Input value has unresolved overloaded type: " - "Matcher<DoStmt|ForStmt|WhileStmt|CXXForRangeStmt>", + "Matcher<DoStmt|ForStmt|WhileStmt|CXXForRangeStmt|FunctionDecl>", ParseMatcherWithError("hasBody(stmt())")); } @@ -320,7 +320,7 @@ TEST(ParserTest, CompletionNamedValues) { EXPECT_EQ("arent(", Comps[2].TypedText); EXPECT_EQ( "Matcher<Decl> " - "hasParent(Matcher<TemplateArgument|NestedNameSpecifierLoc|Decl|...>)", + "hasParent(Matcher<NestedNameSpecifierLoc|TypeLoc|Decl|...>)", Comps[2].MatcherDecl); } |
