clang-tools  15.0.0git
Functions | Variables
clang::tidy::utils::options Namespace Reference

Functions

std::vector< StringRef > parseStringList (StringRef Option)
 Parse a semicolon separated list of strings. More...
 
std::vector< StringRef > parseListPair (StringRef L, StringRef R)
 
std::string serializeStringList (ArrayRef< StringRef > Strings)
 Serialize a sequence of names that can be parsed by parseStringList. More...
 

Variables

static const char StringsDelimiter [] = ";"
 

Function Documentation

◆ parseListPair()

std::vector< StringRef > clang::tidy::utils::options::parseListPair ( StringRef  L,
StringRef  R 
)

Definition at line 38 of file OptionsUtils.cpp.

◆ parseStringList()

std::vector< StringRef > clang::tidy::utils::options::parseStringList ( StringRef  Option)

Parse a semicolon separated list of strings.

Definition at line 19 of file OptionsUtils.cpp.

◆ serializeStringList()

std::string clang::tidy::utils::options::serializeStringList ( ArrayRef< StringRef >  Strings)

Serialize a sequence of names that can be parsed by parseStringList.

Definition at line 62 of file OptionsUtils.cpp.

References clang::tidy::cppcoreguidelines::join(), Strings, and StringsDelimiter.

Variable Documentation

◆ StringsDelimiter

const char clang::tidy::utils::options::StringsDelimiter[] = ";"
static

Definition at line 17 of file OptionsUtils.cpp.

Referenced by serializeStringList().