[clang] [clang] Allow relational comparisons between unequal pointers to `void` in constant expressions (PR #89449)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 20 03:25:47 PDT 2024
cor3ntin wrote:
@Endilll The issues do not supersede one another , despite concerning the same note.
The tests for CWG2526 are in [clang/test/CXX/expr/expr.const/p2-0x.cpp](https://github.com/llvm/llvm-project/pull/89449/files#diff-a7dde1a012f85b943dcb6e0f8086cf28d27a48987a27c118459525ab9632cf82),
so we should make that as fixed by copying these tests in dr25xx.cpp
Why do you think this should not apply to C++14 @offsetof ?
https://github.com/llvm/llvm-project/pull/89449
More information about the cfe-commits
mailing list