Skip to content

Commit 90f7820

Browse files
authored
[SYCL][NFC] Fix clang format in SYCL.cpp (#17232)
Signed-off-by: jinge90 <[email protected]>
1 parent 60ffdc3 commit 90f7820

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

clang/lib/Driver/ToolChains/SYCL.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ SYCLInstallationDetector::SYCLInstallationDetector(const Driver &D)
154154

155155
SYCLInstallationDetector::SYCLInstallationDetector(
156156
const Driver &D, const llvm::Triple &HostTriple,
157-
const llvm::opt::ArgList &Args) : D(D) {}
157+
const llvm::opt::ArgList &Args)
158+
: D(D) {}
158159

159160
void SYCLInstallationDetector::getSYCLDeviceLibPath(
160161
llvm::SmallVector<llvm::SmallString<128>, 4> &DeviceLibPaths) const {
@@ -1704,9 +1705,9 @@ static ArrayRef<options::ID> getUnsupportedOpts() {
17041705
options::OPT_fprofile_instr_generate,
17051706
options::OPT_fprofile_instr_generate_EQ,
17061707
options::OPT_fprofile_arcs,
1707-
options::OPT_fno_profile_arcs, // -f[no-]profile-arcs
1708+
options::OPT_fno_profile_arcs, // -f[no-]profile-arcs
17081709
options::OPT_fno_profile_instr_generate, // -f[no-]profile-instr-generate
1709-
options::OPT_fcreate_profile, // -fcreate-profile
1710+
options::OPT_fcreate_profile, // -fcreate-profile
17101711
options::OPT_fprofile_instr_use,
17111712
options::OPT_fprofile_instr_use_EQ, // -fprofile-instr-use
17121713
options::OPT_forder_file_instrumentation, // -forder-file-instrumentation

0 commit comments

Comments
 (0)