summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2015-10-22 01:56:18 +0000
committerCraig Topper <craig.topper@gmail.com>2015-10-22 01:56:18 +0000
commit6a8c151ecb1a8438535546fb104fc0e86f9323dc (patch)
tree977adac5347a74981ef565eec114db9021e417d3 /llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
parentd8040cfa9f5e62a5e6a0b855727d006392de609d (diff)
downloadbcm5719-llvm-6a8c151ecb1a8438535546fb104fc0e86f9323dc.tar.gz
bcm5719-llvm-6a8c151ecb1a8438535546fb104fc0e86f9323dc.zip
Change SortAndUniqueProtocols to operate directly on a SmallVector rather than taking a pointer and element count that it modifies. This paves the way to directly convert the small vector into an ArrayRef without needing to explicitly pass the modified size. No functional change intended.
While there also use a range-based for loop and use append instead of insert to copy elements into the empty SmallVector." llvm-svn: 250971
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud