Commit Graph

18 Commits

Author SHA1 Message Date
Robert Schumacher
bf924ce9a6 [vcpkg] check_exit should accept explicitly-convertible-to-bool 2017-04-30 03:37:58 -07:00
Alexander Karatarakis
75e8752cb9 Run clang-format over the headers. Remove stray Version.h/cpp. Fix location of VersionT.cpp 2017-04-27 18:59:57 -07:00
Alexander Karatarakis
604d0e58da cstring_view -> CStringView 2017-04-04 16:44:41 -07:00
Robert Schumacher
31e55704f5 Use [[noreturn]] instead of declspec(noreturn) 2017-03-31 17:19:03 -07:00
Robert Schumacher
9b62a4b207 Remove Checks::check_throw() and Checks::throw_with_message() 2017-03-31 17:01:03 -07:00
Alexander Karatarakis
db4d1df5f0 Remove unneeded calls to c_str() 2017-03-28 18:48:03 -07:00
Alexander Karatarakis
780ef97d1b Use cstring_view in all functions in Checks:: 2017-03-28 18:48:03 -07:00
Alexander Karatarakis
aa33a8425f Fix erroneous return statement 2017-03-22 17:19:30 -07:00
Alexander Karatarakis
197d471b42 Introduce Checks::exit_with_code() and exit_fail()/exit_success() 2017-03-22 17:18:01 -07:00
Alexander Karatarakis
4114d87a07 All Checks now take LineInfo as the first argument 2017-03-13 17:56:21 -07:00
Alexander Karatarakis
8e8debc848 Put LineInfo in separate h/cpp 2017-03-13 17:56:21 -07:00
Alexander Karatarakis
d15818c602 Checks::unreachable() now needs LineInfo as an argument 2017-03-13 17:56:21 -07:00
Alexander Karatarakis
4ee9c451fc Rename LINE_INFO to VCPKG_LINE_INFO to avoid conflict with CppUnitTestAssert.h 2017-03-13 17:56:21 -07:00
Alexander Karatarakis
e3bba294b4 Introduce LINE_INFO macro + struct 2017-03-13 16:04:29 -07:00
Alexander Karatarakis
af583825a7 [Checks] Add check_exit() overload with no message 2017-02-13 14:05:27 -08:00
Alexander Karatarakis
0b5e2e9e76 Use nested namespace definition 2017-01-05 12:55:28 -08:00
Alexander Karatarakis
6a45620ce2 Fix overload of Checks::exit_with_message 2016-10-14 13:28:44 -07:00
Alexander Karatarakis
ccca198c1b Initial commit 2016-09-18 20:54:03 -07:00