[LLVMbugs] [Bug 20565] New: missing DiagnoseUseOfDecl call in contextual implicit conversion; no diagnostic for deleted function
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Aug 6 13:12:46 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20565
Bug ID: 20565
Summary: missing DiagnoseUseOfDecl call in contextual implicit
conversion; no diagnostic for deleted function
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Keywords: accepts-invalid
Severity: normal
Priority: P
Component: C++11
Assignee: unassignedclangbugs at nondot.org
Reporter: richard-llvm at metafoo.co.uk
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
enum A {};
struct C { operator A() = delete; explicit operator bool(); };
int main() {
C c;
switch (c) {}
}
--
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/20140806/c02e4e1b/attachment.html>
More information about the llvm-bugs
mailing list