Szelethus added a comment.

I played around with it, and this seemed a bit cleaner. Since I would only 
match against the definition of the record (and the definition of its methods), 
the matcher would need to look like this: `stmt(hasDescendant(blahBlah(...)))`, 
and I'd only be able to retrieve (with my limited knowledge) the entire method 
definition, not the actual `FieldDecl` in the case of a match.
I didn'd do a whole lot of AST based analysis, so feel free to correct me on 
this one ^-^


Repository:
  rC Clang

https://reviews.llvm.org/D51866



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to