Kaydet (Commit) 61b75258 authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Miklos Vajna

tdf#42949 Fix IWYU warnings in opencl/

Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: I0aedc40c49c8cb1382f45571f54873d6017ec62c
Reviewed-on: https://gerrit.libreoffice.org/72637
Tested-by: Jenkins
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.com>
üst 42f0286c
---
assumeFilename: opencl/source/opencl_device.cxx
blacklist:
opencl/source/opencl_device.cxx:
# Avoid loplugin:unreffun error
- opencl_device.hxx
...@@ -10,9 +10,10 @@ ...@@ -10,9 +10,10 @@
#ifndef INCLUDED_OPENCL_INC_OPENCL_DEVICE_HXX #ifndef INCLUDED_OPENCL_INC_OPENCL_DEVICE_HXX
#define INCLUDED_OPENCL_INC_OPENCL_DEVICE_HXX #define INCLUDED_OPENCL_INC_OPENCL_DEVICE_HXX
#include <opencl/openclwrapper.hxx> #include <rtl/ustring.hxx>
#include "opencl_device_selection.h" namespace openclwrapper { struct GPUEnv; }
struct ds_device;
ds_device const & getDeviceSelection(OUString const & pFileName, bool bForceSelection); ds_device const & getDeviceSelection(OUString const & pFileName, bool bForceSelection);
......
...@@ -17,9 +17,6 @@ ...@@ -17,9 +17,6 @@
#include <memory> #include <memory>
#include <float.h> #include <float.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <clew/clew.h> #include <clew/clew.h>
#include <tools/stream.hxx> #include <tools/stream.hxx>
......
...@@ -7,17 +7,14 @@ ...@@ -7,17 +7,14 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ */
#include <math.h>
#include <float.h> #include <float.h>
#include <iostream> #include <iostream>
#include <sstream>
#include <memory> #include <memory>
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
#include <comphelper/random.hxx> #include <comphelper/random.hxx>
#include <opencl/openclconfig.hxx> #include <opencl/openclconfig.hxx>
#include <opencl/openclwrapper.hxx>
#include <opencl/platforminfo.hxx> #include <opencl/platforminfo.hxx>
#include <sal/log.hxx> #include <sal/log.hxx>
#include <rtl/math.hxx> #include <rtl/math.hxx>
...@@ -26,6 +23,7 @@ ...@@ -26,6 +23,7 @@
#include <opencl/OpenCLZone.hxx> #include <opencl/OpenCLZone.hxx>
#include <opencl_device.hxx> #include <opencl_device.hxx>
#include <opencl_device_selection.h>
#define INPUTSIZE 15360 #define INPUTSIZE 15360
#define OUTPUTSIZE 15360 #define OUTPUTSIZE 15360
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <config_folders.h> #include <config_folders.h>
#include <opencl_device.hxx> #include <opencl_device.hxx>
#include <opencl_device_selection.h>
#include <opencl/openclconfig.hxx> #include <opencl/openclconfig.hxx>
#include <opencl/openclwrapper.hxx> #include <opencl/openclwrapper.hxx>
...@@ -24,13 +25,8 @@ ...@@ -24,13 +25,8 @@
#include <opencl/OpenCLZone.hxx> #include <opencl/OpenCLZone.hxx>
#include <memory> #include <memory>
#include <unicode/regex.h>
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <cmath>
#include <officecfg/Office/Common.hxx> #include <officecfg/Office/Common.hxx>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment