[libcxx] r296716 - Fix python 3 syntax error in sym_diff
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 1 16:03:02 PST 2017
Author: ericwf
Date: Wed Mar 1 18:03:01 2017
New Revision: 296716
URL: http://llvm.org/viewvc/llvm-project?rev=296716&view=rev
Log:
Fix python 3 syntax error in sym_diff
Modified:
libcxx/trunk/utils/libcxx/sym_check/diff.py
Modified: libcxx/trunk/utils/libcxx/sym_check/diff.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/utils/libcxx/sym_check/diff.py?rev=296716&r1=296715&r2=296716&view=diff
==============================================================================
--- libcxx/trunk/utils/libcxx/sym_check/diff.py (original)
+++ libcxx/trunk/utils/libcxx/sym_check/diff.py Wed Mar 1 18:03:01 2017
@@ -43,7 +43,7 @@ def changed_symbols(old, new):
continue
new_sym = _find_by_key(new, old_sym['name'])
if (new_sym is not None and not new_sym in old
- and cmp(old_sym, new_sym) != 0):
+ and old_sym != new_sym):
changed += [(old_sym, new_sym)]
return changed
More information about the cfe-commits
mailing list