Add hasLocalStorage/hasGlobalStorage matchers for VarDecl nodes.
Update the doc. Also add them to the dynamic registry.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
We need a clang tool that parses all the AST node types and auto generates the matchers =)
In all seriousness, at the very least we should automate the addition of node matchers by using the #include "xxx.inc". We can do this in ASTMatchers.h and in the registry.