commit | 673c5d5e22b0af17bb9e903862f39e8a23d9e47f | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Apr 17 01:56:48 2013 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Apr 17 01:56:48 2013 +0000 |
tree | 2292d57adeab1f8dac0c99a55b5e03a6a5f26686 | |
parent | f2fee9aa3c2a69465e5ad20d3d0c368eb430562c [diff] |
Correct the range returned by ParmVarDecl::getSourceRange(), for parameters in ObjC methods with postfix types. For a parameter in a method like this: -(int)methodWithFn:(void (*)(int *p))fn; we would return the source range of the type and not include the parameter name. Fixes rdar://13668626. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179660 91177308-0d34-0410-b5e6-96231b3b80d8