| commit | a077279184e39f7ec25e1a491e47bf51c25355d5 | [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 | ef88c0a0ac9c30c3d8693763daee5de2e90afb81 | |
| parent | 406503a0f908196e67322500502ccc13c928c2f4 [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. llvm-svn: 179660