• Home
  • Raw
  • Download

Lines Matching refs:r

131 _GCC_FILE_LINE_RE = r'(?P<file>.*):(?P<line>\d+):\s+'
132 _CLANG_FILE_LINE_RE = r'(?P<file>.*):(?P<line>\d+):(?P<column>\d+):\s+'
134 r'(?P<file>.*[/\\^](?!gmock-)[^/\\]+):(?P<line>\d+):(?P<column>\d+):\s+')
140 r = re.compile(regex)
141 return r.finditer(s)
169 gcc_regex = (r'In member function \'testing::internal::ReturnAction<R>.*\n'
170 + _GCC_FILE_LINE_RE + r'instantiated from here\n'
171 r'.*gmock-actions\.h.*error: creating array with negative size')
172 clang_regex = (r'error:.*array.*negative.*\r?\n'
173 r'(.*\n)*?' +
175 r'note: in instantiation of function template specialization '
176 r'\'testing::internal::ReturnAction<(?P<type>).*>'
177 r'::operator Action<.*>\' requested here')
190 gcc_regex = (_GCC_FILE_LINE_RE + r'(instantiated from here\n.'
191 r'*gmock.*actions\.h.*error: void value not ignored)'
192 r'|(error: control reaches end of non-void function)')
194 r'error: cannot initialize return object '
195 r'of type \'Result\' \(aka \'(?P<return_type>).*\'\) '
196 r'with an rvalue of type \'void\'')
198 r'error: cannot initialize return object '
199 r'of type \'(?P<return_type>).*\' '
200 r'with an rvalue of type \'void\'')
217 gcc_regex = (_GCC_FILE_LINE_RE + r'instantiated from here\n'
218 r'.*gmock-actions\.h.*error: instantiation of '
219 r'\'testing::internal::ReturnAction<R>::Impl<F>::value_\' '
220 r'as type \'void\'')
221 clang_regex1 = (r'error: field has incomplete type '
222 r'\'Result\' \(aka \'void\'\)(\r)?\n'
223 r'(.*\n)*?' +
224 _CLANG_NON_GMOCK_FILE_LINE_RE + r'note: in instantiation '
225 r'of function template specialization '
226 r'\'testing::internal::ReturnAction<(?P<return_type>.*)>'
227 r'::operator Action<void \(.*\)>\' requested here')
228 clang_regex2 = (r'error: field has incomplete type '
229 r'\'Result\' \(aka \'void\'\)(\r)?\n'
230 r'(.*\n)*?' +
231 _CLANG_NON_GMOCK_FILE_LINE_RE + r'note: in instantiation '
232 r'of function template specialization '
233 r'\'testing::internal::DoBothAction<.*>'
234 r'::operator Action<(?P<return_type>.*) \(.*\)>\' '
235 r'requested here')
254 gcc_regex = (_GCC_FILE_LINE_RE + r'instantiated from here\n'
255 r'.*gtest-printers\.h.*error: invalid application of '
256 r'\'sizeof\' to incomplete type \'(?P<type>.*)\'')
258 clang_regex = (r'.*gtest-printers\.h.*error: invalid application of '
259 r'\'sizeof\' to an incomplete type '
260 r'\'(?P<type>.*)( const)?\'\r?\n'
261 r'(.*\n)*?' +
263 r'note: in instantiation of member function '
264 r'\'testing::internal2::TypeWithoutFormatter<.*>::'
265 r'PrintValue\' requested here')
281 gcc_regex = (_GCC_FILE_LINE_RE + r'error: no matching function for '
282 r'call to \'Truly\(<unresolved overloaded function type>\)')
283 clang_regex = (_CLANG_FILE_LINE_RE + r'error: no matching function for '
284 r'call to \'Truly')
302 gcc_regex = (_GCC_FILE_LINE_RE + r'error: no matching function for call to '
303 r'\'Invoke\(<unresolved overloaded function type>')
304 clang_regex = (_CLANG_FILE_LINE_RE + r'error: no matching '
305 r'function for call to \'Invoke\'\r?\n'
306 r'(.*\n)*?'
307 r'.*\bgmock-\w+-actions\.h:\d+:\d+:\s+'
308 r'note: candidate template ignored:\s+'
309 r'couldn\'t infer template argument \'FunctionImpl\'')
327 gcc_regex = (_GCC_FILE_LINE_RE + r'error: no matching function for '
328 r'call to \'Invoke\(.+, <unresolved overloaded function '
329 r'type>\)')
330 clang_regex = (_CLANG_FILE_LINE_RE + r'error: no matching function '
331 r'for call to \'Invoke\'\r?\n'
332 r'(.*\n)*?'
333 r'.*\bgmock-\w+-actions\.h:\d+:\d+: '
334 r'note: candidate function template not viable: '
335 r'requires 1 argument, but 2 were provided')
356 gcc_regex = (_GCC_FILE_LINE_RE + r'error: request for member '
357 r'\'gmock_(?P<method>.+)\' in \'(?P<mock_object>.+)\', '
358 r'which is of non-class type \'(.*::)*(?P<class_name>.+)\*\'')
359 clang_regex = (_CLANG_FILE_LINE_RE + r'error: member reference type '
360 r'\'(?P<class_name>.*?) *\' is a pointer; '
361 r'maybe you meant to use \'->\'\?')
395 gcc_regex = (_GCC_FILE_LINE_RE + r'error: \'(?P<symbol>.+)\' '
396 r'(was not declared in this scope|has not been declared)')
397 clang_regex = (_CLANG_FILE_LINE_RE + r'error: use of undeclared identifier '
398 r'\'(?P<symbol>.+)\'')
416 _GCC_FILE_LINE_RE + r'instantiated from here\n'
417 r'.*error: no matching function for call to \'ImplicitCast_\('
418 r'long int&\)')
419 clang_regex = (r'\bgmock-actions.h:.* error: no matching function for '
420 r'call to \'ImplicitCast_\'\r?\n'
421 r'(.*\n)*?' +
422 _CLANG_NON_GMOCK_FILE_LINE_RE + r'note: in instantiation '
423 r'of function template specialization '
424 r'\'testing::internal::ReturnAction<long>::operator '
425 r'Action<(?P<type>.*)\(\)>\' requested here')
443 r'In member function \'int .*\n' + _GCC_FILE_LINE_RE +
444 r'error: a function call cannot appear in a constant-expression')
446 r'error: a function call cannot appear in a constant-expression'
447 + _GCC_FILE_LINE_RE + r'error: template argument 1 is invalid\n')
452 r'error: \'(?P<type>.+)\' was not declared in this scope\n'
453 r'.*error: template argument 1 is invalid\n')
457 r'error: expected `;\' before \'::\' token\n'
459 r'error: \'(?P<type>.+)\' was not declared in this scope\n'
460 r'.*error: template argument 1 is invalid\n'
461 r'.*error: \'.+\' was not declared in this scope')
464 r'error: use of undeclared identifier \'(?P<type>.*)\'\n'
465 r'(.*\n)*?'
466 r'(?P=file):(?P=line):\d+: error: '
467 r'non-friend class member \'Result\' cannot have a qualified name'
471 r'error: C\+\+ requires a type specifier for all declarations\n'
472 r'(.*\n)*?'
473 r'(?P=file):(?P=line):(?P=column): error: '
474 r'C\+\+ requires a type specifier for all declarations'
500 r'.*this_method_does_not_take_(?P<wrong_args>\d+)_argument.*\n'
501 r'.*\n'
502 r'.*candidates are.*FunctionMocker<[^>]+A(?P<args>\d+)\)>')
504 r'error:.*array.*negative.*r?\n'
505 r'(.*\n)*?'
506 r'(?P=file):(?P=line):(?P=column): error: too few arguments '
507 r'to function call, expected (?P<args>\d+), '
508 r'have (?P<wrong_args>\d+)')
523 r'error:.*testing::internal::MockSpec<.* has no member named \''
524 r'(?P<method>\w+)\'')
526 r'error: no member named \'(?P<method>\w+)\' in '
527 r'\'testing::internal::MockSpec<.*>\'')
560 msg = re.sub(r'\x1b\[[^m]*m', '', msg) # Strips all color formatting.