Searched refs:ModifierLen (Results 1 – 1 of 1) sorted by relevance
/external/clang/lib/Basic/ |
D | Diagnostic.cpp | 411 static bool ModifierIs(const char *Modifier, unsigned ModifierLen, in ModifierIs() argument 413 return StrLen-1 == ModifierLen && !memcmp(Modifier, Str, StrLen-1); in ModifierIs() 698 unsigned ModifierLen = 0, ArgumentLen = 0; in FormatDiagnostic() local 706 ModifierLen = DiagStr-Modifier; in FormatDiagnostic() 727 if (ModifierIs(Modifier, ModifierLen, "diff")) { in FormatDiagnostic() 760 assert(ModifierLen == 0 && "No modifiers for strings yet"); in FormatDiagnostic() 766 assert(ModifierLen == 0 && "No modifiers for strings yet"); in FormatDiagnostic() 779 if (ModifierIs(Modifier, ModifierLen, "select")) { in FormatDiagnostic() 782 } else if (ModifierIs(Modifier, ModifierLen, "s")) { in FormatDiagnostic() 784 } else if (ModifierIs(Modifier, ModifierLen, "plural")) { in FormatDiagnostic() [all …]
|