llvm-project
e9a47a66 - [llvm] Construct SmallVector with ArrayRef (NFC) (#102712)

Commit
1 year ago
[llvm] Construct SmallVector with ArrayRef (NFC) (#102712) Without this patch, the constructor arguments come from SmallVectorImpl, not ArrayRef. This patch switches them to ArrayRef so that we can construct SmallVector with a single argument. Note that LLVM Programmer’s Manual prefers ArrayRef to SmallVectorImpl for flexibility.
Parents
Loading