Skip to content

Commit 5432ff3

Browse files
committed
Fix Clang-format issues
Signed-off-by: Soumi Manna <[email protected]>
1 parent 2f63a30 commit 5432ff3

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

clang/lib/Sema/SemaStmtAttr.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,21 +103,21 @@ static Attr *handleIntelFPGALoopAttr(Sema &S, const ParsedAttr &A) {
103103
} else if (A.getKind() == ParsedAttr::AT_SYCLIntelFPGAMaxConcurrency &&
104104
A.getAttributeSpellingListIndex() ==
105105
SYCLIntelFPGAMaxConcurrencyAttr::
106-
CXX11_intelfpga_max_concurrency) {
106+
CXX11_intelfpga_max_concurrency) {
107107
S.Diag(A.getLoc(), diag::warn_attribute_spelling_deprecated) << A;
108108
S.Diag(A.getLoc(), diag::note_spelling_suggestion)
109109
<< "'INTEL::max_concurrency'";
110110
} else if (A.getKind() == ParsedAttr::AT_SYCLIntelFPGAMaxInterleaving &&
111111
A.getAttributeSpellingListIndex() ==
112112
SYCLIntelFPGAMaxInterleavingAttr::
113-
CXX11_intelfpga_max_interleaving) {
113+
CXX11_intelfpga_max_interleaving) {
114114
S.Diag(A.getLoc(), diag::warn_attribute_spelling_deprecated) << A;
115115
S.Diag(A.getLoc(), diag::note_spelling_suggestion)
116116
<< "'INTEL::max_interleaving'";
117117
} else if (A.getKind() == ParsedAttr::AT_SYCLIntelFPGASpeculatedIterations &&
118118
A.getAttributeSpellingListIndex() ==
119119
SYCLIntelFPGASpeculatedIterationsAttr::
120-
CXX11_intelfpga_speculated_iterations) {
120+
CXX11_intelfpga_speculated_iterations) {
121121
S.Diag(A.getLoc(), diag::warn_attribute_spelling_deprecated) << A;
122122
S.Diag(A.getLoc(), diag::note_spelling_suggestion)
123123
<< "'INTEL::speculated_iterations'";

clang/test/CodeGenSYCL/intel-fpga-ivdep-embedded-loops.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ void ivdep_embedded_multiple_dimensions() {
125125
a[j] += j;
126126
[[INTEL::ivdep]] for (int k = 0; k != 10; ++k) {
127127
// CHECK: %{{[0-9a-z]+}} = getelementptr inbounds [10 x i32], [10 x i32]* %[[ARRAY_A]], i64 0, i64 %{{[0-9a-z]+}}, !llvm.index.group ![[IDX_GROUP_DIM_3_MUL_DIMS:[0-9]+]]
128-
+ a[k] += k;
128+
a[k] += k;
129129
// CHECK: br label %for.cond{{[0-9]*}}, !llvm.loop ![[MD_LOOP_DIM_3_MUL_DIMS:[0-9]+]]
130130
}
131131
// CHECK: br label %for.cond{{[0-9]*}}, !llvm.loop ![[MD_LOOP_DIM_2_MUL_DIMS:[0-9]+]]

clang/test/SemaSYCL/intel-fpga-local.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ void check_ast()
9797
//CHECK-NEXT: ConstantExpr
9898
//CHECK-NEXT: value:{{.*}}16
9999
//CHECK-NEXT: IntegerLiteral{{.*}}16{{$}}
100-
[[INTEL::bank_bits(2, 3), INTEL::bankwidth(16)]] unsigned int bank_bits_width[64];
100+
[[INTEL::bank_bits(2, 3), INTEL::bankwidth(16)]] unsigned int bank_bits_width[64];
101101

102102
//CHECK: VarDecl{{.*}}doublepump_mlab
103103
//CHECK: IntelFPGADoublePumpAttr

clang/test/SemaSYCL/intel-fpga-loops.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void foo_deprecated() {
4343
// expected-warning@+2 {{attribute 'max_concurrency' is deprecated}}
4444
// expected-note@+1 {{did you mean to use 'INTEL::max_concurrency' instead?}}
4545
[[intelfpga::max_concurrency(4)]] for (int i = 0; i != 10; ++i)
46-
a[i] = 0;
46+
a[i] = 0;
4747

4848
// expected-warning@+2 {{attribute 'max_interleaving' is deprecated}}
4949
// expected-note@+1 {{did you mean to use 'INTEL::max_interleaving' instead?}}

0 commit comments

Comments
 (0)