| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Regex.h | 29 class Regex { 49 LLVM_ABI Regex(); 54 LLVM_ABI Regex(StringRef Regex, RegexFlags Flags = NoFlags); 55 LLVM_ABI Regex(StringRef Regex, unsigned Flags); 56 Regex(const Regex &) = delete; 57 Regex &operator=(Regex regex) { 62 LLVM_ABI Regex(Regex &®ex); 63 LLVM_ABI ~Regex();
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | Regex.cpp | 1 //===-- Regex.cpp - Regular Expression matcher implementation -------------===// 13 #include "llvm/Support/Regex.h" 24 Regex::Regex() : preg(nullptr), error(REG_BADPAT) {} in Regex() function in Regex 26 Regex::Regex(StringRef regex, RegexFlags Flags) { in Regex() function in Regex 39 Regex::Regex(StringRef regex, unsigned Flags) in Regex() function in Regex 40 : Regex(regex, static_cast<RegexFlags>(Flags)) {} in Regex() 42 Regex function in Regex [all...] |
| H A D | SpecialCaseList.cpp | 46 Regex CheckRE(Regexp); in insert() 52 std::make_unique<Regex>(std::move(CheckRE)), LineNumber)); in insert() 73 for (const auto &[Regex, LineNumber] : reverse(RegExes)) in match() 74 if (Regex->match(Query)) in match()
|
| /freebsd/ |
| H A D | .clang-format | 112 - Regex: '^\"opt_.*\.h\"' 115 - Regex: '^<sys/cdefs\.h>' 118 - Regex: '^<sys/types\.h>' 121 - Regex: '^<sys/param\.h>' 124 - Regex: '^<sys/systm\.h>' 127 - Regex: '^<sys.*/' 130 - Regex: '^<vm/vm\.h>' 133 - Regex: '^<vm/' 136 - Regex: '^<machine/' 139 - Regex: '^<(x86|amd64|i386|xen)/' [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Marshallers.cpp | 112 static constexpr std::pair<llvm::StringRef, llvm::Regex::RegexFlags> 114 {"NoFlags", llvm::Regex::RegexFlags::NoFlags}, 115 {"IgnoreCase", llvm::Regex::RegexFlags::IgnoreCase}, 116 {"Newline", llvm::Regex::RegexFlags::Newline}, 117 {"BasicRegex", llvm::Regex::RegexFlags::BasicRegex}, 120 static std::optional<llvm::Regex::RegexFlags> 137 std::optional<llvm::Regex::RegexFlags> 139 llvm::Regex::RegexFlags>::getFlags(llvm::StringRef Flags) { in getFlags() 140 std::optional<llvm::Regex::RegexFlags> Flag; in getFlags() 144 if (std::optional<llvm::Regex::RegexFlags> NextFlag = in getFlags() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Format/ |
| H A D | BreakableToken.h | 155 const llvm::Regex &CommentPragmasRegex) const = 0; 190 const llvm::Regex &CommentPragmasRegex) const { in getReflowSplit() 260 const llvm::Regex &CommentPragmasRegex) const override; 342 const llvm::Regex &CommentPragmasRegex) const override; 353 const llvm::Regex &CommentPragmasRegex) const = 0; 409 const llvm::Regex &CommentPragmasRegex) const override; 421 const llvm::Regex &CommentPragmasRegex) const override; 430 const llvm::Regex &CommentPragmasRegex) const override; 493 const llvm::Regex &CommentPragmasRegex) const override; 500 const llvm::Regex &CommentPragmasRegex) const override;
|
| H A D | FormatTokenLexer.h | 139 llvm::Regex FormatOffRegex; // For one line. 141 llvm::Regex MacroBlockBeginRegex; 142 llvm::Regex MacroBlockEndRegex;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | LinePrinter.h | 98 void SetFilters(std::list<Regex> &List, Iter Begin, Iter End) { in SetFilters() 110 std::list<Regex> ExcludeCompilandFilters; 111 std::list<Regex> ExcludeTypeFilters; 112 std::list<Regex> ExcludeSymbolFilters; 114 std::list<Regex> IncludeCompilandFilters; 115 std::list<Regex> IncludeTypeFilters; 116 std::list<Regex> IncludeSymbolFilters;
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-cov/ |
| H A D | CoverageFilters.cpp | 30 return llvm::Regex(Regex).match(Function.Name); in matches() 34 return llvm::Regex(Regex).match(Filename); in matchesFilename()
|
| H A D | CoverageFilters.h | 58 StringRef Regex; variable 61 NameRegexCoverageFilter(StringRef Regex) : Regex(Regex) {} in NameRegexCoverageFilter() argument
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersMacros.h | 466 std::shared_ptr<llvm::Regex> RE) \ 474 std::shared_ptr<llvm::Regex> Param; \ 478 llvm::StringRef Param, llvm::Regex::RegexFlags RegexFlags) { \ 486 return DefineMatcher(Param, llvm::Regex::NoFlags); \ 491 llvm::Regex::RegexFlags); \ 518 std::shared_ptr<llvm::Regex> RE) \ 526 std::shared_ptr<llvm::Regex> Param; \ 531 std::shared_ptr<llvm::Regex>> \ 532 DefineMatcher(llvm::StringRef Param, llvm::Regex::RegexFlags RegexFlags) { \ 535 std::shared_ptr<llvm::Regex>>( \ [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | RegularExpression.h | 40 llvm::Regex::RegexFlags flags = llvm::Regex::NoFlags); 95 mutable llvm::Regex m_regex;
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ |
| H A D | CommonConfig.cpp | 36 case MatchStyle::Regex: { in create() 37 Regex RegEx(Pattern); in create() 44 return NameOrPattern(std::make_shared<Regex>( in create()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/Inclusions/ |
| H A D | IncludeStyle.h | 59 std::string Regex; member 67 return Regex == Other.Regex && Priority == Other.Priority &&
|
| H A D | HeaderIncludes.h | 45 SmallVector<llvm::Regex, 4> CategoryRegexs; 87 static const llvm::Regex IncludeRegex;
|
| /freebsd/contrib/libcbor/ |
| H A D | .clang-format | 65 - Regex: '^<ext/.*\.h>' 67 - Regex: '^<.*\.h>' 69 - Regex: '^<.*' 71 - Regex: '.*'
|
| /freebsd/contrib/llvm-project/clang/lib/InstallAPI/ |
| H A D | HeaderFile.cpp | 15 llvm::Regex HeaderFile::getFrameworkIncludeRule() { in getFrameworkIncludeRule() 16 return llvm::Regex("/(.+)\\.framework/(.+)?Headers/(.+)"); in getFrameworkIncludeRule() 66 HeaderGlob::HeaderGlob(StringRef GlobString, Regex &&Rule, HeaderType Type) in HeaderGlob()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/ |
| H A D | HeaderIncludes.cpp | 194 CategoryRegexs.emplace_back(Category.Regex, Category.RegexIsCaseSensitive in IncludeCategoryManager() 195 ? llvm::Regex::NoFlags in IncludeCategoryManager() 196 : llvm::Regex::IgnoreCase); in IncludeCategoryManager() 203 llvm::Regex MainFileRegex(Style.IncludeIsMainSourceRegex); in IncludeCategoryManager() 270 llvm::Regex MainIncludeRegex(HeaderStem.str() + Style.IncludeIsMainRegex, in isMainHeader() 271 llvm::Regex::IgnoreCase); in isMainHeader() 278 const llvm::Regex HeaderIncludes::IncludeRegex(IncludeRegexPattern);
|
| /freebsd/contrib/llvm-project/clang/include/clang/InstallAPI/ |
| H A D | HeaderFile.h | 76 static llvm::Regex getFrameworkIncludeRule(); 119 llvm::Regex Rule; 124 HeaderGlob(StringRef GlobString, llvm::Regex &&, HeaderType Type);
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | RegularExpression.cpp | 16 llvm::Regex::RegexFlags flags) in RegularExpression() 19 m_regex(llvm::Regex(str, flags)) {} in RegularExpression()
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ |
| H A D | Multilib.cpp | 283 const llvm::Regex Regex(RegexString); in expandFlags() local 284 assert(Regex.isValid()); in expandFlags() 286 [&Regex](StringRef F) { return Regex.match(F); })) { in expandFlags() 385 llvm::Regex Regex(M.Match); in validate() local 387 if (!Regex.isValid(RegexError)) in validate()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
| H A D | LVOptions.cpp | 417 Match.RE = std::make_shared<Regex>(Pattern, IgnoreCase ? Regex::IgnoreCase in createMatchEntry() 418 : Regex::NoFlags); in createMatchEntry() 425 Match.Mode = LVMatchMode::Regex; in createMatchEntry() 521 case LVMatchMode::Regex: in matchPattern()
|
| /freebsd/contrib/llvm-project/llvm/lib/Remarks/ |
| H A D | RemarkStreamer.cpp | 35 Regex R = Regex(Filter); in setFilter()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DiagnosticHandler.cpp | 25 std::shared_ptr<Regex> Pattern; 30 Pattern = std::make_shared<Regex>(Val); in operator =()
|
| /freebsd/contrib/sqlite3/ |
| H A D | Replace.cs | 155 Regex regEx = new Regex(args[0]); in Main()
|