AllKindInfo is being indexed by NodeKindId, so the order must match.
I've updated the tests, though I'm not sure what exactly they verify and whether
the new state of the tests makes sense ;)
I can add dedicated tests for this change, if needed.
Differential D19059
Reorder ASTNodeKind::AllKindInfo to match NodeKindId. alexfh on Apr 13 2016, 8:12 AM. Authored by
Details AllKindInfo is being indexed by NodeKindId, so the order must match. I can add dedicated tests for this change, if needed.
Diff Detail
Event TimelineComment Actions Those tests are testing the code completion you get in clang-query. hasParent is declared as const internal::ArgumentAdaptingMatcherFunc< internal::HasParentMatcher, internal::TypeList<Decl, NestedNameSpecifierLoc, Stmt, TypeLoc>, internal::TypeList<Decl, NestedNameSpecifierLoc, Stmt, TypeLoc>> LLVM_ATTRIBUTE_UNUSED hasParent = {}; so the completion message is correct now.
|