ΒΆsize_t findSelectedCase(
    const ast_matchers::MatchFinder::MatchResult&
        Result,
    const clang::transformer::RewriteRuleBase&
        Rule)

Description

Returns the index of the \c Case of \c Rule that was selected in the match result. Assumes a matcher built with \c buildMatcher.

Declared at: clang/include/clang/Tooling/Transformer/RewriteRule.h:529

Parameters

const ast_matchers::MatchFinder::MatchResult& Result
const clang::transformer::RewriteRuleBase& Rule