================ @@ -0,0 +1,12 @@ +// RUN: %check_clang_tidy %s bugprone-sizeof-expression %t -- \ +// RUN: -config="{CheckOptions: [{key: bugprone-sizeof-expression.WarnOnSizeOfPointerArithmeticWithDivisionScaled, value: 0}]}" ---------------- nicovank wrote:
```suggestion // RUN: %check_clang_tidy %s bugprone-sizeof-expression %t -- \ // RUN: -config="{CheckOptions: \ // RUN: {bugprone-sizeof-expression.WarnOnSizeOfPointerArithmeticWithDivisionScaled: \ // RUN: false}}" ``` I didn't even know this `[{key: ..., value: ...}, ...]` notation existed, TIL. https://github.com/llvm/llvm-project/pull/111178 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits