Skip to content

Commit 091438d

Browse files
Copilotjonrohan
andcommitted
Initial analysis and plan for fixing deprecated Naming/PredicateName cop
Co-authored-by: jonrohan <[email protected]>
1 parent 0d3364e commit 091438d

File tree

3,651 files changed

+813631
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,651 files changed

+813631
-0
lines changed

vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/bigdecimal-3.1.9/gem.build_complete

Whitespace-only changes.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
current directory: /home/runner/work/rubocop-github/rubocop-github/vendor/bundle/ruby/3.2.0/gems/bigdecimal-3.1.9/ext/bigdecimal
2+
/usr/bin/ruby3.2 -I/usr/lib/ruby/vendor_ruby extconf.rb
3+
checking for __builtin_clz()... yes
4+
checking for __builtin_clzl()... yes
5+
checking for __builtin_clzll()... yes
6+
checking for float.h... yes
7+
checking for math.h... yes
8+
checking for stdbool.h... yes
9+
checking for stdlib.h... yes
10+
checking for x86intrin.h... yes
11+
checking for _lzcnt_u32() in x86intrin.h... no
12+
checking for _lzcnt_u64() in x86intrin.h... no
13+
checking for intrin.h... no
14+
checking for labs() in stdlib.h... yes
15+
checking for llabs() in stdlib.h... yes
16+
checking for finite() in math.h... yes
17+
checking for isfinite() in math.h... no
18+
checking for ruby/atomic.h... yes
19+
checking for ruby/internal/has/builtin.h... yes
20+
checking for ruby/internal/static_assert.h... yes
21+
checking for rb_rational_num() in ruby.h... yes
22+
checking for rb_rational_den() in ruby.h... yes
23+
checking for rb_complex_real() in ruby.h... yes
24+
checking for rb_complex_imag() in ruby.h... yes
25+
checking for rb_opts_exception_p() in ruby.h... yes
26+
checking for rb_category_warn() in ruby.h... yes
27+
checking for RB_WARN_CATEGORY_DEPRECATED in ruby.h... yes
28+
creating Makefile
29+
30+
current directory: /home/runner/work/rubocop-github/rubocop-github/vendor/bundle/ruby/3.2.0/gems/bigdecimal-3.1.9/ext/bigdecimal
31+
make DESTDIR\= sitearchdir\=./.gem.20250605-3371-hdvnh5 sitelibdir\=./.gem.20250605-3371-hdvnh5 clean
32+
33+
current directory: /home/runner/work/rubocop-github/rubocop-github/vendor/bundle/ruby/3.2.0/gems/bigdecimal-3.1.9/ext/bigdecimal
34+
make DESTDIR\= sitearchdir\=./.gem.20250605-3371-hdvnh5 sitelibdir\=./.gem.20250605-3371-hdvnh5
35+
compiling bigdecimal.c
36+
compiling missing.c
37+
linking shared-object bigdecimal.so
38+
39+
current directory: /home/runner/work/rubocop-github/rubocop-github/vendor/bundle/ruby/3.2.0/gems/bigdecimal-3.1.9/ext/bigdecimal
40+
make DESTDIR\= sitearchdir\=./.gem.20250605-3371-hdvnh5 sitelibdir\=./.gem.20250605-3371-hdvnh5 install
41+
/usr/bin/install -c -m 0755 bigdecimal.so ./.gem.20250605-3371-hdvnh5
42+
43+
current directory: /home/runner/work/rubocop-github/rubocop-github/vendor/bundle/ruby/3.2.0/gems/bigdecimal-3.1.9/ext/bigdecimal
44+
make DESTDIR\= sitearchdir\=./.gem.20250605-3371-hdvnh5 sitelibdir\=./.gem.20250605-3371-hdvnh5 clean

vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/bigdecimal-3.1.9/mkmf.log

Lines changed: 605 additions & 0 deletions
Large diffs are not rendered by default.

vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/json-2.12.2/gem.build_complete

