OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Regex
(Results
1 - 9
of
9
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/include/llvm/Support/
Regex.h
1
//===--
Regex
.h - Regular Expression matcher implementation -*- C++ -*-----===//
28
class
Regex
{
48
Regex
();
49
/// Compiles the given regular expression \p
Regex
.
51
/// \param
Regex
- referenced string is no longer needed after this
53
Regex
(StringRef
Regex
, RegexFlags Flags = NoFlags);
54
Regex
(StringRef
Regex
, unsigned Flags);
55
Regex
(const Regex &) = delete
[
all
...]
/src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
re.h
25
// No explicit
regex
selection; detect based on builtin hints.
33
// Prefer C
regex
libraries when compiling w/o exceptions so that we can
42
#include <
regex
>
46
#include <
regex
.h>
61
class
Regex
{
63
Regex
() : init_(false) {}
65
~
Regex
();
80
std::
regex
re_;
90
inline bool
Regex
::Init(const std::string& spec, std::string* error) {
96
re_ = std::
regex
(spec, std::regex_constants::extended)
[
all
...]
/src/external/apache2/llvm/dist/llvm/utils/benchmark/src/
re.h
23
// No explicit
regex
selection; detect based on builtin hints.
31
// Prefer C
regex
libraries when compiling w/o exceptions so that we can
40
#include <
regex
>
44
#include <
regex
.h>
56
class
Regex
{
58
Regex
() : init_(false) {}
60
~
Regex
();
75
std::
regex
re_;
85
inline bool
Regex
::Init(const std::string& spec, std::string* error) {
91
re_ = std::
regex
(spec, std::regex_constants::extended)
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Support/
Regex.cpp
1
//===--
Regex
.cpp - Regular Expression matcher implementation -------------===//
13
#include "llvm/Support/
Regex
.h"
22
// xlocale.h, this will cause trouble, because of missing
regex
-related types.
27
Regex
::
Regex
() : preg(nullptr), error(REG_BADPAT) {}
29
Regex
::
Regex
(StringRef
regex
, RegexFlags Flags) {
32
preg->re_endp =
regex
.end();
39
error = llvm_regcomp(preg,
regex
.data(), flags|REG_PEND)
[
all
...]
/src/external/apache2/llvm/dist/clang/include/clang/Tooling/Inclusions/
IncludeStyle.h
58
std::string
Regex
;
66
return
Regex
== Other.
Regex
&& Priority == Other.Priority &&
104
/// -
Regex
: '^"(llvm|llvm-c|clang|clang-c)/'
108
/// -
Regex
: '^(<|"(gtest|gmock|isl|json)/)'
110
/// -
Regex
: '<[[:alnum:].]+>'
112
/// -
Regex
: '.*'
122
/// category 0, see above), use this
regex
of allowed suffixes to the header
/src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
CoverageFilters.h
58
StringRef
Regex
;
61
NameRegexCoverageFilter(StringRef
Regex
) :
Regex
(
Regex
) {}
/src/external/apache2/llvm/dist/clang/lib/Frontend/
VerifyDiagnosticConsumer.cpp
35
#include "llvm/Support/
Regex
.h"
115
Regex
(RegexStr) {}
118
return
Regex
.isValid(Error);
122
return
Regex
.match(S);
126
llvm::
Regex
Regex
;
310
<< (UD.RegexKind ? "
regex
" : "string") << Error;
449
//
Regex
in initial directive token: -re
452
KindStr = "
regex
";
645
// Check that
regex
directives contain at least one regex
[
all
...]
/src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/
CommonConfig.h
20
#include "llvm/Support/
Regex
.h"
93
Regex
, // Enabled with --
regex
.
98
//
Regex
is shared between multiple CommonConfig instances.
99
std::shared_ptr<
Regex
> R;
104
NameOrPattern(std::shared_ptr<
Regex
> R) : R(R) {}
/src/external/apache2/llvm/dist/clang/include/clang/Basic/
CodeGenOptions.h
21
#include "llvm/Support/
Regex
.h"
268
/// The
regex
that filters the passes that should be saved to the optimization
292
std::shared_ptr<llvm::
Regex
>
Regex
;
295
OptRemark() : Kind(RK_Missing), Pattern(""),
Regex
(nullptr) {}
299
bool hasValidPattern() const { return
Regex
!= nullptr; }
301
/// Matches the given string against the
regex
, if there is some.
303
return hasValidPattern() &&
Regex
->match(String);
Completed in 21 milliseconds
Indexes created Tue Aug 04 00:24:20 UTC 2026