equal
deleted
inserted
replaced
707 if mat: |
707 if mat: |
708 # libfuzzer is new in clang 6 |
708 # libfuzzer is new in clang 6 |
709 return int(mat.group(1)) > 5 |
709 return int(mat.group(1)) > 5 |
710 return False |
710 return False |
711 |
711 |
|
712 @check("clang-6.0", "clang 6.0 with version suffix (libfuzzer included)") |
|
713 def has_clang60(): |
|
714 return matchoutput('clang-6.0 --version', b'clang version 6\.') |
|
715 |
712 @check("xdiff", "xdiff algorithm") |
716 @check("xdiff", "xdiff algorithm") |
713 def has_xdiff(): |
717 def has_xdiff(): |
714 try: |
718 try: |
715 from mercurial import policy |
719 from mercurial import policy |
716 bdiff = policy.importmod('bdiff') |
720 bdiff = policy.importmod('bdiff') |