clang-tools  10.0.0svn
Functions | Variables
clang::tidy::utils::options Namespace Reference

Functions

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

Variables

static const char StringsDelimiter [] = ";"
 

Function Documentation

◆ parseStringList()

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

Parse a semicolon separated list of strings.

Definition at line 18 of file OptionsUtils.cpp.

◆ serializeStringList()

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

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

Definition at line 30 of file OptionsUtils.cpp.

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

Variable Documentation

◆ StringsDelimiter

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

Definition at line 16 of file OptionsUtils.cpp.

Referenced by serializeStringList().