ΒΆinline bool needParensBeforeDotOrArrow(
    const clang::Expr& E)

Description

Determines whether printing this expression to the left of a dot or arrow operator requires a parentheses to preserve its meaning. Given that dot/arrow are (effectively) the highest precedence, this is equivalent to asking whether it ever needs parens.

Declared at: clang/include/clang/Tooling/Transformer/SourceCodeBuilders.h:39

Parameters

const clang::Expr& E