aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-09-17 12:02:07 -0700
committerDylan Baker <dylan@pnwbakers.com>2020-09-24 12:14:13 -0700
commit48a181866f9cb574d13f59f8d94983a1bc2f88ed (patch)
treeb4a9ffcc6e168201b9db7ac40ebf811546d71bfd /mesonbuild/compilers/compilers.py
parent4b52184dc688706e529cf038c1724be7e8951b1c (diff)
downloadmeson-48a181866f9cb574d13f59f8d94983a1bc2f88ed.zip
meson-48a181866f9cb574d13f59f8d94983a1bc2f88ed.tar.gz
meson-48a181866f9cb574d13f59f8d94983a1bc2f88ed.tar.bz2
compilers/mixins/clang: Make type safe
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index edd1c5d..2f26002 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -1032,6 +1032,14 @@ class Compiler(metaclass=abc.ABCMeta):
def attribute_check_func(self, name: str) -> str:
raise EnvironmentException('{} does not support attribute checks'.format(self.id))
+ def get_pch_suffix(self) -> str:
+ raise EnvironmentException('{} does not support pre compiled headers'.format(self.id))
+
+ def get_pch_name(self, name: str) -> str:
+ raise EnvironmentException('{} does not support pre compiled headers'.format(self.id))
+
+ 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_args_from_envvars(lang: str,