[llvm-bugs] [Bug 24810] New: Incorrect lookup of subobject members

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 14 01:45:06 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24810

            Bug ID: 24810
           Summary: Incorrect lookup of subobject members
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++14
          Assignee: unassignedclangbugs at nondot.org
          Reporter: r.hl at gmx.net
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 14876
  --> https://llvm.org/bugs/attachment.cgi?id=14876&action=edit
Testcase.

The static_assertion fires, although there is no ambiguity;
[class.member.lookup]/4 explicitly states that 

> the declaration set contains every declaration of f declared in C **that
> satisfies the requirements of the language construct in which the lookup 
> occurs**.

-- 
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/20150914/d1eebe9f/attachment.html>


More information about the llvm-bugs mailing list