http://llvm.org/bugs/show_bug.cgi?id=3907
Summary: Incorrect parsing of Class.property.property syntax
Product: clang
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P2
Component: parser
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
It appears that clang isn't looking for any dot syntax property accesses after
the first if the first one is on a class.
This code reproduces the issue (GCC doesn't like this either for other reasons,
but it works enough to demonstrate the issue):
@interface Test {}
+ (Test*)one;
- (int)two;
@end
int main ()
{
return Test.one.two;
}
Tested using clang+llvm r68021, new driver.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs