Skip to content

Commit e6f9238

Browse files
committed
Clang-format
1 parent 5738ed9 commit e6f9238

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

src/CompilerProfiling.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
#include "IR.h"
77

8+
#include <chrono>
89
#include <list>
910
#include <mutex>
1011
#include <thread>
11-
#include <chrono>
1212

1313
#ifndef __FUNCTION_NAME__
1414
#ifdef WIN32 // WINDOWS

src/Definition.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#include "Definition.h"
66
#include "IR.h"
77
#include "IRMutator.h"
8-
#include "IRVisitor.h"
98
#include "IROperator.h"
9+
#include "IRVisitor.h"
1010
#include "Var.h"
1111

1212
namespace Halide {

src/EarlyFree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#include <utility>
22

33
#include "EarlyFree.h"
4-
#include "IRVisitor.h"
54
#include "IRMutator.h"
5+
#include "IRVisitor.h"
66

77
namespace Halide {
88
namespace Internal {

src/FindIntrinsics.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
#include "ConstantBounds.h"
44
#include "IRMatch.h"
55
#include "IRMutator.h"
6-
#include "Simplify.h"
76
#include "IRVisitor.h"
8-
#include "IRMutator.h"
7+
#include "Simplify.h"
98

109
namespace Halide {
1110
namespace Internal {

src/InjectHostDevBufferCopies.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,7 @@ class InjectBufferCopies : public IRMutator {
629629
Expr device_interface = make_device_interface_call(touching_device, op->memory_type);
630630

631631
return InjectCombinedAllocation(op->name, op->type, op->extents,
632-
op->condition, device_interface)
633-
(body);
632+
op->condition, device_interface)(body);
634633
} else {
635634
// Only touched on host but passed to an extern stage, or
636635
// only touched on device, or touched on multiple

src/OffloadGPULoops.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ class InjectGpuOffload : public IRMutator {
289289
i.second->init_module();
290290
}
291291

292-
Stmt result =(s);
292+
Stmt result = (s);
293293

294294
for (auto &i : cgdev) {
295295
string api_unique_name = i.second->api_unique_name();

0 commit comments

Comments
 (0)