We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0db4a08 commit 9dbea91Copy full SHA for 9dbea91
clang-tools-extra/test/clang-tidy/checkers/altera/id-dependent-backward-branch.cpp
@@ -1,4 +1,4 @@
1
-// RUN: %check_clang_tidy %s altera-id-dependent-backward-branch %t -- -header-filter=.* "--" -cl-std=CL1.2 -c
+// RUN: %check_clang_tidy %s altera-id-dependent-backward-branch %t -- -header-filter=.* "--" -cl-std=CLC++1.0 -c
2
3
void error() {
4
// ==== Conditional Expressions ====
@@ -80,3 +80,9 @@ void success() {
80
}
81
82
83
+
84
+template<char... STOP>
85
+void gh55408(char const input[], int pos) {
86
+ while (((input[pos] != STOP) && ...));
87
+}
88
0 commit comments