Prepend Data onto list L (alias of concat).
Declared in <llvm/ADT/ImmutableList.h>
template<typename ElemT>
[[nodiscard]]
ImmutableList<T>
add(
ElemT&& Data,
ImmutableList<T> L);
The uniqued list with Data prepended onto L.
The return value should not be discarded.
| Name | Description |
|---|---|
| Data | Element to prepend. |
| L | Existing list that becomes the new list's tail. |