clang-tools 20.0.0git
Functions | Variables
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 >
static std::error_code clang::replace::detail::collectReplacementsFromDirectory ( const llvm::StringRef  Directory,
TranslationUnits &  TUs,
TUReplacementFiles TUFiles,
clang::DiagnosticsEngine &  Diagnostics 
)
static

Variable Documentation

◆ AllowedExtensions

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

Definition at line 46 of file ApplyReplacements.cpp.

Referenced by collectReplacementsFromDirectory().