steveire added inline comments.

================
Comment at: clang/docs/LibASTMatchersReference.html:4823
+  matches "x.m", but not "m"
+memberExpr(hasObjectExpression(hasType(pointsTo(
+     cxxRecordDecl(hasName("X"))))))
----------------
If we're going to put such examples and details into the docs, maybe we should 
explain why things are and are not matched. What do you think?

It seems in this case the type of the object expression of `m` is `X*` because 
of the hidden `this->`?


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56849/new/

https://reviews.llvm.org/D56849



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

Reply via email to