style: clang-tidy auto fixes (#1530)

Fixes #1529. 
---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sergey Kuznetsov <skuznetsov@ripple.com>
This commit is contained in:
github-actions[bot]
2024-07-10 11:42:39 +01:00
committed by GitHub
parent e85f6cd9e4
commit d227c53ef3
4 changed files with 4 additions and 3 deletions

View File

@@ -142,7 +142,7 @@ CheckOptions:
readability-braces-around-statements.ShortStatementLines: 2
bugprone-unsafe-functions.ReportMoreUnsafeFunctions: true
bugprone-unused-return-value.CheckedReturnTypes: ::std::error_code;::std::error_condition;::std::errc
misc-include-cleaner.IgnoreHeaders: '.*/(detail|impl)/.*;.*(expected|unexpected).*;.*ranges_lower_bound\.h'
misc-include-cleaner.IgnoreHeaders: '.*/(detail|impl)/.*;.*(expected|unexpected).*;.*ranges_lower_bound\.h;time.h;stdlib.h'
HeaderFilterRegex: '^.*/(src|tests)/.*\.(h|hpp)$'
WarningsAsErrors: '*'

View File

@@ -9,3 +9,5 @@ Diagnostics:
- ".*/(detail|impl)/.*"
- ".*expected.*"
- ".*ranges_lower_bound.h"
- "time.h"
- "stdlib.h"

View File

@@ -19,7 +19,6 @@
#include "util/TimeUtils.hpp"
#include <time.h>
#include <xrpl/basics/chrono.h>
#include <chrono>

View File

@@ -29,9 +29,9 @@
#include <boost/json/value.hpp>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <stdlib.h>
#include <cstdint>
#include <cstdlib>
#include <string>
#include <vector>