Bug 1605852 - Run clang-tidy with C++17 support r=andi

Differential Revision: https://phabricator.services.mozilla.com/D58190

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Sylvestre Ledru 2020-01-02 13:56:31 +00:00
parent c6ad5b50fe
commit 298a3a26a6

View File

@ -952,7 +952,7 @@ class StaticAnalysis(MachCommandBase):
common_args = ['-clang-tidy-binary', self._clang_tidy_path,
'-clang-apply-replacements-binary', self._clang_apply_replacements,
'-checks=%s' % checks,
'-extra-arg=-DMOZ_CLANG_PLUGIN']
'-extra-arg=-std=c++17', '-extra-arg=-DMOZ_CLANG_PLUGIN']
# Flag header-filter is passed in order to limit the diagnostic messages only
# to the specified header files. When no value is specified the default value