[PATCH] D50927: [Sema] Remove location from implicit capture init expr
Vedant Kumar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 20 12:28:37 PDT 2018
vsk updated this revision to Diff 161536.
vsk added a comment.
- Here is a GIF that might help illustrate the bug: http://net.vedantk.com/static/llvm/lambda-implicit-capture-bug.gif
- Update test/SemaCXX/uninitialized.cpp to highlight the behavior change which comes from using getBeginOrDeclLoc().
https://reviews.llvm.org/D50927
Files:
clang/include/clang/AST/Expr.h
clang/lib/AST/Expr.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaLambda.cpp
clang/test/CodeGenCXX/debug-info-lambda.cpp
clang/test/SemaCXX/uninitialized.cpp
clang/unittests/Tooling/RecursiveASTVisitorTests/DeclRefExpr.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50927.161536.patch
Type: text/x-patch
Size: 6580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180820/4bf4a270/attachment.bin>
More information about the cfe-commits
mailing list