ΒΆbool applyAllReplacements(
    const clang::tooling::Replacements& Replaces,
    clang::Rewriter& Rewrite)

Description

Apply all replacements in \p Replaces to the Rewriter \p Rewrite. Replacement applications happen independently of the success of other applications.

Declared at: clang/include/clang/Tooling/Core/Replacement.h:319

Parameters

const clang::tooling::Replacements& Replaces
clang::Rewriter& Rewrite

Returns

true if all replacements apply. false otherwise.