The warning doesn't know why the variable was looked up but not
odr-used, so reword it to not claim that it was used in an unevaluated
context.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D28902
[Sema] Reword unused lambda capture warning ClosedPublic Authored by malcolm.parsons on Jan 19 2017, 7:44 AM.
Details Summary The warning doesn't know why the variable was looked up but not
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 19 2017, 9:26 AM Closed by commit rL292498: [Sema] Reword unused lambda capture warning (authored by malcolm.parsons). · Explain WhyJan 19 2017, 9:30 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 84984 cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
cfe/trunk/test/SemaCXX/warn-unused-lambda-capture.cpp
|