reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
124 static std::vector<ReplacementItem> parseFormatString(StringRef Fmt);
92 : Fmt(Fmt), Replacements(parseFormatString(Fmt)) {
unittests/Support/FormatVariadicTest.cpp39 auto Replacements = formatv_object_base::parseFormatString(""); 45 auto Replacements = formatv_object_base::parseFormatString(kFormatString); 53 auto Replacements = formatv_object_base::parseFormatString("{{"); 59 Replacements = formatv_object_base::parseFormatString("{{{{{{"); 67 auto Replacements = formatv_object_base::parseFormatString("{0}"); 74 Replacements = formatv_object_base::parseFormatString("{1}"); 83 Replacements = formatv_object_base::parseFormatString("{0,3}"); 92 Replacements = formatv_object_base::parseFormatString("{0,-3}"); 101 Replacements = formatv_object_base::parseFormatString("{0,=3}"); 110 Replacements = formatv_object_base::parseFormatString("{0:foo}"); 119 Replacements = formatv_object_base::parseFormatString("{0,-3:foo}"); 128 Replacements = formatv_object_base::parseFormatString("{ 0, -3 : foo }"); 138 Replacements = formatv_object_base::parseFormatString("{0:0:1}"); 148 Replacements = formatv_object_base::parseFormatString("{0,p+4:foo}"); 159 Replacements = formatv_object_base::parseFormatString("{0,-+4:foo}"); 169 Replacements = formatv_object_base::parseFormatString("{0,+-4:foo}"); 179 Replacements = formatv_object_base::parseFormatString("{0,==4:foo}"); 189 Replacements = formatv_object_base::parseFormatString("{0,:=4:foo}"); 202 auto Replacements = formatv_object_base::parseFormatString("{0,3}"); 210 Replacements = formatv_object_base::parseFormatString("{0,3:}"); 218 Replacements = formatv_object_base::parseFormatString("{0:foo}"); 230 formatv_object_base::parseFormatString("{0} {1:foo}-{2,-3:bar}");