Skip to content

Commit

Permalink
clang-tidy 17 is better than 18 detecting missing <string> header.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Aug 28, 2024
1 parent a7de10c commit 32e8c1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bant/tool/workspace.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#include "bant/tool/workspace.h"

#include <string>
#include <string_view>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ bant_used_stdenv.mkDerivation {
bazel_6
jdk11

clang-tools_18 # clang-tidy (clang-format: see below)
clang-tools_17 # clang-tidy (clang-format: see below)
bazel-buildtools # buildifier, buildozer
];
shellHook = ''
Expand Down

0 comments on commit 32e8c1e

Please sign in to comment.