Lines Matching refs:msg
144 def _GenericDiagnoser(short_name, long_name, diagnoses, msg):
154 msg: Compiler's error messages.
160 if re.search(regex, msg):
162 for m in _FindAllMatches(regex, msg):
166 def _NeedToReturnReferenceDiagnoser(msg):
188 msg)
191 def _NeedToReturnSomethingDiagnoser(msg):
215 msg)
218 def _NeedToReturnNothingDiagnoser(msg):
252 msg)
255 def _IncompleteByReferenceArgumentDiagnoser(msg):
279 msg)
282 def _OverloadedFunctionMatcherDiagnoser(msg):
300 msg)
303 def _OverloadedFunctionActionDiagnoser(msg):
325 msg)
328 def _OverloadedMethodActionDiagnoser(msg):
354 msg)
357 def _MockObjectPointerDiagnoser(msg):
393 msg)
396 def _NeedToUseSymbolDiagnoser(msg):
409 for m in (list(_FindAllMatches(gcc_regex, msg)) +
410 list(_FindAllMatches(clang_regex, msg))):
416 def _NeedToUseReturnNullDiagnoser(msg):
439 msg)
442 def _TypeInTemplatedBaseDiagnoser(msg):
502 msg):
505 for m in _FindAllMatches(clang_regex_unknown_type, msg):
511 def _WrongMockMethodMacroDiagnoser(msg):
536 msg)
539 def _WrongParenPositionDiagnoser(msg):
557 msg)
577 def Diagnose(msg):
580 msg = re.sub(r'\x1b\[[^m]*m', '', msg) # Strips all color formatting.
583 msg = re.sub(r'(\xe2\x80\x98|\xe2\x80\x99)', "'", msg)
587 for diag in diagnoser(msg):
604 msg = sys.stdin.read().strip()
605 diagnoses = Diagnose(msg)
618 win-win for us!""" % (msg, _EMAIL))