From a0a8ef567e80092c6fb954a5b665b2121ab9d59b Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 17 Sep 2020 12:19:53 -0700 Subject: compilers/mixins/intel: Use the has_func_attribute_extra_args function Instead of putting that extra argument in the base compiles() class --- mesonbuild/compilers/compilers.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mesonbuild/compilers/compilers.py') diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index 2f26002..fd2d081 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -1041,6 +1041,9 @@ class Compiler(metaclass=abc.ABCMeta): def get_pch_use_args(self, pch_dir: str, header: str) -> T.List[str]: raise EnvironmentException('{} does not support pre compiled headers'.format(self.id)) + def get_has_func_attribute_extra_args(self, name: str) -> T.List[str]: + raise EnvironmentException('{} does not support function attributes'.format(self.id)) + def get_args_from_envvars(lang: str, for_machine: MachineChoice, -- cgit v1.1