llvm-project
643b31a6 - [clang] Fix lifetime extension of temporaries in for-range-initializers in templates (#177191)

Commit
95 days ago
[clang] Fix lifetime extension of temporaries in for-range-initializers in templates (#177191) Fixes https://github.com/llvm/llvm-project/issues/165182. This patch fix the lifetime extension of temporaries in for-range-initializers in templates. Whether this issue was occurred when the for-range statement in a dependent context, but itself is not type/value dependent. --------- Signed-off-by: Wang, Yihan <yronglin777@gmail.com>
Author
Parents
Loading