We might be trying to return a pointer or reference to a local variable, which doesn't work.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM. It may be worth submitting an issue for the current behavior which is wrong.
Do you want to add a quote to the standard? (https://eel.is/c++draft/expr.const#13.3)