/llvm-project/libcxx/test/std/utilities/format/format.functions/ |
H A D | formatted_size.verify.cpp | 29 TEST_IGNORE_NODISCARD std::formatted_size("{"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 32 TEST_IGNORE_NODISCARD std::formatted_size("}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 35 TEST_IGNORE_NODISCARD std::formatted_size("{}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 38 TEST_IGNORE_NODISCARD std::formatted_size("{0}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 41 TEST_IGNORE_NODISCARD std::formatted_size("{:-}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 44 TEST_IGNORE_NODISCARD std::formatted_size("{:#}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 47 TEST_IGNORE_NODISCARD std::formatted_size("{:L}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 50 TEST_IGNORE_NODISCARD std::formatted_size("{0:{0}}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 53 TEST_IGNORE_NODISCARD std::formatted_size("{:.42d}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 56 TEST_IGNORE_NODISCARD std::formatted_size("{:d}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 60 TEST_IGNORE_NODISCARD std::formatted_size(L"{"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 63 TEST_IGNORE_NODISCARD std::formatted_size(L"}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 66 TEST_IGNORE_NODISCARD std::formatted_size(L"{}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 69 TEST_IGNORE_NODISCARD std::formatted_size(L"{0}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 72 TEST_IGNORE_NODISCARD std::formatted_size(L"{:-}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 75 TEST_IGNORE_NODISCARD std::formatted_size(L"{:#}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 78 TEST_IGNORE_NODISCARD std::formatted_size(L"{:L}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 81 TEST_IGNORE_NODISCARD std::formatted_size(L"{0:{0}}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 84 TEST_IGNORE_NODISCARD std::formatted_size(L"{:.42d}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 87 TEST_IGNORE_NODISCARD std::formatted_size(L"{:d}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std [all...] |
H A D | formatted_size.locale.verify.cpp | 33 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), "{"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 36 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), "}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 39 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), "{}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 42 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), "{0}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 45 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), "{:-}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 48 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), "{:#}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 51 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), "{:L}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 54 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), "{0:{0}}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 57 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), "{:.42d}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 60 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), "{:d}", "Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 64 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), L"{"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 67 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), L"}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 70 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), L"{}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 73 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), L"{0}"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 76 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), L"{:-}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 79 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), L"{:#}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 82 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), L"{:L}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 85 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), L"{0:{0}}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 88 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), L"{:.42d}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std 91 TEST_IGNORE_NODISCARD std::formatted_size(std::locale(), L"{:d}", L"Forty-two"); // expected-error-re{{call to consteval function '{{.*}}' is not a constant expression}} f() member in f::std [all...] |
H A D | format_to_n.pass.cpp | 44 diff_type formatted_size = std::formatted_size(fmt, std::forward<Args>(args)...); global() variable 53 diff_type formatted_size = std::formatted_size(fmt, std::forward<Args>(args)...); global() variable 63 diff_type formatted_size = std::formatted_size(fmt, std::forward<Args>(args)...); global() variable 74 diff_type formatted_size = std::formatted_size(fmt, std::forward<Args>(args)...); global() variable 88 diff_type formatted_size = std::formatted_size(fmt, std::forward<Args>(args)...); global() variable [all...] |
H A D | format_to_n.locale.pass.cpp | 46 diff_type formatted_size = std::formatted_size(std::locale(), fmt, std::forward<Args>(args)...); global() variable 56 diff_type formatted_size = std::formatted_size(std::locale(), fmt, std::forward<Args>(args)...); global() variable 67 diff_type formatted_size = std::formatted_size(std::locale(), fmt, std::forward<Args>(args)...); global() variable 79 diff_type formatted_size = std::formatted_size(std::locale(), fmt, std::forward<Args>(args)...); global() variable 93 diff_type formatted_size = std::formatted_size(std::locale(), fmt, std::forward<Args>(args)...); global() variable [all...] |
H A D | locale-specific_form.pass.cpp | 162 diff_type formatted_size = std::formatted_size(fmt, std::forward<Args>(args)...); test() local 212 diff_type formatted_size = std::formatted_size(loc, fmt, std::forward<Args>(args)...); test() local [all...] |
/llvm-project/libcxx/include/__format/ |
H A D | format_functions.h | 522 formatted_size(format_string<_Args...> __fmt, _Args&&... __args) { formatted_size() function 529 formatted_size(wformat_string<_Args...> __fmt, _Args&&... __args) { formatted_size() function 660 formatted_size(locale __loc, format_string<_Args...> __fmt, _Args&&... __args) { formatted_size() function 667 formatted_size(locale __loc, wformat_string<_Args...> __fmt, _Args&&... __args) { formatted_size() function
|