]> granicus.if.org Git - clang/commit
Add range accessors for captures of a LambdaExpr.
authorJames Dennett <jdennett@google.com>
Tue, 27 May 2014 19:13:04 +0000 (19:13 +0000)
committerJames Dennett <jdennett@google.com>
Tue, 27 May 2014 19:13:04 +0000 (19:13 +0000)
commitbc3f40cb78ab1c07450a1c3204c6a5d1a7b1a764
tree91baea2578f6431aa3faa5aba27407c39b204c35
parent0aba93f1937beec1388e0fdd5fb883df6dd548ba
Add range accessors for captures of a LambdaExpr.

Summary:
This adds LambdaExpr::captures(), LambdaExpr::explicit_captures()
and LambdaExpr::implicit_captures() as simple wrappers over the underlying
*_begin()/*_end() functions.

Reviewers: aaron.ballman

Differential Revision: http://reviews.llvm.org/D3926

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209679 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ExprCXX.h
lib/AST/ExprCXX.cpp