about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2022-08-08 15:41:32 +0200
committerMara Bos <m-ou.se@m-ou.se>2022-08-08 15:41:32 +0200
commit2808e071dd5042e839749f9d5f794dc0896d1bfd (patch)
tree63ec3754437751990b4c6e2f103432a3f394ebbb /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent9bbbf60b0442f1d56fc39f30274be77acc79164c (diff)
downloadrust-2808e071dd5042e839749f9d5f794dc0896d1bfd.tar.gz
rust-2808e071dd5042e839749f9d5f794dc0896d1bfd.zip
Simplify format_args builtin macro implementation.
Instead of a FxHashMap<Symbol, (usize, Span)> for the named arguments,
this now includes the name and span in the elements of the
Vec<FormatArg> directly. The FxHashMap still exists to look up the
index, but no longer contains the span. Looking up the name or span of
an argument is now trivial and does not need the map anymore.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions