Searched refs:ModifierLen (Results 1 – 1 of 1) sorted by relevance
/external/clang/lib/Basic/ |
D | Diagnostic.cpp | 412 static bool ModifierIs(const char *Modifier, unsigned ModifierLen, in ModifierIs() argument 414 return StrLen-1 == ModifierLen && !memcmp(Modifier, Str, StrLen-1); in ModifierIs() 699 unsigned ModifierLen = 0, ArgumentLen = 0; in FormatDiagnostic() local 707 ModifierLen = DiagStr-Modifier; in FormatDiagnostic() 728 if (ModifierIs(Modifier, ModifierLen, "diff")) { in FormatDiagnostic() 761 assert(ModifierLen == 0 && "No modifiers for strings yet"); in FormatDiagnostic() 767 assert(ModifierLen == 0 && "No modifiers for strings yet"); in FormatDiagnostic() 780 if (ModifierIs(Modifier, ModifierLen, "select")) { in FormatDiagnostic() 783 } else if (ModifierIs(Modifier, ModifierLen, "s")) { in FormatDiagnostic() 785 } else if (ModifierIs(Modifier, ModifierLen, "plural")) { in FormatDiagnostic() [all …]
|