aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-12-09 12:47:14 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-12-13 09:20:34 +0530
commit7b3d00fee4bc76e9b6492321572db7ddd6d7f674 (patch)
tree85fb646e08a8ea9be1a6fde507bb721011047d7c /mesonbuild/compilers.py
parentec47db6c0c6511d249b6d57fd24ca288e00eb9a3 (diff)
downloadmeson-7b3d00fee4bc76e9b6492321572db7ddd6d7f674.zip
meson-7b3d00fee4bc76e9b6492321572db7ddd6d7f674.tar.gz
meson-7b3d00fee4bc76e9b6492321572db7ddd6d7f674.tar.bz2
Use dict for self.build.compilers instead of list
Everywhere we use this object, we end up iterating over it and comparing compiler.get_language() with something. Using a dict is the obvious choice and simplifies a lot of code.
Diffstat (limited to 'mesonbuild/compilers.py')
0 files changed, 0 insertions, 0 deletions