Submitter | phabricator |
---|---|
Date | Oct. 14, 2017, 11:47 a.m. |
Message ID | <789d946c7e0814602c13614abcf193bb@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/24896/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/tests/hghave.py b/tests/hghave.py --- a/tests/hghave.py +++ b/tests/hghave.py @@ -439,6 +439,11 @@ br"Usage: pylint", True) +@check("clang-format", "clang-format C code formatter") +def has_clang_format(): + return matchoutput("clang-format --help", + r"^OVERVIEW: A tool to format C/C\+\+[^ ]+ code.") + @check("pygments", "Pygments source highlighting library") def has_pygments(): try: