Skip to content

Commit

Permalink
Fix analyser
Browse files Browse the repository at this point in the history
  • Loading branch information
PikaCat-OuO committed Jan 28, 2025
1 parent 4f011f7 commit d44d429
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
make analyze
COMP=clang
CXX=include-what-you-use
CXXFLAGS="-stdlib=libc++ -Xiwyu --comment_style=long -Xiwyu --mapping='${{ github.workspace }}/Pikafish/.github/workflows/libcxx17.imp' -Xiwyu --error"
CXXFLAGS="-stdlib=libc++ -Xiwyu --exclude=external/** -Xiwyu --comment_style=long -Xiwyu --mapping='${{ github.workspace }}/Pikafish/.github/workflows/libcxx17.imp' -Xiwyu --error"
Clang-Format:
name: Check format
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/libcxx17.imp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
{ include: [ "<__fwd/sstream.h>", private, "<iosfwd>", public ] },
{ include: [ "<__fwd/streambuf.h>", private, "<iosfwd>", public ] },
{ include: [ "<__fwd/string_view.h>", private, "<string_view>", public ] },
{ include: [ "<__system_error/errc.h>", private, "<system_error>", public ] },
{ include: [ "<__math/logarithms.h>", private, "<cmath>", public ] },
{ include: [ "<__ostream/basic_ostream.h>", private, "<ostream>", public ] },
{ include: [ "<__system_error/errc.h>", private, "<system_error>", public ] },

# Mappings for includes between public headers
{ include: [ "<ios>", public, "<iostream>", public ] },
Expand Down

0 comments on commit d44d429

Please sign in to comment.