diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2012-05-29 21:52:45 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-05-29 21:52:45 +0000 |
commit | 6d1de1b8663fe652903bda2927b885d1ec0f2613 (patch) | |
tree | fa4a666dfe02ae9b91c9274f1eac9358edc66c98 /lib/Parse/ParseObjc.cpp | |
parent | bdccce55823d86330f9e421198646dd4abac8b5c (diff) |
objc: position of 'fixit' was off by one.
This patch fixes it. // rdar://11488351
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseObjc.cpp')
-rw-r--r-- | lib/Parse/ParseObjc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseObjc.cpp b/lib/Parse/ParseObjc.cpp index f7efad5cd1..bd1866febe 100644 --- a/lib/Parse/ParseObjc.cpp +++ b/lib/Parse/ParseObjc.cpp @@ -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); |