================
@@ -0,0 +1,31 @@
+// RUN: %check_clang_tidy %s readability-constant-operand-order %t -- --
-std=c++17
+// RUN: %check_clang_tidy %s readability-constant-operand-order %t --
-check-suffixes=LEFT -- -config="{CheckOptions:[{key:
readability-constant-operand-order.PreferredConstantSide, value: Left}, {key:
readability-constant-operand-order.BinaryOperators, value: '==,!='}]}" --
-std=c++17
----------------
localspook wrote:
```suggestion
// RUN: %check_clang_tidy %s readability-constant-operand-order %t
// RUN: %check_clang_tidy %s readability-constant-operand-order
-check-suffixes=LEFT %t -- -config="{CheckOptions:[{key:
readability-constant-operand-order.PreferredConstantSide, value: Left}, {key:
readability-constant-operand-order.BinaryOperators, value: '==,!='}]}"
```
https://github.com/llvm/llvm-project/pull/167158
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits