Improving cpp compliance

Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
This commit is contained in:
Jaroslaw Chodor
2021-05-19 20:12:09 +00:00
committed by Compute-Runtime-Automation
parent d55afceb8b
commit abf0649a5b
33 changed files with 220 additions and 206 deletions

View File

@@ -20,7 +20,6 @@
#include "shared/source/helpers/string.h"
#include "shared/source/os_interface/os_library.h"
#include "opencl/source/helpers/validators.h"
#include "opencl/source/os_interface/os_inc_base.h"
#include "opencl/source/platform/extensions.h"
@@ -51,6 +50,16 @@
namespace NEO {
template <typename T = void>
bool areNotNullptr() {
return true;
}
template <typename T, typename... RT>
bool areNotNullptr(T t, RT... rt) {
return (t != nullptr) && areNotNullptr<RT...>(rt...);
}
CIF::CIFMain *createMainNoSanitize(CIF::CreateCIFMainFunc_t createFunc);
std::string convertToPascalCase(const std::string &inString) {