[LLVMbugs] [Bug 3907] New: Incorrect parsing of Class.property.property syntax
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Mar 29 17:03:58 PDT 2009
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: unassignedclangbugs at nondot.org
ReportedBy: catfish.man at gmail.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list