about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-08-29 17:45:18 -0500
committerJoshua Nelson <jnelson@cloudflare.com>2022-09-06 21:43:15 -0500
commit05886e28a4c3fbb7bc22d56bf5a52ba7cfa491d9 (patch)
treeb75824da9685ce91f557a81b3204dbba8c5863ed /compiler/rustc_codegen_llvm/src
parent699bfa882b34a73b333e684e96984c1c565d2eff (diff)
downloadrust-05886e28a4c3fbb7bc22d56bf5a52ba7cfa491d9.tar.gz
rust-05886e28a4c3fbb7bc22d56bf5a52ba7cfa491d9.zip
Further simplify the macros generated by `rustc_queries`
- Add a new `rustc_query_names` macro. This allows a much simpler syntax for the matchers in the macros passed to it as a callback.
- Convert `define_dep_nodes` and `alloc_once` to use `rustc_query_names`. This is possible because they only use the names
  (despite the quite complicated matchers in `define_dep_nodes`, none of the other arguments are used).
- Get rid of `rustc_dep_node_append`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions