[PATCH] D50559: [gnu-objc] Make selector order deterministic.

Bernhard M. Wiedemann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 10 12:46:03 PDT 2018


bmwiedemann added a comment.

got a build failure with this patch added onto 6.0.1



================
Comment at: lib/CodeGen/CGObjCGNU.cpp:3547
+      allSelectors.push_back(entry.first);
+    llvm::sort(allSelectors.begin(), allSelectors.end());
 
----------------
compilation failed here:
../tools/clang/lib/CodeGen/CGObjCGNU.cpp:2444:11: error: 'sort' is not a member of 'llvm'

it suggested std::sort


Repository:
  rC Clang

https://reviews.llvm.org/D50559





More information about the cfe-commits mailing list