Searched refs:ModifierLen (Results 1 – 1 of 1) sorted by relevance
/external/clang/lib/Basic/ |
D | Diagnostic.cpp | 396 static bool ModifierIs(const char *Modifier, unsigned ModifierLen, in ModifierIs() argument 398 return StrLen-1 == ModifierLen && !memcmp(Modifier, Str, StrLen-1); in ModifierIs() 668 unsigned ModifierLen = 0, ArgumentLen = 0; in FormatDiagnostic() local 676 ModifierLen = DiagStr-Modifier; in FormatDiagnostic() 697 if (ModifierIs(Modifier, ModifierLen, "diff")) { in FormatDiagnostic() 730 assert(ModifierLen == 0 && "No modifiers for strings yet"); in FormatDiagnostic() 736 assert(ModifierLen == 0 && "No modifiers for strings yet"); in FormatDiagnostic() 749 if (ModifierIs(Modifier, ModifierLen, "select")) { in FormatDiagnostic() 752 } else if (ModifierIs(Modifier, ModifierLen, "s")) { in FormatDiagnostic() 754 } else if (ModifierIs(Modifier, ModifierLen, "plural")) { in FormatDiagnostic() [all …]
|