From 97c96c0911d754199fef1e1f2f99bcdd05fc2c1a Mon Sep 17 00:00:00 2001 From: imi415 Date: Fri, 2 Sep 2022 21:51:58 +0800 Subject: [PATCH] Updated clang related. --- .clang-format | 2 +- .clang-tidy | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .clang-tidy diff --git a/.clang-format b/.clang-format index 3003f59..7ba2003 100644 --- a/.clang-format +++ b/.clang-format @@ -1,7 +1,7 @@ BasedOnStyle: Google IndentWidth: 4 AlignConsecutiveMacros: AcrossEmptyLines -AlignConsecutiveDeclarations: true +AlignConsecutiveDeclarations: AcrossEmptyLines AlignConsecutiveAssignments: AcrossEmptyLinesAndComments BreakBeforeBraces: Custom BraceWrapping: diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000..8ccd448 --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,4 @@ +Checks: > + *, + -altera-unroll-loops, + -hicpp-no-assembler \ No newline at end of file