summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/ObjCARC/path-overflow.ll
diff options
context:
space:
mode:
authorJames Dennett <jdennett@google.com>2013-08-09 23:08:25 +0000
committerJames Dennett <jdennett@google.com>2013-08-09 23:08:25 +0000
commitddd36fff49443ab2b8d3078dbde4e607648a609c (patch)
tree40220c19778068cc7c7a645480a70964f18f8cdc /llvm/test/Transforms/ObjCARC/path-overflow.ll
parent98ca59ed3bb7ac8bbc6ea70b3f5d0bbae36313ed (diff)
downloadbcm5719-llvm-ddd36fff49443ab2b8d3078dbde4e607648a609c.tar.gz
bcm5719-llvm-ddd36fff49443ab2b8d3078dbde4e607648a609c.zip
Expose LambdaIntroducer::DefaultLoc in the AST's LambdaExpr.
Summary: Source-centric tools need access to the location of a C++11 lambda expression's capture-default ('&' or '=') when it's present. It's possible for them to find it by re-lexing and re-implementing rules that Clang's parser has already applied, but the cost of storing the SourceLocation and making it available to them is 32 bits per LambdaExpr (a small delta, proportionally), and the simplification in client code is significant. Reviewers: rsmith Reviewed By: rsmith CC: cfe-commits, klimek, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1192 llvm-svn: 188121
Diffstat (limited to 'llvm/test/Transforms/ObjCARC/path-overflow.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud