diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-09-25 10:35:09 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-09-26 19:48:46 +0530 |
commit | ece29e32a83b4ae1591d4d45e2cf0a463f273a25 (patch) | |
tree | ceb12ea9d0cc42f43b68597df0dde2f05ddf8dcc /mesonbuild/mesonlib.py | |
parent | 5ebc77f72223d15fae869ffcc26c0b0020198fc4 (diff) | |
download | meson-ece29e32a83b4ae1591d4d45e2cf0a463f273a25.zip meson-ece29e32a83b4ae1591d4d45e2cf0a463f273a25.tar.gz meson-ece29e32a83b4ae1591d4d45e2cf0a463f273a25.tar.bz2 |
compilers: Consolidate language suffix mapping
Instead of spreading it across the entire file and re-implementing
can_compile for each compiler, consolidate it in one dictionary which
the base compiler class can refer to based on self.language set by the
child class.
This has fixed a number of hidden and unreported bugs due to bitrotten
can_compiler implementations.
Diffstat (limited to 'mesonbuild/mesonlib.py')
0 files changed, 0 insertions, 0 deletions