clang-tools 20.0.0git
|
Functions | |
std::vector< StringRef > | parseStringList (StringRef Option) |
Parse a semicolon separated list of strings. | |
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 . | |
Variables | |
static const char | StringsDelimiter [] = ";" |
std::vector< StringRef > clang::tidy::utils::options::parseListPair | ( | StringRef | L, |
StringRef | R | ||
) |
Definition at line 35 of file OptionsUtils.cpp.
References parseStringList(), and StringsDelimiter.
Referenced by clang::tidy::bugprone::SuspiciousStringCompareCheck::registerMatchers(), and clang::tidy::cert::NonTrivialTypesLibcMemoryCallsCheck::registerMatchers().
std::vector< StringRef > clang::tidy::utils::options::parseStringList | ( | StringRef | Option | ) |
Parse a semicolon separated list of strings.
Definition at line 16 of file OptionsUtils.cpp.
References StringsDelimiter.
Referenced by clang::tidy::readability::MagicNumbersCheck::MagicNumbersCheck(), parseListPair(), clang::tidy::cppcoreguidelines::NarrowingConversionsCheck::registerMatchers(), clang::tidy::cppcoreguidelines::NoMallocCheck::registerMatchers(), clang::tidy::cppcoreguidelines::NoSuspendWithLockCheck::registerMatchers(), clang::tidy::cppcoreguidelines::OwningMemoryCheck::registerMatchers(), and clang::tidy::readability::SuspiciousCallArgumentCheck::SuspiciousCallArgumentCheck().
std::string clang::tidy::utils::options::serializeStringList | ( | ArrayRef< StringRef > | Strings | ) |
Serialize a sequence of names that can be parsed by parseStringList
.
Definition at line 59 of file OptionsUtils.cpp.
References Strings, and StringsDelimiter.
Referenced by clang::tidy::abseil::StringFindStartswithCheck::storeOptions(), clang::tidy::abseil::StringFindStrContainsCheck::storeOptions(), clang::tidy::bugprone::AssertSideEffectCheck::storeOptions(), clang::tidy::bugprone::DanglingHandleCheck::storeOptions(), clang::tidy::bugprone::EasilySwappableParametersCheck::storeOptions(), clang::tidy::bugprone::EmptyCatchCheck::storeOptions(), clang::tidy::bugprone::NonZeroEnumToBoolConversionCheck::storeOptions(), clang::tidy::bugprone::OptionalValueConversionCheck::storeOptions(), clang::tidy::bugprone::ReservedIdentifierCheck::storeOptions(), clang::tidy::bugprone::SuspiciousStringviewDataUsageCheck::storeOptions(), clang::tidy::bugprone::UnusedLocalNonTrivialVariableCheck::storeOptions(), clang::tidy::misc::CoroutineHostileRAIICheck::storeOptions(), clang::tidy::misc::HeaderIncludeCycleCheck::storeOptions(), clang::tidy::misc::IncludeCleanerCheck::storeOptions(), clang::tidy::modernize::UseEmplaceCheck::storeOptions(), clang::tidy::modernize::UseNullptrCheck::storeOptions(), clang::tidy::modernize::UseStdFormatCheck::storeOptions(), clang::tidy::modernize::UseStdPrintCheck::storeOptions(), clang::tidy::objc::ForbiddenSubclassingCheck::storeOptions(), clang::tidy::performance::EnumSizeCheck::storeOptions(), clang::tidy::performance::FasterStringFindCheck::storeOptions(), clang::tidy::performance::ForRangeCopyCheck::storeOptions(), clang::tidy::performance::InefficientVectorOperationCheck::storeOptions(), clang::tidy::performance::NoAutomaticMoveCheck::storeOptions(), clang::tidy::performance::UnnecessaryCopyInitialization::storeOptions(), clang::tidy::performance::UnnecessaryValueParamCheck::storeOptions(), clang::tidy::readability::ContainerDataPointerCheck::storeOptions(), clang::tidy::readability::ContainerSizeEmptyCheck::storeOptions(), clang::tidy::readability::OperatorsRepresentationCheck::storeOptions(), clang::tidy::readability::SimplifySubscriptExprCheck::storeOptions(), clang::tidy::readability::StringCompareCheck::storeOptions(), clang::tidy::readability::SuspiciousCallArgumentCheck::storeOptions(), clang::tidy::readability::UppercaseLiteralSuffixCheck::storeOptions(), and clang::tidy::zircon::TemporaryObjectsCheck::storeOptions().
|
static |
Definition at line 14 of file OptionsUtils.cpp.
Referenced by parseListPair(), parseStringList(), and serializeStringList().