aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorYitzhak Mandelbaum <yitzhakm@google.com>2021-12-29 15:46:43 +0000
committerYitzhak Mandelbaum <yitzhakm@google.com>2022-01-25 19:43:36 +0000
commit0944c196c58f62299540983e2d10cd7bef60691a (patch)
treea7966119f0e79fdc72eef7b10168d1ba94139f04 /llvm/lib/Support/CommandLine.cpp
parentea1ac183f47ebc03051e63f76c4cb3ad3c5b9f3a (diff)
downloadllvm-0944c196c58f62299540983e2d10cd7bef60691a.zip
llvm-0944c196c58f62299540983e2d10cd7bef60691a.tar.gz
llvm-0944c196c58f62299540983e2d10cd7bef60691a.tar.bz2
[libTooling] Adds more support for constructing object access expressions.
This patch adds a `buildAccess` function, which constructs a string with the proper operator to use based on the expression's form and type. It also adds two predicates related to smart pointers, which are needed by `buildAccess` but are also of general value. We deprecate `buildDot` and `buildArrow` in favor of the more general `buildAccess`. These will be removed in a future patch. Differential Revision: https://reviews.llvm.org/D116377
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions