Skip to content

Commit 10990e2

Browse files
committed
clang-format
1 parent 58ec66d commit 10990e2

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.github/workflows/clang-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: DoozyX/clang-format-lint-action@v0.20
1212
with:
1313
source: "."
14-
exclude: "tests"
14+
exclude: ""
1515
extensions: 'h,cpp'
1616
style: file
1717
clangFormatVersion: 20

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ for a full list of features.
3232
| ------------- | ------------- |
3333
| Doxygen | [![doxygen](https://github.com/Blake-Madden/tinyexpr-plusplus/actions/workflows/doxygen.yml/badge.svg)](https://github.com/Blake-Madden/tinyexpr-plusplus/actions/workflows/doxygen.yml) |
3434
| Spellcheck | [![Spell Check](https://github.com/Blake-Madden/i18n-check/actions/workflows/spell-check.yml/badge.svg)](https://github.com/Blake-Madden/i18n-check/actions/workflows/spell-check.yml) |
35+
| clang-format | [![clang-format](https://github.com/Blake-Madden/tinyexpr-plusplus/actions/workflows/clang-format.yml/badge.svg)](https://github.com/Blake-Madden/tinyexpr-plusplus/actions/workflows/clang-format.yml) |
3536

3637
## Compatibility Advisory
3738

tests/fuzz_test.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77

88
#include "../tinyexpr.h"
99

10-
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)
11-
{
12-
te_parser tep;
13-
tep.compile(std::string(reinterpret_cast<const char*>(Data), Size).c_str());
14-
return 0;
15-
}
10+
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size)
11+
{
12+
te_parser tep;
13+
tep.compile(std::string(reinterpret_cast<const char*>(Data), Size).c_str());
14+
return 0;
15+
}

tests/tetests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@
4747

4848
#include "../tinyexpr.h"
4949
#include <array>
50-
#include <regex>
50+
#include <catch2/benchmark/catch_benchmark_all.hpp>
5151
#include <catch2/catch_test_macros.hpp>
5252
#include <catch2/matchers/catch_matchers_floating_point.hpp>
53-
#include <catch2/benchmark/catch_benchmark_all.hpp>
53+
#include <regex>
5454

5555
// clang-format off
5656
// NOLINTBEGIN

0 commit comments

Comments
 (0)