[PATCH] D44362: [clang] Change std::sort to llvm::sort in response to r327219
Richard Smith - zygoloid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 10 22:10:53 PST 2018
rsmith added inline comments.
================
Comment at: include/clang-c/Index.h:2133
* void abssort(float *x, unsigned N) {
- * std::sort(x, x + N,
+ * llvm::sort(x, x + N,
* [](float a, float b) {
----------------
This shouldn't be changed.
================
Comment at: lib/AST/VTableBuilder.cpp:2109
+ llvm::sort(ThunksVector.begin(), ThunksVector.end(),
[](const ThunkInfo &LHS, const ThunkInfo &RHS) {
assert(LHS.Method == nullptr && RHS.Method == nullptr);
----------------
Reindent this (and other calls) please.
Repository:
rC Clang
https://reviews.llvm.org/D44362
More information about the cfe-commits
mailing list