diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-09-17 12:19:53 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-09-24 12:14:13 -0700 |
commit | a0a8ef567e80092c6fb954a5b665b2121ab9d59b (patch) | |
tree | b12c9fdc5362a39306ac15eaa6afae3db933709f /mesonbuild/compilers/compilers.py | |
parent | 1e93d2875e77e6465f985dfcdef6b355a19c7d7c (diff) | |
download | meson-a0a8ef567e80092c6fb954a5b665b2121ab9d59b.zip meson-a0a8ef567e80092c6fb954a5b665b2121ab9d59b.tar.gz meson-a0a8ef567e80092c6fb954a5b665b2121ab9d59b.tar.bz2 |
compilers/mixins/intel: Use the has_func_attribute_extra_args function
Instead of putting that extra argument in the base compiles() class
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r-- | mesonbuild/compilers/compilers.py | 3 |
1 files changed, 3 insertions, 0 deletions
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, |