[PATCH] D146178: [Clang][Sema] Fix comparison of constraint expressions
Alexander Shaposhnikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 15 16:11:57 PDT 2023
alexander-shaposhnikov added a comment.
@erichkeane - I took your example and tried to reduce it further
https://godbolt.org/z/jEx9vdj7K
It's kind of a difficult situation - both gcc and msvc accept it, yet /* very very cautiously */ it might happen that the code is actually invalid ...
(i'd need to think about it more), but this is based on the insights from @rsmith and http://eel.is/c++draft/temp.constr#atomic-3.sentence-5 .
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146178/new/
https://reviews.llvm.org/D146178
More information about the cfe-commits
mailing list