clang-tools 22.0.0git
clang::replace::detail Namespace Reference

Functions

template<typename TranslationUnits>
static std::error_code collectReplacementsFromDirectory (const llvm::StringRef Directory, TranslationUnits &TUs, TUReplacementFiles &TUFiles, clang::DiagnosticsEngine &Diagnostics)

Variables

static constexpr std::array< StringRef, 2 > AllowedExtensions = {".yaml", ".yml"}

Function Documentation

◆ collectReplacementsFromDirectory()

template<typename TranslationUnits>
std::error_code clang::replace::detail::collectReplacementsFromDirectory ( const llvm::StringRef Directory,
TranslationUnits & TUs,
TUReplacementFiles & TUFiles,
clang::DiagnosticsEngine & Diagnostics )
static

Variable Documentation

◆ AllowedExtensions

std::array<StringRef, 2> clang::replace::detail::AllowedExtensions = {".yaml", ".yml"}
staticconstexpr

Definition at line 46 of file ApplyReplacements.cpp.

Referenced by collectReplacementsFromDirectory().