You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pass std::initializer_list by value to ArrayRef constructor. (#113590)
The std::initializer_list is a lightweight object, it is passed by value
in general.
This would also avoid a false positive when adding the lifetimebound
annotation (#113547)
```
ArrayRef<int> foo(std::initializer_list<int> list) {
return ArrayRef<int>(list);
}
```
0 commit comments