[Lldb-commits] [lldb] [libcxx] [clang-tools-extra] [llvm] [compiler-rt] [clang] [mlir] [flang] [lld] [clang-tidy]Add new check readability-avoid-nested-conditional-operator (PR #78022)

Piotr Zegar via lldb-commits lldb-commits at lists.llvm.org
Sun Jan 14 23:45:34 PST 2024


================
@@ -224,6 +224,11 @@ New checks
   Recommends the smallest possible underlying type for an ``enum`` or ``enum``
   class based on the range of its enumerators.
 
+- New :doc:`readability-avoid-nested-conditional-operator
+  <clang-tidy/checks/readability/avoid-nested-conditional-operator>` check.
+
+  Finds nested conditional operator.
----------------
PiotrZSL wrote:

// Identifies instances of nested conditional operators in the code.

https://github.com/llvm/llvm-project/pull/78022


More information about the lldb-commits mailing list