aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cpp.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-08-21 13:21:49 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-10-07 10:44:56 -0700
commitff4a17dbef08a1d8afd075f57dbab0f5c76951ab (patch)
tree5c0e08f3150679fd0e220ca1006b7ddee3a08e40 /mesonbuild/compilers/cpp.py
parent1ea3182f827db7c038ac20089437a6202eec02c0 (diff)
downloadmeson-ff4a17dbef08a1d8afd075f57dbab0f5c76951ab.zip
meson-ff4a17dbef08a1d8afd075f57dbab0f5c76951ab.tar.gz
meson-ff4a17dbef08a1d8afd075f57dbab0f5c76951ab.tar.bz2
compilers: Add a specific type for AppleClangC
This allows us to detect use classes rather than methods to determine what C standards are available.
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
-rw-r--r--mesonbuild/compilers/cpp.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py
index f93db3e..922a780 100644
--- a/mesonbuild/compilers/cpp.py
+++ b/mesonbuild/compilers/cpp.py
@@ -184,6 +184,11 @@ class ClangCPPCompiler(ClangCompiler, CPPCompiler):
return ['-lstdc++']
+class AppleClangCPPCompiler(ClangCPPCompiler):
+
+ pass
+
+
class EmscriptenCPPCompiler(LinkerEnvVarsMixin, BasicLinkerIsCompilerMixin, ClangCPPCompiler):
def __init__(self, exelist, version, compiler_type, for_machine: MachineChoice, is_cross, exe_wrapper=None, **kwargs):
if not is_cross: