summaryrefslogtreecommitdiff
path: root/compilerplugins/clang
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-08 15:01:23 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-07-09 10:49:06 +0200
commit7af90cc93b76996f0f338c6a1285997531281e75 (patch)
tree5bcc07cf1cdcccc9b7b14ead80b3fbe46e179693 /compilerplugins/clang
parent432a935d4e178b4e1e54c2ec864cb5e05bb03d9b (diff)
Add missing sal/log.hxx headers
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. This is a continuation of commit 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 to be able to remove those unneeded includes. This commit adds missing headers to every file found by: grep -FwL sal/log.hxx $(git grep -Elw 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF|SAL_DETAIL_LOG_STREAM|SAL_WHERE|SAL_STREAM|SAL_DEBUG') to directories from a* to configmgr Change-Id: I6ea1a7f992b1f835f5bac7a725e1135abee3f85a Reviewed-on: https://gerrit.libreoffice.org/57170 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r--compilerplugins/clang/test/dbgunhandledexception.cxx1
-rw-r--r--compilerplugins/clang/test/sallogareas.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/test/dbgunhandledexception.cxx b/compilerplugins/clang/test/dbgunhandledexception.cxx
index 0abaef0dd06d..4ae15a58e55d 100644
--- a/compilerplugins/clang/test/dbgunhandledexception.cxx
+++ b/compilerplugins/clang/test/dbgunhandledexception.cxx
@@ -8,6 +8,7 @@
*/
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
void func1();
diff --git a/compilerplugins/clang/test/sallogareas.cxx b/compilerplugins/clang/test/sallogareas.cxx
index e3a58be70be6..1b172ebd00b6 100644
--- a/compilerplugins/clang/test/sallogareas.cxx
+++ b/compilerplugins/clang/test/sallogareas.cxx
@@ -8,6 +8,7 @@
*/
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
void func1();