compilers: Add get_no_warn_args to the base Compiler class

Because it should be defined there.
pull/9143/head
Dylan Baker 3 years ago committed by Daniel Mensinger
parent abababfb93
commit a3c94956c8
  1. 4
      mesonbuild/compilers/compilers.py

@ -1260,6 +1260,10 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta):
"""Arguments required for a debug build."""
return []
def get_no_warn_args(self) -> T.List[str]:
"""Arguments to completely disable warnings."""
return []
def get_global_options(lang: str,
comp: T.Type[Compiler],

Loading…
Cancel
Save