Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+
cxx/Macros.cxx
: Unit tests. ?cxx/Macros.hxx
:
Refactor, cleanup, misc fixes: Move `#include`'s to top (thus `namespace Susuwu {}` doesn't contain `#include`): ?`macrosNoUniqueAddressTest`: separate from `SUSUWU_CXX20`, ?`SUSUWU_CXX*`: move to top (due to `#include`), terminate English sentences (but not acronyms or source code) in comments with `.`, move `NOLINTBEGIN` out of `#if` block (it was in the block since the first diagnostic which it silences is in the block, but `NOLINTEND` isn't in the block), group `#define __WIN32__` close to `#define __POSIX_SOURCE`, remove extra `#define __POSIX_SOURCE`, ?`SUSUWU_PRAGMA`, ?`SUSUWU_SH_ST`: comment has English fix, ?`SUSUWU_SH_RUNTIME_COLORS`, ?`SUSUWU_SH_RUNTIME_OSC`: upgrade `#pragma message` (for early users) from `Notice:` to `Info:`. ?`SUSUWU_UNREACHABLE`: "warning: found assert() that could be replaced by static_assert() [cert-dcl03-c,hicpp-static-assert,misc-static-assert]": suppress (can not use `static_assert` for this). ?`cxx/Macros.*xx`: ?`macrosNoUniqueAddressTest`: is now `static`, move into `cxx/Macros.cxx`. +`macroTestsNoexcept`: has macro tests which were in `testHarnesses`, calls `macrosNoUniqueAddressTest`. ?`cxx/main.cxx`: ?`testHarnesses`: now calls `macroTestsNoexcept`. was `[[noreturn]]`, now has `return 0;`. comment purpose of `std::flush`. ?`build.sh`: compile `cxx/Macros.cxx` into `Macros.o`, link `Macros.o` into `a.out`. ?`posts/VirusAnalysis.md`: include all this, except 100 lines of: unused OSC `sh` commands + disabled colors. Is progress to issue #14 . Is followup to bdfb817 (?`cxx/Macros`: +`macrosNoUniqueAddressTest()`:) c23165a (Prefix `SUSUWU_` to macros) 7dcf2bc (...test `NOEXCEPT(condition)`.) ce649ab (?cxx/Macros.hxx `clang-tidy` fixes).
- Loading branch information