meson/mesonbuild/compilers/mixins
Eli Schwartz 34ac2e4af6 fix ninja backend rules containing internal enum reprs
Partially reverts commit 1624354f33 which
moved a bunch of stuff from strings to enums. The issue here is that
Compiler.mode is not just, or primarily, something we compare, but is
instead written in as e.g. `rule c_{compiler.mode}` to build.ninja, so
this identifier needs to be a string.

Ultimately, the issue is that the commit tried to rewrite a bunch of
things called "mode" that had a couple of TODOs saying to use enums...
but it rewrote everything called "mode" regardless of whether it was a
function kwarg or a compiler property, even though the TODO only applied
to one of them.
2023-10-20 18:07:05 -04:00
..
__init__.py compilers: Move clike into a mixins directory 2019-07-15 10:59:22 -07:00
arm.py treewide: automatic rewriting of all comment-style type annotations 2023-08-11 13:41:03 -04:00
ccrx.py Annotate naked fundamental Python types 2023-07-12 18:56:06 -05:00
clang.py clang: use gcc syntax to enable diagnostics color 2023-08-08 16:46:03 -04:00
clike.py fix ninja backend rules containing internal enum reprs 2023-10-20 18:07:05 -04:00
compcert.py Replace some type comments with annotations 2023-07-12 18:56:06 -05:00
elbrus.py Annotate naked fundamental Python types 2023-07-12 18:56:06 -05:00
emscripten.py Fix the typing around Compiler._get_compile_output() 2023-07-12 18:56:06 -05:00
gnu.py make 'gui_app' an interpreter only concept 2023-07-25 13:29:08 -04:00
intel.py Match the method signatures of parent classes 2023-07-12 18:56:06 -05:00
islinker.py Fix return type of debugfile functions 2023-07-12 18:56:06 -05:00
metrowerks.py Metrowerks: set optlevel 3 to max optimization args 2023-09-18 02:11:01 -04:00
pgi.py treewide: automatic rewriting of all comment-style type annotations 2023-08-11 13:41:03 -04:00
ti.py Match the method signatures of parent classes 2023-07-12 18:56:06 -05:00
visualstudio.py fix ninja backend rules containing internal enum reprs 2023-10-20 18:07:05 -04:00
xc16.py treewide: automatic rewriting of all comment-style type annotations 2023-08-11 13:41:03 -04:00