summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
diff options
context:
space:
mode:
authorMads Ravn <madsravn@gmail.com>2017-04-24 09:27:20 +0000
committerMads Ravn <madsravn@gmail.com>2017-04-24 09:27:20 +0000
commita301498783dd9c05f1067cdb8eea5ff4e9f9a059 (patch)
treebe12b3057ac97b9ce9515d798d7bcb28a2a99d97 /llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
parentf53865daa41d0c520a2afd2618e9a00fed448528 (diff)
downloadbcm5719-llvm-a301498783dd9c05f1067cdb8eea5ff4e9f9a059.tar.gz
bcm5719-llvm-a301498783dd9c05f1067cdb8eea5ff4e9f9a059.zip
[clang-tidy] New check: modernize-replace-random-shuffle.
This check will find occurrences of ``std::random_shuffle`` and replace it with ``std::shuffle``. In C++17 ``std::random_shuffle`` will no longer be available and thus we need to replace it. Example of case that it fixes ``` std::vector<int> v; // First example std::random_shuffle(vec.begin(), vec.end()); ``` Reviewers: hokein, aaron.ballman, alexfh, malcolm.parsons, mclow.lists Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D30158 llvm-svn: 301167
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFContext.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud