forked from OSchip/llvm-project
objc: position of 'fixit' was off by one.
This patch fixes it. // rdar://11488351 llvm-svn: 157646
This commit is contained in:
parent
fd2d3c49c0
commit
b6499eb60d
|
@ -894,7 +894,7 @@ ParsedType Parser::ParseObjCTypeName(ObjCDeclSpec &DS,
|
|||
DeclSpec declSpec(AttrFactory);
|
||||
declSpec.setObjCQualifiers(&DS);
|
||||
ParseSpecifierQualifierList(declSpec);
|
||||
declSpec.SetRangeEnd(Tok.getLocation().getLocWithOffset(-1));
|
||||
declSpec.SetRangeEnd(Tok.getLocation());
|
||||
Declarator declarator(declSpec, context);
|
||||
ParseDeclarator(declarator);
|
||||
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
- (void) drawRect : inView:(NSView)view;
|
||||
@end
|
||||
|
||||
// CHECK: {7:34-7:34}:"*"
|
||||
// CHECK: {7:35-7:35}:"*"
|
||||
|
||||
|
|
Loading…
Reference in New Issue