aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-01-04 11:13:11 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-01-04 11:13:11 +0000
commitac458ba9af853ca1abe0b3b91cd5548a3ec1876a (patch)
treec545660f4d09c15feefd86edb4895acdb0dabb5f /clang/lib/CodeGen/CodeGenFunction.cpp
parent97c6d78f3e7582ce717b24063e765a4246ce6f79 (diff)
downloadllvm-ac458ba9af853ca1abe0b3b91cd5548a3ec1876a.zip
llvm-ac458ba9af853ca1abe0b3b91cd5548a3ec1876a.tar.gz
llvm-ac458ba9af853ca1abe0b3b91cd5548a3ec1876a.tar.bz2
[ADT] Enhance the PriorityWorklist to support bulk insertion.
This is both convenient and more efficient as we can skip any intermediate reallocation of the vector. This usage pattern came up in a subsequent patch on the pass manager, but it seems generically useful so I factored it out and added unittests here. llvm-svn: 290952
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions