clang-format: enable sorting includes

Include files are now grouped and sorted in following order:
1. Header file of the class the current file implements
2. Project files
3. Third party files
4. Standard library

Change-Id: If31af05652184169f7fee1d7ad08f1b2ed602cf0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2019-02-27 11:39:32 +01:00
parent 3eb10d0cc2
commit 8b57d28116
1208 changed files with 3921 additions and 4072 deletions

View File

@@ -1,16 +1,18 @@
/*
* Copyright (C) 2018 Intel Corporation
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "binary_decoder.h"
#include "elf/reader.h"
#include "helper.h"
#include "runtime/helpers/file_io.h"
#include "runtime/helpers/ptr_math.h"
#include "helper.h"
#include <cstring>
#include <fstream>

View File

@@ -1,16 +1,18 @@
/*
* Copyright (C) 2018 Intel Corporation
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "binary_encoder.h"
#include "CL/cl.h"
#include "elf/writer.h"
#include "helper.h"
#include "runtime/helpers/file_io.h"
#include "CL/cl.h"
#include "helper.h"
#include <algorithm>
#include <cstring>
#include <fstream>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018 Intel Corporation
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -7,8 +7,8 @@
#pragma once
#include <sstream>
#include <vector>
#include <string>
#include <vector>
class BinaryEncoder {
public:

View File

@@ -1,14 +1,14 @@
/*
* Copyright (C) 2018 Intel Corporation
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <exception>
#include <string>
#include <vector>
#include <exception>
void addSlash(std::string &path);