https://github.com/PiotrZSL closed
https://github.com/llvm/llvm-project/pull/85849
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/5chmidti approved this pull request.
https://github.com/llvm/llvm-project/pull/85849
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
:white_check_mark: With the latest revision this PR passed the Python code
formatter.
https://github.com/llvm/llvm-project/pull/85849
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
github-actions[bot] wrote:
:white_check_mark: With the latest revision this PR passed the C/C++ code
formatter.
https://github.com/llvm/llvm-project/pull/85849
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://github.com/PiotrZSL updated
https://github.com/llvm/llvm-project/pull/85849
>From 2bd3d15a9e4a9a34bb9edb12815207093c0f3157 Mon Sep 17 00:00:00 2001
From: Piotr Zegar
Date: Tue, 19 Mar 2024 19:09:38 +
Subject: [PATCH 1/2] [clang-tidy] Ignore expresions in unevaluated context in
https://github.com/5chmidti requested changes to this pull request.
Looks good, but the `operand` node may also be in an unevaluated context, you
only guard against the non `++/--` expr being in an unevaluated context here.
Fix: add `unless(IsInUnevaluatedContext)` to both
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Piotr Zegar (PiotrZSL)
Changes
Skip checking for references to variable in unevaluated context, like decltype,
static_assert and so on.
Closes #85838
---
Full diff: https://github.com/llvm/llvm-project/pull/85849.diff
3
https://github.com/PiotrZSL created
https://github.com/llvm/llvm-project/pull/85849
Skip checking for references to variable in unevaluated context, like decltype,
static_assert and so on.
Closes #85838
>From 2bd3d15a9e4a9a34bb9edb12815207093c0f3157 Mon Sep 17 00:00:00 2001
From: Piotr Zegar