Exclude headers generated by wayland-scanner from code checks

These files contain TABs, and NULLs, but we don't care about them.
This commit is contained in:
Vadim Zeitlin
2025-08-22 21:27:36 +02:00
parent e23a7799a6
commit c375a91dd6
+2
View File
@@ -57,6 +57,7 @@ jobs:
':!build/upmake' \
':!build/vcxproj-clone' \
':!docs/doxygen/doxygen-awesome-css/*' \
':!include/wx/gtk/private/wayland/*.h' \
':!misc/languages/data/unicode/*.xml' \
':!samples/widgets/widgets.bkl' \
':!tests/test.bkl' \
@@ -97,6 +98,7 @@ jobs:
git fetch --depth=1 origin master
if git diff origin/master \
':**.h' ':**.cpp' \
':!include/wx/gtk/private/wayland/*.h' \
| grep -E '^\+.*(wxOVERRIDE|wxNOEXCEPT|wxMEMBER_DELETE|__WXFUNCTION__|[^"_@A-Za-z0-9]NULL([- ,;()+*/%&=!?]|$))'; then
echo "::error ::Please use C++11 equivalents of the deprecated macros in the new code."
exit 1