<div dir="ltr">Hello!<div><br></div><div>I wanted to get the names of AST nodes while writing a checker, something like "FunctionDecl", "ParenExpr", etc.</div><div><br></div><div>I tried this: my_dyn_typed_node.getNodeKind().asStringRef()</div><div><br></div><div>But this always returned Stmt or Decl, i.e. the name of the base type of the AST node. How to get the derived name?</div><div><br></div><div>I looked up in ASTTypeTraits.cpp but I am a bit confused about the contents of AllKindInfo. By the way, I am using a snapshot of Clang 3.6 which didn't have DynTypedNode::getNodeKind(), which I defined myself just as it is defined in the latest versions. Not sure if that is somehow linked to the unexpectedness of the output.</div><div><br></div><div>Thanks,</div><div>Saheel.</div></div>