Unverified Commit 7b9b28db authored by yronglin's avatar yronglin Committed by GitHub
Browse files

[Clang] Refactor implementation of "Lifetime extension in range-based for loops" (#87930)



This PR remove `InMaterializeTemporaryObjectContext` , because it's
redundant, materialize non-cv void prvalue temporaries in discarded
expressions can only appear under lifetime-extension context.

Signed-off-by: default avataryronglin <yronglin777@gmail.com>
parent a06073f9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment