diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-04-17 01:56:48 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-04-17 01:56:48 +0000 |
commit | a077279184e39f7ec25e1a491e47bf51c25355d5 (patch) | |
tree | ef88c0a0ac9c30c3d8693763daee5de2e90afb81 /llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | |
parent | 406503a0f908196e67322500502ccc13c928c2f4 (diff) | |
download | llvm-a077279184e39f7ec25e1a491e47bf51c25355d5.zip llvm-a077279184e39f7ec25e1a491e47bf51c25355d5.tar.gz llvm-a077279184e39f7ec25e1a491e47bf51c25355d5.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions