summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorMichael Han <fragmentshaders@gmail.com>2013-09-11 15:53:29 +0000
committerMichael Han <fragmentshaders@gmail.com>2013-09-11 15:53:29 +0000
commitc90d12d1df14b16aa83700e5dd4ec2009bfa2655 (patch)
tree256ce5204622e0607a71ab016cf7dc01e25bbd58 /clang/lib/Driver/Driver.cpp
parent17c17bce2a3bba6d80b4a4fd115f03ecae0f8545 (diff)
downloadbcm5719-llvm-c90d12d1df14b16aa83700e5dd4ec2009bfa2655.tar.gz
bcm5719-llvm-c90d12d1df14b16aa83700e5dd4ec2009bfa2655.zip
Teach RAV to visit parameter variable declarations of implicit functions. Fixes PR16182.
Normally RAV visits parameter variable declarations of a function by traversing the TypeLoc of the parameter declarations. However, for implicit functions, their parameters don't have any TypeLoc, because they are implicit. So for implicit functions, we visit their parameter variable declarations by traversing them through the function declaration, and visit them accordingly. Reviewed by Richard Smith and Manuel Klimek. llvm-svn: 190528
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud