Home
last modified time | relevance | path

Searched refs:RegexFlags (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DMarshallers.cpp115 static constexpr std::pair<llvm::StringRef, llvm::Regex::RegexFlags>
117 {"NoFlags", llvm::Regex::RegexFlags::NoFlags},
118 {"IgnoreCase", llvm::Regex::RegexFlags::IgnoreCase},
119 {"Newline", llvm::Regex::RegexFlags::Newline},
120 {"BasicRegex", llvm::Regex::RegexFlags::BasicRegex},
123 static llvm::Optional<llvm::Regex::RegexFlags>
141 llvm::Optional<llvm::Regex::RegexFlags>
143 llvm::Regex::RegexFlags>::getFlags(llvm::StringRef Flags) { in getFlags()
144 llvm::Optional<llvm::Regex::RegexFlags> Flag; in getFlags()
148 if (llvm::Optional<llvm::Regex::RegexFlags> NextFlag = in getFlags()
[all …]
DMarshallers.h217 template <> struct ArgTypeTraits<llvm::Regex::RegexFlags> {
219 static Optional<llvm::Regex::RegexFlags> getFlags(llvm::StringRef Flags);
229 static llvm::Regex::RegexFlags get(const VariantValue &Value) {
791 llvm::Regex::RegexFlags),
828 if (!ArgTypeTraits<llvm::Regex::RegexFlags>::hasCorrectType(
831 << 2 << ArgTypeTraits<llvm::Regex::RegexFlags>::getKind().asString()
835 if (!ArgTypeTraits<llvm::Regex::RegexFlags>::hasCorrectValue(
838 ArgTypeTraits<llvm::Regex::RegexFlags>::getBestGuess(
850 ArgTypeTraits<llvm::Regex::RegexFlags>::get(Args[1].Value)));
854 ReturnType (*const WithFlags)(StringRef, llvm::Regex::RegexFlags);
[all …]
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchersMacros.h477 llvm::StringRef Param, llvm::Regex::RegexFlags RegexFlags) { \
481 Param, RegexFlags, #DefineMatcher))); \
490 llvm::Regex::RegexFlags); \
531 DefineMatcher(llvm::StringRef Param, llvm::Regex::RegexFlags RegexFlags) { \
536 Param, RegexFlags, #DefineMatcher)); \
548 llvm::StringRef Param, llvm::Regex::RegexFlags RegexFlags); \
DASTMatchersInternal.h1966 llvm::Regex::RegexFlags Flags,
/external/llvm-project/llvm/include/llvm/Support/
DRegex.h30 enum RegexFlags : unsigned { enum
53 Regex(StringRef Regex, RegexFlags Flags = NoFlags);
/external/llvm-project/llvm/lib/Support/
DRegex.cpp29 Regex::Regex(StringRef regex, RegexFlags Flags) { in Regex()
43 : Regex(regex, static_cast<RegexFlags>(Flags)) {} in Regex()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp703 llvm::Regex::RegexFlags Flags, in createAndVerifyRegex()