Whitespace-only changes.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
current directory: /home/runner/work/rubocop-github/rubocop-github/vendor/bundle/ruby/3.2.0/gems/json-2.12.2/ext/json/ext/parser
2+
/usr/bin/ruby3.2 -I/usr/lib/ruby/vendor_ruby extconf.rb
3+
checking for rb_enc_interned_str() in ruby.h... yes
4+
checking for rb_hash_new_capa() in ruby.h... yes
5+
checking for rb_hash_bulk_insert() in ruby.h... yes
6+
checking for strnlen() in string.h... yes
7+
checking for whether -std=c99 is accepted as CFLAGS... yes
8+
creating Makefile
9+
10+
current directory: /home/runner/work/rubocop-github/rubocop-github/vendor/bundle/ruby/3.2.0/gems/json-2.12.2/ext/json/ext/parser
11+
make DESTDIR\= sitearchdir\=./.gem.20250605-3371-n20h6k sitelibdir\=./.gem.20250605-3371-n20h6k clean
12+
13+
current directory: /home/runner/work/rubocop-github/rubocop-github/vendor/bundle/ruby/3.2.0/gems/json-2.12.2/ext/json/ext/parser
14+
make DESTDIR\= sitearchdir\=./.gem.20250605-3371-n20h6k sitelibdir\=./.gem.20250605-3371-n20h6k
15+
compiling parser.c
16+
linking shared-object json/ext/parser.so
17+
18+
current directory: /home/runner/work/rubocop-github/rubocop-github/vendor/bundle/ruby/3.2.0/gems/json-2.12.2/ext/json/ext/parser
19+
make DESTDIR\= sitearchdir\=./.gem.20250605-3371-n20h6k sitelibdir\=./.gem.20250605-3371-n20h6k install
20+
/usr/bin/install -c -m 0755 parser.so ./.gem.20250605-3371-n20h6k/json/ext
21+
22+
current directory: /home/runner/work/rubocop-github/rubocop-github/vendor/bundle/ruby/3.2.0/gems/json-2.12.2/ext/json/ext/parser
23+
make DESTDIR\= sitearchdir\=./.gem.20250605-3371-n20h6k sitelibdir\=./.gem.20250605-3371-n20h6k clean
Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
have_func: checking for rb_enc_interned_str() in ruby.h... -------------------- yes
2+
3+
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.5 -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -lm -lpthread -lc"
4+
checked program was:
5+
/* begin */
6+
1: #include "ruby.h"
7+
2:
8+
3: int main(int argc, char **argv)
9+
4: {
10+
5: return !!argv[argc];
11+
6: }
12+
/* end */
13+
14+
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.5 -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -lm -lpthread -lc"
15+
conftest.c: In function ‘t’:
16+
conftest.c:16:57: error: ‘rb_enc_interned_str’ undeclared (first use in this function); did you mean ‘rb_interned_str’?
17+
16 | int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_enc_interned_str; return !p; }
18+
| ^~~~~~~~~~~~~~~~~~~
19+
| rb_interned_str
20+
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
21+
checked program was:
22+
/* begin */
23+
1: #include "ruby.h"
24+
2:
25+
3: #include <ruby.h>
26+
4:
27+
5: /*top*/
28+
6: extern int t(void);
29+
7: int main(int argc, char **argv)
30+
8: {
31+
9: if (argc > 1000000) {
32+
10: int (* volatile tp)(void)=(int (*)(void))&t;
33+
11: printf("%d", (*tp)());
34+
12: }
35+
13:
36+
14: return !!argv[argc];
37+
15: }
38+
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_enc_interned_str; return !p; }
39+
/* end */
40+
41+
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.5 -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -lm -lpthread -lc"
42+
checked program was:
43+
/* begin */
44+
1: #include "ruby.h"
45+
2:
46+
3: #include <ruby.h>
47+
4:
48+
5: /*top*/
49+
6: extern int t(void);
50+
7: int main(int argc, char **argv)
51+
8: {
52+
9: if (argc > 1000000) {
53+
10: int (* volatile tp)(void)=(int (*)(void))&t;
54+
11: printf("%d", (*tp)());
55+
12: }
56+
13:
57+
14: return !!argv[argc];
58+
15: }
59+
16: extern void rb_enc_interned_str();
60+
17: int t(void) { rb_enc_interned_str(); return 0; }
61+
/* end */
62+
63+
--------------------
64+
65+
have_func: checking for rb_hash_new_capa() in ruby.h... -------------------- yes
66+
67+
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.5 -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -lm -lpthread -lc"
68+
checked program was:
69+
/* begin */
70+
1: #include "ruby.h"
71+
2:
72+
3: #include <ruby.h>
73+
4:
74+
5: /*top*/
75+
6: extern int t(void);
76+
7: int main(int argc, char **argv)
77+
8: {
78+
9: if (argc > 1000000) {
79+
10: int (* volatile tp)(void)=(int (*)(void))&t;
80+
11: printf("%d", (*tp)());
81+
12: }
82+
13:
83+
14: return !!argv[argc];
84+
15: }
85+
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_hash_new_capa; return !p; }
86+
/* end */
87+
88+
--------------------
89+
90+
have_func: checking for rb_hash_bulk_insert() in ruby.h... -------------------- yes
91+
92+
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.5 -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -lm -lpthread -lc"
93+
checked program was:
94+
/* begin */
95+
1: #include "ruby.h"
96+
2:
97+
3: #include <ruby.h>
98+
4:
99+
5: /*top*/
100+
6: extern int t(void);
101+
7: int main(int argc, char **argv)
102+
8: {
103+
9: if (argc > 1000000) {
104+
10: int (* volatile tp)(void)=(int (*)(void))&t;
105+
11: printf("%d", (*tp)());
106+
12: }
107+
13:
108+
14: return !!argv[argc];
109+
15: }
110+
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_hash_bulk_insert; return !p; }
111+
/* end */
112+
113+
--------------------
114+
115+
have_func: checking for strnlen() in string.h... -------------------- yes
116+
117+
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -o conftest -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.5 -fPIC conftest.c -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -lruby-3.2 -lm -lpthread -lc"
118+
checked program was:
119+
/* begin */
120+
1: #include "ruby.h"
121+
2:
122+
3: #include <string.h>
123+
4:
124+
5: /*top*/
125+
6: extern int t(void);
126+
7: int main(int argc, char **argv)
127+
8: {
128+
9: if (argc > 1000000) {
129+
10: int (* volatile tp)(void)=(int (*)(void))&t;
130+
11: printf("%d", (*tp)());
131+
12: }
132+
13:
133+
14: return !!argv[argc];
134+
15: }
135+
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))strnlen; return !p; }
136+
/* end */
137+
138+
--------------------
139+
140+
block in append_cflags: checking for whether -std=c99 is accepted as CFLAGS... -------------------- yes
141+
142+
LD_LIBRARY_PATH=.:/usr/lib/x86_64-linux-gnu "x86_64-linux-gnu-gcc -I/usr/include/x86_64-linux-gnu/ruby-3.2.0 -I/usr/include/ruby-3.2.0/ruby/backward -I/usr/include/ruby-3.2.0 -I. -Wdate-time -D_FORTIFY_SOURCE=3 -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=BUILDDIR=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=BUILDDIR=/usr/src/ruby3.2-3.2.3-1ubuntu0.24.04.5 -fPIC -std=c99 -Werror -c conftest.c"
143+
checked program was:
144+
/* begin */
145+
1: #include "ruby.h"
146+
2:
147+
3: int main(int argc, char **argv)
148+
4: {
149+
5: return !!argv[argc];
150+
6: }
151+
/* end */
152+
153+
--------------------
154+

vendor/bundle/ruby/3.2.0/extensions/x86_64-linux-gnu/3.2.0/prism-1.4.0/gem.build_complete

Whitespace-only changes.

0 commit comments

Comments
 (0)