[clang-tools-extra] Initialize value. (PR #122339)

2025-01-10 Thread Zahira Ammarguellat via cfe-commits
https://github.com/zahiraam closed https://github.com/llvm/llvm-project/pull/122339 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] Initialize value. (PR #122339)

2025-01-10 Thread Tom Honermann via cfe-commits
tahonermann wrote: The static analysis tool produced a false positive; I see no reason for a change. The static analyzer failed to recognize that `APValue::Kind` is initialized to `None` during default construction of the `EvalResult` variable and that it can't have changed by the time the var

[clang-tools-extra] Initialize value. (PR #122339)

2025-01-10 Thread Tom Honermann via cfe-commits
tahonermann wrote: The static analysis report was actually a (complicated) false positive. I see no need to make a change. https://github.com/llvm/llvm-project/pull/122339 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/

[clang-tools-extra] Initialize value. (PR #122339)

2025-01-09 Thread Zahira Ammarguellat via cfe-commits
https://github.com/zahiraam edited https://github.com/llvm/llvm-project/pull/122339 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] Initialize value. (PR #122339)

2025-01-09 Thread Zahira Ammarguellat via cfe-commits
https://github.com/zahiraam created https://github.com/llvm/llvm-project/pull/122339 None >From d8268afeafb61f95f1fa917ab26214e84372eba3 Mon Sep 17 00:00:00 2001 From: Zahira Ammarguellat Date: Thu, 9 Jan 2025 10:58:29 -0800 Subject: [PATCH] Initialize value. --- .../clang-tidy/modernize/Use