summaryrefslogtreecommitdiff
path: root/libadhocutil/unittests/testCompileTimeFormatter.cpp
Commit message (Collapse)AuthorAge
* Remove all pre-C++20 compile time formatter supportDan Goodliffe2022-02-07
|
* Add stub header for all header only fileslibadhocutil-0.8.6Dan Goodliffe2021-09-25
|
* Add -WpedanticDan Goodliffe2021-09-12
|
* Fix conversions in everything but uriParseDan Goodliffe2021-09-09
|
* Add -Wold-style-cast and fix up mess, mostly glib stuffDan Goodliffe2021-09-07
|
* pass iwyulibadhocutil-0.8.4Dan Goodliffe2021-04-11
|
* Pass a cppchecklibadhocutil-0.8.1Dan Goodliffe2020-06-19
|
* Clang-formatDan Goodliffe2020-06-17
|
* Add [s]cprintf functionsDan Goodliffe2020-03-28
|
* C++ fixed string literal CTFDan Goodliffe2020-03-28
|
* Wrap Formatter with as FormatterDetailDan Goodliffe2020-03-28
| | | | Fixes some signedness issues around searching strings.
* Fixes for tidyDan Goodliffe2020-03-28
|
* Big modernize and tidyDan Goodliffe2020-02-15
|
* Lots more clang tidy fixesDan Goodliffe2019-03-03
|
* More clang-tidy WIPDan Goodliffe2019-02-12
|
* Enable some clang-tidy checks and fix up accordinglyDan Goodliffe2019-02-12
|
* Explicitly disable stream operator() of formatterlibadhocutil-0.7.0Dan Goodliffe2019-02-04
| | | | | When stream type does not have a write member, prevents failure when overload matches call because first argument can passed by non-const reference.
* Remove boost::filesystem in favour of std::filesystemDan Goodliffe2019-01-29
|
* Literal operator based inline formattingDan Goodliffe2019-01-18
|
* Support scprintf macro for format string with no argsDan Goodliffe2018-09-04
|
* scprintf macro with non-variableDan Goodliffe2018-09-04
| | | | | Updates scprintf macro to handle the case where strm isn't a variable and thus cannot be captured, instead passing it as a parameter to the lambda.
* Greatly improved CTF printf supportDan Goodliffe2018-09-03
|
* Add basic support for setting the width/precision in the format stringDan Goodliffe2018-08-31
|
* Add the scprintf macroDan Goodliffe2018-08-20
| | | | | Clang/LLVM only macro which allows a more pure use of CTF with everything inline. e.g. scprintf(str, "Number = %d", n)
* Fix parameter type (length) passed into format testDan Goodliffe2018-08-20
|
* CTF printfDan Goodliffe2018-07-04
| | | | Adds support for a lot (but not all) of printf like formatters
* Any stream type with CTFDan Goodliffe2018-06-17
| | | | | | Minor alteration to allow for custom helpers. Then a unit test to demonstrate that with suitable helpers, a CTF can operate on any stream type, such as a stdio FILE.
* Lorem Ipsum testDan Goodliffe2018-06-17
| | | | | | Adds test case when formatter content is generated from a simple .txt file using xxd. The header is simply including and processed as a string literal.
* Add template string utilsDan Goodliffe2018-06-16
|
* Template strings don't need to be extern C++17, just constexprDan Goodliffe2018-06-16
|
* Use check, not require in CTF testsDan Goodliffe2018-06-16
|
* Add macros to ease declartion of formattersDan Goodliffe2016-12-30
|
* Return stream to ease inliningDan Goodliffe2016-12-30
|
* Add helper for simply returning a formatted string (sprintf style)Dan Goodliffe2016-12-30
|
* Macro helper for easily adding new formatters that take a single character ↵Dan Goodliffe2016-12-09
| | | | parameter from the format string
* Macro helper for easily adding new formattersDan Goodliffe2016-12-09
|
* Test a formatter can be typedef'edDan Goodliffe2016-12-09
|
* Tidy testsDan Goodliffe2016-12-09
|
* Provide a way of formatting a literal percent signDan Goodliffe2016-12-09
|
* Pass format string as template argument into writer to avoid copying out ↵Dan Goodliffe2016-12-09
| | | | bytes from stream write
* Bit messy and fiddly, but removes the template string length limit of (just ↵Dan Goodliffe2016-12-09
| | | | under) compile time template-depth
* Refactor to avoid hitting the template depth limit so earlyDan Goodliffe2016-12-08
|
* Adds support for the compile time formatterDan Goodliffe2016-12-07