Commit Graph

38 Commits (d386b54239877329e3f3f9e224de695153f08b5f)

Author SHA1 Message Date
DesWurstes 5d4999951e
prevector: Avoid unnamed struct, which is a GNU extension
5 years ago
MarcoFalke fa488f131f
scripted-diff: Bump copyright headers
5 years ago
Russell Yanofsky 56dd9f04c7 Make VectorFormatter support stateful formatters
5 years ago
Wladimir J. van der Laan 2bdc476d4d
Merge #17708: prevector: avoid misaligned member accesses
5 years ago
MarcoFalke aaaaad6ac9
scripted-diff: Bump copyright of files changed in 2019
5 years ago
Anthony Towns 9d933ef919 prevector: avoid misaligned member accesses
5 years ago
Hennadii Stepanov 98fbd1cdff
Use correct C++11 header for std::swap()
5 years ago
practicalswift 084e17cebd Remove unused includes
5 years ago
Wladimir J. van der Laan 8777a80706
Merge #12324: speed up Unserialize_impl for prevector
5 years ago
MarcoFalke 3632143ebb
Merge #14266: refactor: Lift prevector default vals to the member declaration
6 years ago
Akio Nakamura 86b47fa741 speed up Unserialize_impl for prevector
6 years ago
Ben Woosley 69ca48717c
Implement prevector::fill once
6 years ago
Ben Woosley 7bad78c2c8
Drop defunct IS_TRIVIALLY_CONSTRUCTIBLE handling from prevector.h
6 years ago
Lenny Maiorani 76e13b586f warnings: Compiler warning on memset usage for non-trivial type
6 years ago
Ben Woosley d2eee87928
Lift prevector default vals to the member declaration
6 years ago
Ben Woosley 1d9aa008d6
Explicitly initialize prevector _union
6 years ago
Ben Woosley 497e90c02b
Remove default argument to prevector constructor to remove ambiguity
6 years ago
DrahtBot eb7daf4d60 Update copyright headers to 2018
6 years ago
Evan Klitzke 5aad635b78 Use memset() to optimize prevector::resize()
7 years ago
Akio Nakamura e46be25f0e Reduce redundant code of prevector and speed it up
7 years ago
Akira Takizawa 595a7bab23 Increment MIT Licence copyright header year on files modified in 2017
7 years ago
Dan Raviv bc70ab5dff Fix header guards using reserved identifiers
7 years ago
practicalswift 90d4d89230 scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL
7 years ago
Matt Corallo c73b8be244 Explicitly initialize prevector::_union to avoid new warning
7 years ago
Jorge Timón 33aed5bf89
Fix const_reverse_iterator constructor (pass const ptr)
8 years ago
Pieter Wuille e241a63c23 Clarify prevector::erase and avoid swap-to-clear
8 years ago
Wladimir J. van der Laan 67ed40ed82
Merge #9505: Prevector Quick Destruct
8 years ago
Cory Fields d4ee7baef7 prevector: assert successful allocation
8 years ago
Jeremy Rubin 45a5aaf147 Only call clear on prevector if it isn't trivially destructible and don't loop in clear
8 years ago
isle2983 27765b6403 Increment MIT Licence copyright header year on files modified in 2016
8 years ago
Pieter Wuille 2ddfcfd2d6 Make CScript (and prevector) c++11 movable.
8 years ago
Wladimir J. van der Laan f00705ae7f
serialize: Deprecate `begin_ptr` / `end_ptr`
8 years ago
Wladimir J. van der Laan 47314e6daa prevector: add C++11-like data() method
8 years ago
Kaz Wesley a7af72a697 prevector::swap: fix (unreached) data corruption
9 years ago
Kaz Wesley 1e2c29f263 prevector: destroy elements only via erase()
9 years ago
MarcoFalke fa60d05a4e Add missing copyright headers
9 years ago
Pavel Janík 1812de9091 Name union to prevent compiler warning
9 years ago
Pieter Wuille 114b5812f6 Prevector type
9 years ago