diff options
author | fanquake <fanquake@gmail.com> | 2022-04-25 10:33:32 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-04-26 10:43:33 +0100 |
commit | 9c96f1008b4997aea31f293fed31f98ed3becfcf (patch) | |
tree | 0fde8cbc916bacf938276b445cb3ca2730b2aa9e /src | |
parent | e53274868e0ec35156349826b0995bc444287690 (diff) |
tidy: enable modernize-use-nullptr
Diffstat (limited to 'src')
-rw-r--r-- | src/.bear-tidy-config | 15 | ||||
-rw-r--r-- | src/.clang-tidy | 4 |
2 files changed, 17 insertions, 2 deletions
diff --git a/src/.bear-tidy-config b/src/.bear-tidy-config new file mode 100644 index 0000000000..111ef6ee44 --- /dev/null +++ b/src/.bear-tidy-config @@ -0,0 +1,15 @@ +{ + "output": { + "content": { + "include_only_existing_source": true, + "paths_to_include": [], + "paths_to_exclude": [ + "src/leveldb" + ] + }, + "format": { + "command_as_array": true, + "drop_output_field": false + } + } +} diff --git a/src/.clang-tidy b/src/.clang-tidy index 27616ad072..fda95967f5 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -1,2 +1,2 @@ -Checks: '-*,bugprone-argument-comment' -WarningsAsErrors: bugprone-argument-comment +Checks: '-*,bugprone-argument-comment,modernize-use-nullptr' +WarningsAsErrors: 'bugprone-argument-comment,modernize-use-nullptr' |