aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Signposts.cpp
diff options
context:
space:
mode:
authorYitzhak Mandelbaum <yitzhakm@google.com>2021-06-16 14:52:13 +0000
committerYitzhak Mandelbaum <yitzhakm@google.com>2021-06-16 20:34:00 +0000
commitc7ed4fe56e0a6c664c5fb5dedaedb426abe7224d (patch)
treec09029ab302c64d045bc4dfda37b1445baf4ee7a /llvm/lib/Support/Signposts.cpp
parentf9a6d47c3642cb07b5e98e8b08330ccc95b85dd8 (diff)
downloadllvm-c7ed4fe56e0a6c664c5fb5dedaedb426abe7224d.zip
llvm-c7ed4fe56e0a6c664c5fb5dedaedb426abe7224d.tar.gz
llvm-c7ed4fe56e0a6c664c5fb5dedaedb426abe7224d.tar.bz2
[libTooling] Change `access` stencil to recognize use of `operator*`.
Currently, `access` doesn't recognize a dereferenced smart pointer. So, `access(e, "field")` where `e = *x`, yields: * `x->field`, for normal-pointer x, * `(*x).field`, for smart-pointer x. This patch normalizes handling of smart pointer to match normal pointer, when the smart pointer type supports `->`. Differential Revision: https://reviews.llvm.org/D104390
Diffstat (limited to 'llvm/lib/Support/Signposts.cpp')
0 files changed, 0 insertions, 0 deletions