ΒΆclang::transformer::Stencil maybeDeref(
llvm::StringRef ExprId)
clang::transformer::Stencil maybeDeref(
llvm::StringRef ExprId)
Description
If \p ExprId is of pointer type, constructs an idiomatic dereferencing of the expression bound to \p ExprId, including wrapping it in parentheses, if needed. Otherwise, generates the original expression source.
Declared at: clang/include/clang/Tooling/Transformer/Stencil.h:85
Parameters
- llvm::StringRef ExprId