Skip to content

Commit 08683ef

Browse files
author
Hugh Delaney
committed
clang-format
1 parent 339a34a commit 08683ef

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

clang/lib/Driver/Driver.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4517,8 +4517,7 @@ class OffloadingActionBuilder final {
45174517
const Driver::InputList &Inputs,
45184518
OffloadingActionBuilder &OAB)
45194519
: DeviceActionBuilder(C, Args, Inputs, Action::OFK_SYCL, OAB),
4520-
SYCLInstallation(C.getDriver()) {}
4521-
4520+
SYCLInstallation(C.getDriver()) {}
45224521

45234522
void withBoundArchForToolChain(const ToolChain *TC,
45244523
llvm::function_ref<void(const char *)> Op) {
@@ -4970,7 +4969,7 @@ class OffloadingActionBuilder final {
49704969
}
49714970
}
49724971
};
4973-
4972+
49744973
addInputs(sycl_device_wrapper_libs);
49754974
if (isSpirvAOT || TC->getTriple().isNVPTX())
49764975
addInputs(sycl_device_fallback_libs);

clang/lib/Driver/ToolChains/SYCL.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ class LLVM_LIBRARY_VISIBILITY SYCLToolChain : public ToolChain {
172172
const llvm::opt::ArgList &Args,
173173
llvm::opt::ArgStringList &CC1Args) const override;
174174

175-
176175
const ToolChain &HostTC;
177176

178177
protected:

libdevice/crt_wrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include "wrapper.h"
1010

11-
#if defined(__SPIR__) || defined(__NVPTX__)
11+
#if defined(__SPIR__) || defined(__NVPTX__)
1212
DEVICE_EXTERN_C_INLINE
1313
void *memcpy(void *dest, const void *src, size_t n) {
1414
return __devicelib_memcpy(dest, src, n);

libdevice/device_math.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#define __LIBDEVICE_DEVICE_MATH_H__
1111

1212
#include "device.h"
13-
#if defined(__SPIR__) || defined(__NVPTX__)
13+
#if defined(__SPIR__) || defined(__NVPTX__)
1414
#include <cstdint>
1515

1616
typedef struct {

0 commit comments

Comments
 (0)