[LLVMbugs] [Bug 8751] New: r120890 breaks property in Obj-C++

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 7 03:33:26 PST 2010


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

           Summary: r120890 breaks property in Obj-C++
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: devlists at shadowlab.org
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


r120890 by rjmccall, 04:47
“Although we currently have explicit lvalue-to-rvalue conversions, they're not
actually frequently used, because ImpCastExprToType only creates a node if the
types differ…”

After this commit, clang asserts while compiling the following code in Obj-C++
(it works when compiling in Obj-C)

----------------------

@interface Test {}
@property int foo;
@end

int test(Test *t) { return t.foo; }

---------------------

-- 
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