[clang] [analyzer] Unknown array lvalue element in Store (PR #133381)

2025-04-05 Thread via cfe-commits
https://github.com/T-Gruber updated https://github.com/llvm/llvm-project/pull/133381 >From 241c95a956a440b9a118654baad55fb253d2413c Mon Sep 17 00:00:00 2001 From: T-Gruber Date: Fri, 28 Mar 2025 07:37:59 +0100 Subject: [PATCH 1/7] Remove early return for UnknownVal --- clang/lib/StaticAnalyze

[clang] [analyzer] Unknown array lvalue element in Store (PR #133381)

2025-03-31 Thread Balazs Benics via cfe-commits
@@ -511,13 +511,9 @@ SVal StoreManager::getLValueElement(QualType elementType, NonLoc Offset, // Only allow non-integer offsets if the base region has no offset itself. // FIXME: This is a somewhat arbitrary restriction. We should be using // SValBuilder here to add the

[clang] [analyzer] Unknown array lvalue element in Store (PR #133381)

2025-03-31 Thread DonĂ¡t Nagy via cfe-commits
@@ -511,13 +511,9 @@ SVal StoreManager::getLValueElement(QualType elementType, NonLoc Offset, // Only allow non-integer offsets if the base region has no offset itself. // FIXME: This is a somewhat arbitrary restriction. We should be using // SValBuilder here to add the

[clang] [analyzer] Unknown array lvalue element in Store (PR #133381)

2025-03-30 Thread Balazs Benics via cfe-commits
https://github.com/steakhal closed https://github.com/llvm/llvm-project/pull/133381 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [analyzer] Unknown array lvalue element in Store (PR #133381)

2025-03-30 Thread Balazs Benics via cfe-commits
https://github.com/steakhal approved this pull request. https://github.com/llvm/llvm-project/pull/133381 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [analyzer] Unknown array lvalue element in Store (PR #133381)

2025-03-30 Thread via cfe-commits
@@ -511,13 +511,9 @@ SVal StoreManager::getLValueElement(QualType elementType, NonLoc Offset, // Only allow non-integer offsets if the base region has no offset itself. // FIXME: This is a somewhat arbitrary restriction. We should be using // SValBuilder here to add the

[clang] [analyzer] Unknown array lvalue element in Store (PR #133381)

2025-03-30 Thread via cfe-commits
@@ -0,0 +1,146 @@ +//===- LValueElementTest.cpp ---===// T-Gruber wrote: Thanks for the hint. That makes more sense. Feel free to check the corresponding commits. https://github.com/llvm/llvm-project/pull/133381 _

[clang] [analyzer] Unknown array lvalue element in Store (PR #133381)

2025-03-28 Thread Balazs Benics via cfe-commits
https://github.com/steakhal edited https://github.com/llvm/llvm-project/pull/133381 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits