[LLVMbugs] [Bug 12388] New: Functions defined inside an @implementation block don't see automatic forward method declarations
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Mar 28 10:00:16 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=12388
Bug #: 12388
Summary: Functions defined inside an @implementation block
don't see automatic forward method declarations
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: tjw at me.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 8282
--> http://llvm.org/bugs/attachment.cgi?id=8282
example
Functions defined inside an @implementation block are supposed to be privvy to
the guts of the class. Consider that they can directly access ivars in
instances of the class.
But, the new relaxing of the need to forward declare methods w/in the same
@implementation block doesn't carry over to these functions.
See the attached sample.
clang version 3.1 (trunk 153578)
Target: x86_64-apple-darwin11.3.0
Thread model: posix
--
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