Lines Matching refs:minor
30 int major, minor;
32 if (! producer_is_gcc (producer, &major, &minor))
38 return minor;
44 producer_is_gcc (const char *producer, int *major, int *minor)
54 if (minor == NULL)
55 minor = &min;
68 if (sscanf (cs, "%d.%d", major, minor) == 2)
81 int major, minor;
83 if (! producer_is_icc (producer, &major, &minor))
92 producer_is_icc (const char *producer, int *major, int *minor)
102 if (minor == nullptr)
103 minor = &min;
105 *minor = 0;
114 sscanf (version_str, "%d.%d", major, minor);
133 producer_is_clang (const char *producer, int *major, int *minor)
140 if (minor == nullptr)
141 minor = &min;
148 if (sscanf (cs, "%d.%d", major, minor) == 2)
166 int major = 0, minor = 0;
167 SELF_CHECK (!producer_is_icc (icc_no_version, &major, &minor));
168 SELF_CHECK (!producer_is_gcc (icc_no_version, &major, &minor));
177 int major = 0, minor = 0;
178 SELF_CHECK (producer_is_icc (extern_f_14_0, &major, &minor)
179 && major == 14 && minor == 0);
180 SELF_CHECK (!producer_is_gcc (extern_f_14_0, &major, &minor));
189 int major = 0, minor = 0;
190 SELF_CHECK (producer_is_icc (intern_f_14, &major, &minor)
191 && major == 14 && minor == 0);
192 SELF_CHECK (!producer_is_gcc (intern_f_14, &major, &minor));
200 int major = 0, minor = 0;
201 SELF_CHECK (producer_is_icc (intern_c_14, &major, &minor)
202 && major == 14 && minor == 0);
203 SELF_CHECK (!producer_is_gcc (intern_c_14, &major, &minor));
211 int major = 0, minor = 0;
212 SELF_CHECK (producer_is_icc (intern_c_18, &major, &minor)
213 && major == 18 && minor == 0);
220 int major = 0, minor = 0;
221 SELF_CHECK (producer_is_gcc (gnu, &major, &minor)
222 && major == 4 && minor == 7);
227 int major = 0, minor = 0;
229 SELF_CHECK (producer_is_gcc (gnu_exp, &major, &minor)
230 && major == 5 && minor == 0);
235 int major = 0, minor = 0;
237 SELF_CHECK (!producer_is_gcc (clang_llvm_exp, &major, &minor));
243 int major = 0, minor = 0;
245 SELF_CHECK (!producer_is_gcc (flang_llvm_exp, &major, &minor));