]> granicus.if.org Git - clang/commit
Reorder ASTNodeKind::AllKindInfo to match NodeKindId.
authorAlexander Kornienko <alexfh@google.com>
Thu, 14 Apr 2016 00:47:40 +0000 (00:47 +0000)
committerAlexander Kornienko <alexfh@google.com>
Thu, 14 Apr 2016 00:47:40 +0000 (00:47 +0000)
commita8b8cfa73d9152e59b49af53a9a243ac4d50aca8
tree988a9c6faa831ef388860b3854b2831580adf365
parente1d7b3bd4c2f9d0866ca7eaa4178a0c06815b607
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266268 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTTypeTraits.cpp
unittests/AST/ASTTypeTraitsTest.cpp
unittests/ASTMatchers/Dynamic/ParserTest.cpp
unittests/ASTMatchers/Dynamic/RegistryTest.cpp