Home
last modified time | relevance | path

Searched refs:ModifierLen (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Basic/
DDiagnostic.cpp398 static bool ModifierIs(const char *Modifier, unsigned ModifierLen, in ModifierIs() argument
400 return StrLen-1 == ModifierLen && !memcmp(Modifier, Str, StrLen-1); in ModifierIs()
685 unsigned ModifierLen = 0, ArgumentLen = 0; in FormatDiagnostic() local
693 ModifierLen = DiagStr-Modifier; in FormatDiagnostic()
714 if (ModifierIs(Modifier, ModifierLen, "diff")) { in FormatDiagnostic()
747 assert(ModifierLen == 0 && "No modifiers for strings yet"); in FormatDiagnostic()
753 assert(ModifierLen == 0 && "No modifiers for strings yet"); in FormatDiagnostic()
766 if (ModifierIs(Modifier, ModifierLen, "select")) { in FormatDiagnostic()
769 } else if (ModifierIs(Modifier, ModifierLen, "s")) { in FormatDiagnostic()
771 } else if (ModifierIs(Modifier, ModifierLen, "plural")) { in FormatDiagnostic()
[all …]