diff options
-rw-r--r-- | .clang-tidy | 2 | ||||
-rw-r--r-- | include/afio/revision.hpp | 6 | ||||
-rw-r--r-- | include/afio/v2.0/algorithm/trivial_vector.hpp | 2 | ||||
-rw-r--r-- | include/afio/v2.0/async_file_handle.hpp | 1 | ||||
-rw-r--r-- | include/afio/v2.0/config.hpp | 3 | ||||
m--------- | include/afio/v2.0/outcome | 0 | ||||
-rw-r--r-- | include/afio/v2.0/path_discovery.hpp | 2 | ||||
m--------- | include/afio/v2.0/quickcpplib | 0 | ||||
m--------- | test/kerneltest | 0 |
9 files changed, 10 insertions, 6 deletions
diff --git a/.clang-tidy b/.clang-tidy index 75b58269..edccbd51 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,5 +1,5 @@ --- -Checks: '*,-llvm-header-guard,-google-build-using-namespace,-clang-analyzer-alpha.clone.CloneChecker,-google-runtime-int,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-clang-analyzer-alpha.deadcode.UnreachableCode,-misc-use-after-move,-cppcoreguidelines-pro-type-vararg,-modernize-use-emplace,-cert-err60-cpp,-cppcoreguidelines-pro-type-union-access' +Checks: '*,-llvm-header-guard,-google-build-using-namespace,-clang-analyzer-alpha.clone.CloneChecker,-google-runtime-int,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-clang-analyzer-alpha.deadcode.UnreachableCode,-misc-use-after-move,-cppcoreguidelines-pro-type-vararg,-modernize-use-emplace,-cert-err60-cpp,-cppcoreguidelines-pro-type-union-access,-fuchsia-*' WarningsAsErrors: '' HeaderFilterRegex: '.*' AnalyzeTemporaryDtors: true diff --git a/include/afio/revision.hpp b/include/afio/revision.hpp index 71514d93..a040d7e0 100644 --- a/include/afio/revision.hpp +++ b/include/afio/revision.hpp @@ -1,4 +1,4 @@ // Note the second line of this file must ALWAYS be the git SHA, third line ALWAYS the git SHA update time -#define AFIO_PREVIOUS_COMMIT_REF e8781ce01ebf14aa983f3bcb88dbfc87527ffd4d -#define AFIO_PREVIOUS_COMMIT_DATE "2017-12-05 22:12:36 +00:00" -#define AFIO_PREVIOUS_COMMIT_UNIQUE e8781ce0 +#define AFIO_PREVIOUS_COMMIT_REF bc1c07a9946dd557ed11c76aacd43dfb1e7feb47 +#define AFIO_PREVIOUS_COMMIT_DATE "2017-12-06 09:23:25 +00:00" +#define AFIO_PREVIOUS_COMMIT_UNIQUE bc1c07a9 diff --git a/include/afio/v2.0/algorithm/trivial_vector.hpp b/include/afio/v2.0/algorithm/trivial_vector.hpp index 0dd3cd8c..01f57aab 100644 --- a/include/afio/v2.0/algorithm/trivial_vector.hpp +++ b/include/afio/v2.0/algorithm/trivial_vector.hpp @@ -29,7 +29,7 @@ Distributed under the Boost Software License, Version 1.0. #include "../utils.hpp" -//! \file vector.hpp Provides constant time reallocating STL vector. +//! \file trivial_vector.hpp Provides constant time reallocating STL vector. AFIO_V2_NAMESPACE_BEGIN diff --git a/include/afio/v2.0/async_file_handle.hpp b/include/afio/v2.0/async_file_handle.hpp index 4763359d..b8274d2d 100644 --- a/include/afio/v2.0/async_file_handle.hpp +++ b/include/afio/v2.0/async_file_handle.hpp @@ -351,6 +351,7 @@ public: has acknowledged the data is physically written. Slow. \param and_metadata True if you want the call to sync the metadata for retrieving the writes before the barrier after a sudden power loss event. Slow. + \param mem Optional span of memory to use to avoid using `calloc()`. Note span MUST be all bits zero on entry. \errors As for `barrier()`, plus `ENOMEM`. \mallocs If mem is not set, one calloc, one free. The allocation is unavoidable due to the need to store a type erased completion handler of unknown type and state per buffers input. diff --git a/include/afio/v2.0/config.hpp b/include/afio/v2.0/config.hpp index 3787d9b9..b4319724 100644 --- a/include/afio/v2.0/config.hpp +++ b/include/afio/v2.0/config.hpp @@ -40,6 +40,9 @@ Distributed under the Boost Software License, Version 1.0. //! \def AFIO_DISABLE_PATHS_IN_FAILURE_INFO //! \brief Define to not record the current handle's path in any failure info. +#if DOXYGEN_IS_IN_THE_HOUSE +#define AFIO_DISABLE_PATHS_IN_FAILURE_INFO not defined +#endif #if !defined(AFIO_LOGGING_LEVEL) //! \brief How much detail to log. 0=disabled, 1=fatal, 2=error, 3=warn, 4=info, 5=debug, 6=all. diff --git a/include/afio/v2.0/outcome b/include/afio/v2.0/outcome -Subproject 574ff03333a35cd52427e35f452dff50551d640 +Subproject 388d38aeb760fca60246c473aab128a2736f7ba diff --git a/include/afio/v2.0/path_discovery.hpp b/include/afio/v2.0/path_discovery.hpp index a7f71c4b..02820f07 100644 --- a/include/afio/v2.0/path_discovery.hpp +++ b/include/afio/v2.0/path_discovery.hpp @@ -85,7 +85,7 @@ namespace path_discovery cost occurs exactly once per process, unless someone calls `all_temporary_directories(true)` to wipe and refresh the master list. An internal mutex is held for the duration of this call. \mallocs None. - \error This call never fails, though if it fails to find any writable temporary directory, it will + \errors This call never fails, though if it fails to find any writable temporary directory, it will terminate the process. */ AFIO_HEADERS_ONLY_FUNC_SPEC span<discovered_path> verified_temporary_directories() noexcept; diff --git a/include/afio/v2.0/quickcpplib b/include/afio/v2.0/quickcpplib -Subproject d7b9bf61dd37e60baf541fd3bf1ea721426d41c +Subproject ea04e7c6674114a5cbafc9adcc15044abe219c9 diff --git a/test/kerneltest b/test/kerneltest -Subproject 25cda1122c4386d09178544317a4e8f677372b9 +Subproject 9ebc2876642f3497f52000af0e12f4494aa918b |