[LLVMbugs] [Bug 11956] New: clang doesn't completely implement C++0x rules for field references in unevaluated contexts

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 8 22:03:30 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=11956

             Bug #: 11956
           Summary: clang doesn't completely implement C++0x rules for
                    field references in unevaluated contexts
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++0x
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Testcase:

struct X { char a; };
struct Y { int f() { return sizeof(X::a); } };

I tried taking a look at fixing this, but I found ClassifyImplicitMemberAccess
really confusing.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list