aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-03-08 14:49:23 +0200
committerGitHub <noreply@github.com>2020-03-08 14:49:23 +0200
commit44ff3e6c7de0db188284cc834b304e7b0e960d00 (patch)
treeda5c45cecc16083c5120a3977383b42bd9d4cbf2 /mesonbuild/compilers
parent91976a3489acbe53593e866fdb11951b515fda54 (diff)
parent06b1a317d26cbe2a1bd7a232dd9726590d0c0a48 (diff)
downloadmeson-44ff3e6c7de0db188284cc834b304e7b0e960d00.zip
meson-44ff3e6c7de0db188284cc834b304e7b0e960d00.tar.gz
meson-44ff3e6c7de0db188284cc834b304e7b0e960d00.tar.bz2
Merge pull request #6736 from dcbaker/mesonlib-type-annotations
Mesonlib type annotations
Diffstat (limited to 'mesonbuild/compilers')
-rw-r--r--mesonbuild/compilers/compilers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index 1c0adff..caa8600 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -35,6 +35,8 @@ if T.TYPE_CHECKING:
from ..environment import Environment
from ..linkers import DynamicLinker # noqa: F401
+ CompilerType = T.TypeVar('CompilerType', bound=Compiler)
+
"""This file contains the data files of all compilers Meson knows
about. To support a new compiler, add its information below.
Also add corresponding autodetection code in environment.py."""