line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyright (c) 2023 Yuki Kimoto |
2
|
|
|
|
|
|
|
# MIT License |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
22066
|
use strict; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
30
|
|
5
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
40
|
|
6
|
1
|
|
|
1
|
|
5
|
use SPVM::Builder::Config; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
106
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
my $config = SPVM::Builder::Config->new_cpp17(file => __FILE__); |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
$config->add_ccflag('-pthread', '-Wno-unused-parameter', '-Wno-missing-field-initializers'); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
$config->ext('cc'); |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
my @source_files = qw( |
15
|
|
|
|
|
|
|
re2/dfa.cc |
16
|
|
|
|
|
|
|
re2/prefilter_tree.cc |
17
|
|
|
|
|
|
|
re2/stringpiece.cc |
18
|
|
|
|
|
|
|
re2/bitstate.cc |
19
|
|
|
|
|
|
|
re2/unicode_casefold.cc |
20
|
|
|
|
|
|
|
re2/simplify.cc |
21
|
|
|
|
|
|
|
re2/filtered_re2.cc |
22
|
|
|
|
|
|
|
re2/onepass.cc |
23
|
|
|
|
|
|
|
re2/bitmap256.cc |
24
|
|
|
|
|
|
|
re2/re2.cc |
25
|
|
|
|
|
|
|
re2/parse.cc |
26
|
|
|
|
|
|
|
re2/set.cc |
27
|
|
|
|
|
|
|
re2/prog.cc |
28
|
|
|
|
|
|
|
re2/prefilter.cc |
29
|
|
|
|
|
|
|
re2/mimics_pcre.cc |
30
|
|
|
|
|
|
|
re2/regexp.cc |
31
|
|
|
|
|
|
|
re2/nfa.cc |
32
|
|
|
|
|
|
|
re2/tostring.cc |
33
|
|
|
|
|
|
|
re2/perl_groups.cc |
34
|
|
|
|
|
|
|
re2/unicode_groups.cc |
35
|
|
|
|
|
|
|
re2/compile.cc |
36
|
|
|
|
|
|
|
util/strutil.cc |
37
|
|
|
|
|
|
|
util/rune.cc |
38
|
|
|
|
|
|
|
util/pcre.cc |
39
|
|
|
|
|
|
|
); |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
$config->add_source_file(@source_files); |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
$config; |