Skip to content

Commit

Permalink
Scripts: Add inl files to reformat.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
neobrain committed Jan 21, 2025
1 parent 8760c59 commit 9882f53
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .clang-format-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
# Ignore all files in the External directory
External/*

# SoftFloat-3e code doesn't belong to us
# SoftFloat-3e code doesn't belong to us
FEXCore/Source/Common/SoftFloat-3e/*
Source/Common/cpp-optparse/*

# Files with human-indented tables for readability - don't mess with these
FEXCore/Source/Interface/Core/X86Tables/*

# Inline headers with list-like content that can't be processed individually
Source/Tools/LinuxEmulation/LinuxSyscalls/x*/SyscallsNames.inl
Source/Tools/LinuxEmulation/LinuxSyscalls/x*/Ioctl/*.inl
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@

# Second reformat to find fixed point PR#3577
905aa935f5ce344a48ef4d5edab3c31efa8d793e

# Reformat of CodeEmitter inl files
8760c593ece92d7e9fa94c40da0368fd367c9cad
2 changes: 1 addition & 1 deletion Scripts/reformat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ fi

# Reformat whole tree.
# This is run by the reformat target.
git ls-files -z '*.cpp' '*.h' | xargs -0 -n 1 -P $(nproc) python3 Scripts/clang-format.py -i
git ls-files -z '*.cpp' '*.h' '*.inl' | xargs -0 -n 1 -P $(nproc) python3 Scripts/clang-format.py -i
cd $DIR

0 comments on commit 9882f53

Please sign in to comment.