summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJames Dennett <jdennett@google.com>2013-09-05 17:46:21 +0000
committerJames Dennett <jdennett@google.com>2013-09-05 17:46:21 +0000
commite3efec20260ea7a0071e2ae6eedf3c2865e476d3 (patch)
treedbb540f3dc5b95f497b03bc1ee522c8b88c05c3d /lib/CodeGen/CodeGenFunction.cpp
parente38f08aa831617cd0b6dc90d82f98eda674c0fc8 (diff)
downloadclang-e3efec20260ea7a0071e2ae6eedf3c2865e476d3.tar.gz
clang-e3efec20260ea7a0071e2ae6eedf3c2865e476d3.tar.bz2
clang-e3efec20260ea7a0071e2ae6eedf3c2865e476d3.tar.xz
Mark lambda closure classes as being implicitly-generated.
Summary: Closure classes for C++ lambdas are always compiler-generated. This one-line change calls setImplicit(true) on them at creation time, such that a default RecursiveASTVisitor (or any for which shouldVisitImplicitCode returns false) will skip them. Reviewers: rsmith, dblaikie Reviewed By: dblaikie CC: klimek, revane, cfe-commits, jordan_rose Differential Revision: http://llvm-reviews.chandlerc.com/D1593 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions