Commit Graph

334 Commits

Author SHA1 Message Date
Victor Zverovich
e7e270f511 Test error on invalid type spec and remove unused alias 2017-11-19 08:25:34 -08:00
Victor Zverovich
692b82d32c UdlArg -> udl_arg 2017-11-19 08:02:07 -08:00
Victor Zverovich
c523dd584f Use error handler to report errors 2017-11-19 07:36:01 -08:00
Victor Zverovich
5a32e64b05 More tests 2017-11-19 07:03:12 -08:00
Victor Zverovich
093e2a4780 Improve error handling 2017-11-18 09:16:35 -08:00
Victor Zverovich
39411504a5 More tests 2017-11-18 08:16:59 -08:00
Victor Zverovich
e3eb5ea074 Add parse_context::error_handler() 2017-11-18 06:58:14 -08:00
Victor Zverovich
734e722da4 Fix warnings 2017-11-18 06:56:29 -08:00
Victor Zverovich
62af25dca8 Workaround yet another MSVC internal error 2017-11-18 06:31:47 -08:00
Victor Zverovich
594bd8feba More tests 2017-11-16 06:55:49 -08:00
Victor Zverovich
f2b52bba05 More tests 2017-11-15 07:06:03 -08:00
Victor Zverovich
7967c2f874 Disable test that triggers an MSVC bug 2017-11-12 09:47:15 -08:00
Victor Zverovich
18a0b94b0e Fix overflow check 2017-11-12 09:25:28 -08:00
Victor Zverovich
686ff942af Fix compile-time parsing and add more tests 2017-11-11 11:40:56 -08:00
Victor Zverovich
5b95b5d77c Test compile-time errors 2017-11-11 10:28:05 -08:00
Victor Zverovich
246bdafc74 Add FMT_STRING macro for compile-time strings 2017-11-11 07:39:12 -08:00
Victor Zverovich
9fda7a36fd Check integral type specs at compile time 2017-11-08 07:58:09 -08:00
Victor Zverovich
92847a0d11 Add integral type handler 2017-11-08 05:56:52 -08:00
Victor Zverovich
a03842b0d5 More compile-time checks 2017-11-05 13:26:19 -08:00
Victor Zverovich
1c855a4762 Integrate constexpr format specs parsing 2017-11-05 09:28:50 -08:00
Victor Zverovich
780b44bf82 Add compile-time format string check 2017-11-04 09:02:47 -07:00
Victor Zverovich
8ca6e76dbc Detect user-defined literal templates 2017-11-04 08:23:24 -07:00
Victor Zverovich
a7e986166a Workaround another MSVC madness 2017-10-29 08:19:55 -07:00
Victor Zverovich
db9ffa1405 Make parse_format_string constexpr 2017-10-29 07:32:14 -07:00
Victor Zverovich
e926ae78ac Add parse_format_string 2017-10-29 07:00:47 -07:00
Victor Zverovich
57e266ab1d Rename handlers 2017-10-27 06:44:00 -07:00
Victor Zverovich
aadb38a5e6 Make specs_checker constexpr 2017-10-24 07:46:30 -07:00
Victor Zverovich
dd0b72e1ee Remove refactoring artefacts 2017-10-22 14:44:52 -07:00
Victor Zverovich
529d88ce95 Make dynamic_format_specs construction constexpr 2017-10-22 10:19:09 -07:00
Victor Zverovich
d2f2a8b0ca constexpr support of dynamic width and precision 2017-10-22 09:32:46 -07:00
Victor Zverovich
6b3840b73c Make format_specs construction constexpr 2017-10-22 08:18:26 -07:00
Victor Zverovich
a38bd9ca24 Fix formatting and naming 2017-10-22 07:19:45 -07:00
Victor Zverovich
932ab2bfca Report error from parse_nonnegative_int via handler 2017-10-21 08:37:52 -07:00
Victor Zverovich
170f5c671f Move headers to include/fmt 2017-10-21 07:38:49 -07:00