Skip to content

Commit 5c39889

Browse files
committed
[SYCL][NFC] Align include order with the coding guidelines
Signed-off-by: Alexey Bader <[email protected]>
1 parent ee73926 commit 5c39889

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

clang/lib/Sema/SemaSYCL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#include "clang/Analysis/CallGraph.h"
1818
#include "clang/Basic/Attributes.h"
1919
#include "clang/Basic/Diagnostic.h"
20-
#include "clang/Sema/Sema.h"
2120
#include "clang/Sema/Initialization.h"
21+
#include "clang/Sema/Sema.h"
2222
#include "llvm/ADT/SmallPtrSet.h"
2323
#include "llvm/ADT/SmallVector.h"
2424
#include "llvm/Support/FileSystem.h"

llvm/tools/sycl-post-link/sycl-post-link.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
#include "llvm/Support/CommandLine.h"
2626
#include "llvm/Support/InitLLVM.h"
2727
#include "llvm/Support/SystemUtils.h"
28-
#include "llvm/Transforms/Utils/Cloning.h"
2928
#include "llvm/Transforms/IPO.h"
29+
#include "llvm/Transforms/Utils/Cloning.h"
3030
#include <memory>
3131

3232
using namespace llvm;

sycl/tools/get_device_count_by_type.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include <iostream>
10-
#include <vector>
11-
#include <string>
129
#include <CL/cl.h>
1310
#include <CL/cl_ext.h>
1411

12+
#include <iostream>
13+
#include <string>
14+
#include <vector>
15+
1516
static const std::string help =
1617
" Help\n"
1718
" Example: ./get_device_count_by_type cpu\n"

0 commit comments

Comments
 (0)