diff options
author | Alexander Kornienko <alexfh@google.com> | 2016-04-14 00:47:40 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2016-04-14 00:47:40 +0000 |
commit | f11e099052e75ccd467e83a566b11307a76527cd (patch) | |
tree | 6e6b497463648ce9ea9489e95864dc17a8c60d60 /clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp | |
parent | 39c9fb736011dceca299798fe58b32e1763f0bd3 (diff) | |
download | bcm5719-llvm-f11e099052e75ccd467e83a566b11307a76527cd.tar.gz bcm5719-llvm-f11e099052e75ccd467e83a566b11307a76527cd.zip |
Reorder ASTNodeKind::AllKindInfo to match NodeKindId.
Summary:
AllKindInfo is being indexed by NodeKindId, so the order must match.
Extended ASTTypeTraits tests to cover this.
Reviewers: sbenza
Subscribers: cfe-commits, klimek
Differential Revision: http://reviews.llvm.org/D19059
llvm-svn: 266268
Diffstat (limited to 'clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp')
-rw-r--r-- | clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp b/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp index 81373dab96a..553427c9a40 100644 --- a/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp +++ b/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp @@ -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); } |