summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
authorZhanyong Wan <wan@google.com>2010-06-17 20:56:31 +0000
committerZhanyong Wan <wan@google.com>2010-06-17 20:56:31 +0000
commitcae2ea48fe13b4b90fb53c7f521523e2458c8e56 (patch)
treef0e85cf2a7da71b8ae58b5d1f89bb8c8c8548036 /llvm/lib/Target/Sparc
parent9240f3dac7e597c67c8157da33294a5b642b11c7 (diff)
downloadbcm5719-llvm-cae2ea48fe13b4b90fb53c7f521523e2458c8e56.tar.gz
bcm5719-llvm-cae2ea48fe13b4b90fb53c7f521523e2458c8e56.zip
Improves RecursiveASTVisitor:
* refactors code in DEF_TRAVERSE_DECL() into TraverseDeclContextHelper() to reduce code bloat and facilitate reuse. * makes the order of traversing a FunctionDecl (including its subclasses)'s children more natural: before the function parameters are visited after the function body; now they are visited after the function type and before the function body. * fixes a double count for function return type and arguments. Reviewed by chandlerc and csilvers. llvm-svn: 106236
Diffstat (limited to 'llvm/lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud