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)
commitf11e099052e75ccd467e83a566b11307a76527cd
tree6e6b497463648ce9ea9489e95864dc17a8c60d60
parent39c9fb736011dceca299798fe58b32e1763f0bd3
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
clang/lib/AST/ASTTypeTraits.cpp
clang/unittests/AST/ASTTypeTraitsTest.cpp
clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp
clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp