ΒΆclang::transformer::Stencil maybeAddressOf(
llvm::StringRef ExprId)
clang::transformer::Stencil maybeAddressOf(
llvm::StringRef ExprId)
Description
If \p ExprId is not a pointer type, constructs an expression that idiomatically takes the address of the expression bound to \p ExprId, including wrapping \p ExprId in parentheses, if needed. Otherwise, generates the original expression source.
Declared at: clang/include/clang/Tooling/Transformer/Stencil.h:96
Parameters
- llvm::StringRef ExprId