LGTM
Let's see what breaks once this is fixed. :)
================
Comment at: lib/AST/VTableBuilder.cpp:2255
@@ +2254,3 @@
+struct VTableThunksComparator {
+ bool operator()(const VTableLayout::VTableThunkTy &LHS,
+ const VTableLayout::VTableThunkTy &RHS) {
----------------
Just use a function for this, no need for a class.
================
Comment at: lib/AST/VTableBuilder.cpp:2958
@@ -2931,1 +2957,3 @@
+struct MicrosoftThunkInfoStableSortComparator {
+ bool operator() (const ThunkInfo &LHS, const ThunkInfo &RHS) {
----------------
Ditto, plain function.
http://llvm-reviews.chandlerc.com/D1787
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits