summaryrefslogtreecommitdiff
path: root/bin/gen-iwyu-dummy-lib
AgeCommit message (Collapse)Author
2017-06-22iwyu: add language standard defines to flagsJochen Nitschke
for some reason they are not set and cause parse warnings Change-Id: I1bbc14da8cd7f4cbde8e59934b6ace932245e2a1 Reviewed-on: https://gerrit.libreoffice.org/39093 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-06-22update externals in bin/gen-iwyu-dummy-lib scriptJochen Nitschke
tde and mozilla externals are gone. breakpad, bzip2 and mDNSResponder are omitted. filter out 'orcus-parser\' line, 'orcus-parser' is still in iwyu_EXTERNALS Change-Id: Ida7155b8b00b651146c4307286e9eafbdadb5917 Reviewed-on: https://gerrit.libreoffice.org/39092 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-06-22reformat bin/gen-iwyu-dummy-lib scriptJochen Nitschke
no logic change intended. follow some shellcheck advises: use block for redirects to same file for better style (SC2129) double quote vars (SC2086) ignore false positive warnings SC1003 and SC2016 Change-Id: Ic3a01484d4d13c8d23662ee24c46b166ee006cd4 Reviewed-on: https://gerrit.libreoffice.org/39090 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-27Improve the gen-iwyu-dummy-lib script a bit.Jorenz Paragas
- Fix the check for --enable-compiler-plugins not being included in the resulting StaticLibrary_iwyudummy.mk file. - Disable warnings about unused const variables to reduce noise. Change-Id: If54dfd55f46631bbc526326bed5c272358fb9cf3 Reviewed-on: https://gerrit.libreoffice.org/24419 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-01-18iwyu fixesPeter Foley
Change-Id: I2dc9218ae8c4ea51fea5f710664520a598e7c4a3 Reviewed-on: https://gerrit.libreoffice.org/21536 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-10-01tdf#42949 remove unnecessary includes using iwyuNoel Grandin
Change-Id: I13960721b7e15b1761aff8497391e39ae5645b89 Reviewed-on: https://gerrit.libreoffice.org/18616 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-24improvements to iwyudummy targetNoel Grandin
- split awk script into separate file - make awk work on older awk version - create new target in main Makefile.in to generate iwyudummy Makefile so we don't have to manually uncomment stuff - exclude /usr includes from the generated makefile - disable unused macros warnings to reduce noise - add some sanity checking - prevent using the generated makefile with compiler-plugins enabled - add new target for generating iwyu Makefile so we don't need to edit the Makefile when using it Change-Id: I4af8eb7d1aa5419e546acb9ef905a0fe623db57d Reviewed-on: https://gerrit.libreoffice.org/12980 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-11-17add a script to generate a dummy library to "build" all headersMichael Stahl
... to be used together --with-iwyu to track down bloat in headers, which are not always named in the convention that include-what-you-use expects for reporting issues. Change-Id: Idffda7d49cca43170717004d52779b4663de19ae