[clang] ExprEngine::performTrivialCopy triggers checkLocation (PR #129016)

2025-02-27 Thread via cfe-commits
https://github.com/T-Gruber updated https://github.com/llvm/llvm-project/pull/129016 >From 79d8f061476c6ba21bf48f55597eaaef345c2e80 Mon Sep 17 00:00:00 2001 From: "tobias.gruber" Date: Wed, 26 Feb 2025 18:00:21 +0100 Subject: [PATCH 1/5] Trigger checkLocation for RHS of copy construction ---

[clang] ExprEngine::performTrivialCopy triggers checkLocation (PR #129016)

2025-02-26 Thread via cfe-commits
https://github.com/T-Gruber updated https://github.com/llvm/llvm-project/pull/129016 >From 79d8f061476c6ba21bf48f55597eaaef345c2e80 Mon Sep 17 00:00:00 2001 From: "tobias.gruber" Date: Wed, 26 Feb 2025 18:00:21 +0100 Subject: [PATCH 1/5] Trigger checkLocation for RHS of copy construction ---

[clang] ExprEngine::performTrivialCopy triggers checkLocation (PR #129016)

2025-02-26 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff af68927a831c45b92248b1f6fc24d445be42dd91 57b4517b29bd6d8d7ba2fafa94b6b7b17494050b --e

[clang] ExprEngine::performTrivialCopy triggers checkLocation (PR #129016)

2025-02-26 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (T-Gruber) Changes The triggered callbacks for the default copy constructed instance and the instance used for initialization now behave in the same way. The LHS already calls checkBind. To keep this consistent, checkLocation is now

[clang] ExprEngine::performTrivialCopy triggers checkLocation (PR #129016)

2025-02-26 Thread via cfe-commits
https://github.com/T-Gruber created https://github.com/llvm/llvm-project/pull/129016 The triggered callbacks for the default copy constructed instance and the instance used for initialization now behave in the same way. The LHS already calls checkBind. To keep this consistent, checkLocation is