diff options
Diffstat (limited to 'test/clang-tidy/bugprone-too-small-loop-variable.cpp')
-rw-r--r-- | test/clang-tidy/bugprone-too-small-loop-variable.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/clang-tidy/bugprone-too-small-loop-variable.cpp b/test/clang-tidy/bugprone-too-small-loop-variable.cpp index f11dd499..5a633559 100644 --- a/test/clang-tidy/bugprone-too-small-loop-variable.cpp +++ b/test/clang-tidy/bugprone-too-small-loop-variable.cpp @@ -1,4 +1,8 @@ -// RUN: %check_clang_tidy %s bugprone-too-small-loop-variable %t -- -- --target=x86_64-linux +// RUN: %check_clang_tidy %s bugprone-too-small-loop-variable %t -- \ +// RUN: -config="{CheckOptions: \ +// RUN: [{key: bugprone-too-small-loop-variable.MagnitudeBitsUpperLimit, \ +// RUN: value: 1024}]}" \ +// RUN: -- --target=x86_64-linux long size() { return 294967296l; } |