lifetime2.C violates DR1696, which prevents reference members from being
initialized to temporaries, whose lifetime would end at the end of ctor.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 20534 Build 20534: arc lint + arc unit
Event Timeline
Comment Actions
Do did enforcement of this rule increase recently? I wonder if they knew they would break existing code.
Any lgtm.