forked from OSchip/llvm-project
e94b7c24c8
The shrink_to_fit() method is more readable and more effective than the copy and swap trick to reduce the capacity of a shrinkable container. Note that, the shrink_to_fit() method is only available in C++11 and up. Example: std::vector<int>(v).swap(v); will be replaced with v.shrink_to_fit(); http://reviews.llvm.org/D7087 Patch by Gábor Horváth! llvm-svn: 226912 |
||
---|---|---|
.. | ||
Unit | ||
clang-apply-replacements | ||
clang-modernize | ||
clang-query | ||
clang-rename | ||
clang-tidy | ||
modularize | ||
module-map-checker | ||
pp-trace | ||
remove-cstr-calls | ||
.clang-format | ||
CMakeLists.txt | ||
Makefile | ||
lit.cfg | ||
lit.site.cfg.in |