iwyu.yml: fixed `include-what-you-use` job / cleaned up includes (#5657)

As usual when the base clang version of a distro changes iwyu ends up
broken and needs additional packages and/or options applied to work
again.
This commit is contained in:
Oliver Stöneberg 2023-11-13 23:24:06 +01:00 committed by GitHub
parent d3520943ad
commit 9228b9e424
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 2 additions and 11 deletions

View File

@ -83,7 +83,7 @@ jobs:
- name: iwyu_tool
run: |
PWD=$(pwd)
iwyu_tool -p cmake.output -j $(nproc) -- -w -Xiwyu --max_line_length=1024 -Xiwyu --comment_style=long -Xiwyu --quoted_includes_first -Xiwyu --update_comments -Xiwyu --mapping_file=$PWD/qt5.imp > iwyu.log
iwyu_tool -p cmake.output -j $(nproc) -- -w -Xiwyu --max_line_length=1024 -Xiwyu --comment_style=long -Xiwyu --quoted_includes_first -Xiwyu --update_comments -Xiwyu --mapping_file=$PWD/qt5.imp -I/usr/lib/clang/17/include > iwyu.log
- uses: actions/upload-artifact@v3
if: success() || failure()

View File

@ -20,7 +20,6 @@
#include "cppcheck.h"
#include "filesettings.h"
#include "library.h"
#include "settings.h"
#include "timer.h"

View File

@ -23,14 +23,11 @@
#include "fixture.h"
#include "helpers.h"
#include "timer.h"
#include "library.h"
#include <algorithm>
#include <cstdlib>
#include <list>
#include <map>
#include <memory>
#include <set>
#include <sstream>
#include <string>
#include <utility>

View File

@ -21,7 +21,6 @@
#include "fixture.h"
#include "helpers.h"
#include "redirect.h"
#include "library.h"
#include "settings.h"
#include "singleexecutor.h"
#include "timer.h"
@ -29,9 +28,7 @@
#include <algorithm>
#include <cstdlib>
#include <list>
#include <map>
#include <memory>
#include <set>
#include <string>
#include <utility>
#include <vector>

View File

@ -21,16 +21,13 @@
#include "filesettings.h"
#include "fixture.h"
#include "helpers.h"
#include "library.h"
#include "threadexecutor.h"
#include "timer.h"
#include <algorithm>
#include <cstdlib>
#include <list>
#include <map>
#include <memory>
#include <set>
#include <sstream>
#include <string>
#include <utility>

View File

@ -19,6 +19,7 @@
#include "settings.h"
#include "fixture.h"
#include "platform.h"
#include "standards.h"
#include "token.h"
#include "tokenlist.h"