From a3c94956c880fc3fe983251597a3582d394c63be Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 6 Aug 2021 15:12:43 -0700 Subject: compilers: Add get_no_warn_args to the base Compiler class Because it should be defined there. --- mesonbuild/compilers/compilers.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index c71375b..e23d18e 100644 --- a/mesonbuild/compilers/compilers.py +++ b/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], -- cgit v1.1