summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/Inputs/nolint/trigger_warning.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/Inputs/nolint/trigger_warning.h')
-rw-r--r--clang-tools-extra/test/clang-tidy/Inputs/nolint/trigger_warning.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-tidy/Inputs/nolint/trigger_warning.h b/clang-tools-extra/test/clang-tidy/Inputs/nolint/trigger_warning.h
new file mode 100644
index 00000000000..e8ebed25d38
--- /dev/null
+++ b/clang-tools-extra/test/clang-tidy/Inputs/nolint/trigger_warning.h
@@ -0,0 +1,5 @@
+void A1(const int &In, int &Out) {
+ if (In > 123) // NOLINT
+ Out = 123;
+}
+
OpenPOWER on IntegriCloud