Skip to content

Commit 6e418cb

Browse files
author
Soumi Manna
committed
Fix comments
Signed-off-by: Soumi Manna <[email protected]>
1 parent b1eda6e commit 6e418cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaSYCL/initiation_interval.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[[intel::initiation_interval(4)]] void func4();
2121
[[intel::initiation_interval(4)]] void func4(); // OK
2222

23-
// No diagnostic is emitted because the arguments match. Duplicate attribute is silently ignored.
23+
// Diagnostic is emitted because the arguments mismatch.
2424
[[intel::initiation_interval(2)]] // expected-note {{previous attribute is here}}
2525
[[intel::initiation_interval(4)]] void func5() {} // expected-warning {{attribute 'initiation_interval' is already applied with different arguments}}
2626

0 commit comments

Comments
 (0)