================ @@ -2097,6 +2097,18 @@ This checker is a part of ``core.StackAddressEscape``, but is temporarily disabl .. _alpha-core-TestAfterDivZero: +alpha.core.StdVariant (C++) +""""""""""""""""""""""""""" +Check if the active value accessed in an ``std::variant`` instance. +.. code-block:: cpp + + void test() { + std::variant <int, char> v = 25; ---------------- whisperity wrote:
```suggestion std::variant<int, char> v = 25; ``` https://github.com/llvm/llvm-project/pull/76501 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits