ΒΆconst llvm::StringMap<Replacements>*
selectFirstFix(
    const clang::tooling::Diagnostic& D)

Description

Get the first fix to apply for this diagnostic.

Declared at: clang/include/clang/Tooling/Core/Diagnostic.h:115

Parameters

const clang::tooling::Diagnostic& D

Returns

nullptr if no fixes are attached to the diagnostic.