aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-04-10 12:33:34 -0700
committerDylan Baker <dylan@pnwbakers.com>2020-04-10 12:33:34 -0700
commitb5e077fce8fe8fd892c76c6c4d474751a680503a (patch)
tree1024709a67f9d4ce6752a6bd3892d356ad14a8e1 /mesonbuild/compilers/compilers.py
parenta33f20b9a4e2e0ecf08f251be290bffd0d31a92d (diff)
downloadmeson-b5e077fce8fe8fd892c76c6c4d474751a680503a.zip
meson-b5e077fce8fe8fd892c76c6c4d474751a680503a.tar.gz
meson-b5e077fce8fe8fd892c76c6c4d474751a680503a.tar.bz2
compilers: Move things out of clike
One method belongs in the base Compiler class, the other belongs in the GnuLikeCompiler class.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index 2caddde..52b9592 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -1201,6 +1201,9 @@ class Compiler:
"""
return []
+ def get_coverage_link_args(self) -> T.List[str]:
+ return self.linker.get_coverage_args()
+
def get_largefile_args(compiler):
'''