[llvm-bugs] [Bug 51576] New: Clang accepts any custom structure as atomic constraint type
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Aug 22 08:35:13 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51576
Bug ID: 51576
Summary: Clang accepts any custom structure as atomic
constraint type
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++2a
Assignee: unassignedclangbugs at nondot.org
Reporter: hewillk at gmail.com
CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk
struct S { };
template<class T> concept C = T(true);
decltype(C<S>) w = true;
https://godbolt.org/z/6cbfKeT7d
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210822/3382a29d/attachment-0001.html>
More information about the llvm-bugs
mailing list