summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.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
commit4b6730d40e7c603bd0e223d3fa8b56a0c88a324a (patch)
tree25e74149cb69ed0a2708f7125e436008659769fc /lib/CodeGen/CGExprConstant.cpp
parent54272116ba68aad779fac42477013eef500ff211 (diff)
downloadclang-4b6730d40e7c603bd0e223d3fa8b56a0c88a324a.tar.gz
clang-4b6730d40e7c603bd0e223d3fa8b56a0c88a324a.tar.bz2
clang-4b6730d40e7c603bd0e223d3fa8b56a0c88a324a.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190528 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions