ΒΆtemplate <typename T>
MatchConsumer<T> ifBound(std::string ID,
                         MatchConsumer<T> TrueC,
                         MatchConsumer<T> FalseC)

Description

Chooses between the two consumers, based on whether \p ID is bound in the match.

Declared at: clang/include/clang/Tooling/Transformer/MatchConsumer.h:47

Templates

T

Parameters

std::string ID
MatchConsumer<T> TrueC
MatchConsumer<T> FalseC