about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-04-30 10:18:29 +0200
committerGitHub <noreply@github.com>2025-04-30 10:18:29 +0200
commitae7d78a8ff7bedef5d6dcd369456a59e74bf5477 (patch)
treed215edb7ba7f4c4f3568ccdba81892ba11dc444b /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent89ad5743304f502830a0dec983537abe694a2f22 (diff)
parented2f4b6d2dd0bc5023223cf4a61c14b2b811f9cd (diff)
downloadrust-ae7d78a8ff7bedef5d6dcd369456a59e74bf5477.tar.gz
rust-ae7d78a8ff7bedef5d6dcd369456a59e74bf5477.zip
Rollup merge of #140448 - Zalathar:query-append, r=compiler-errors
Rename `rustc_query_append!` to `rustc_with_all_queries!`

Whenever I'm trying to make sense of the query system internals, I always get tripped up on this unhelpfully-named macro. The fact that it's a higher-order proc macro is already mind-melting enough on its own.

This new name, `rustc_with_all_queries!`, forms a much more intuitive combination with the helper macros that it invokes. And only one of the call sites was even making use of the “append” part of its old name.

This PR also reformats the parameters matched by the helper macros, to make the actual argument syntax a bit easier to see.

---

Renaming and reformatting only; no functional changes.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions