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)
commit1575cb49cd87b8abf87ae5a866c2a3f49abf9158
treee3071ce77139b845cceb04214fc58757237413de
parente41db2fe31d3c7d4656ff2e84830ce2f0a7645b9
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

llvm-svn: 209679
clang/include/clang/AST/ExprCXX.h
clang/lib/AST/ExprCXX.cpp