https://llvm.org/bugs/show_bug.cgi?id=24614
Bug ID: 24614
Summary: Using NS_REQUIRES_SUPER with dot notation causes a
warning
Product: clang
Version: trunk
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangb...@nondot.org
Reporter: mcz...@gmail.com
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified
Created attachment 14788
--> https://llvm.org/bugs/attachment.cgi?id=14788&action=edit
Patch to fix the requires super with dot notation including a test.
- (id)propertyListRepresentation
{
return super.propertyListRepresentation;
// Warning super not called.
}
- (id)propertyListRepresentation
{
return [super propertyListRepresentation];
// No warning
}
Please see the attached patch to find a fix.
This is the first time I submit to llvm/clang so I hope you find all
information you need.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs