File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 1616 - name : Checkout code
1717 uses : actions/checkout@v4
1818
19- - name : Cache Clang-Format
20- uses : actions/cache@v4
21- with :
22- path : /usr/bin/clang-format
23- key : ${{ runner.os }}-clang-format-cache
24- restore-keys : |
25- ${{ runner.os }}-clang-format-cache
26-
2719 - name : Set up Clang-Format
2820 run : |
2921 if ! command -v clang-format &> /dev/null; then
4840
4941 # Check formatting for each file
5042 for file in $files; do
51- if clang-format -style=file - output-replacements-xml "$file" | grep -q '<replacement '; then
43+ if clang-format -output-replacements-xml "$file" | grep -q '<replacement '; then
5244 echo "Formatting issues found in $file"
5345 formatting_issues=1
5446 fi
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class CallbackPointer;
99
1010class IFileDescriptor {
1111 public:
12- virtual ~IFileDescriptor (){} ;
12+ virtual ~IFileDescriptor ();
1313 virtual void onPollEvent (struct pollfd &pollfd,
1414 CallbackPointer *newCallbackObject,
1515 struct pollfd *newPollfd) = 0;
You can’t perform that action at this time.
0 commit comments