diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-08-24 04:16:48 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-08-23 19:16:02 -0700 |
commit | 79aec5f34226330712f606bf3655aa2d25377927 (patch) | |
tree | 81587d45c6f9f8cafd4f961b67b76fc8084ab963 /mesonbuild/compilers/d.py | |
parent | a7e6c1aaa46749b0e20c91e98869208e5e664500 (diff) | |
download | meson-79aec5f34226330712f606bf3655aa2d25377927.zip meson-79aec5f34226330712f606bf3655aa2d25377927.tar.gz meson-79aec5f34226330712f606bf3655aa2d25377927.tar.bz2 |
CompilerArgs: Allow calling to_native() multiple times
Add a keyword argument to to_native() to operate on a copy so that we
can call it multiple times instead of modifying the original compiler
args while iterating.
This is used in the unit test, and might be used in Meson at some
point too.
Diffstat (limited to 'mesonbuild/compilers/d.py')
0 files changed, 0 insertions, 0 deletions