about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorJason Newcomb <jsnewcomb@pm.me>2025-05-19 21:07:29 +0000
committerGitHub <noreply@github.com>2025-05-19 21:07:29 +0000
commitb87e90b28f474c64a753e65b81a973f7b1a15d52 (patch)
treef7281b74426fc9122b22a2acab75ad62f661bde5 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentd4e7e5ba3155ea04837636a70a65b65767b818e1 (diff)
parente16801e68c8d3fef6edcbeabd60cd535754ec017 (diff)
downloadrust-b87e90b28f474c64a753e65b81a973f7b1a15d52.tar.gz
rust-b87e90b28f474c64a753e65b81a973f7b1a15d52.zip
Use interned symbols instead of strings in more places (#14840)
This patch series makes heavy use of interned symbols when matching
against known method names:

- the first commit reorders the current list of symbols in
`clippy_utils::sym`
- the second commit adds symbol reordering and order checking to `clippy
dev fmt` / `clippy dev fmt --check`
- the third commit converts many uses of string matching during linting
to symbols matching

The symbols are kept as-is (not rendered as strings) as much as possible
to avoid needing locking the interner as much as possible. Static
strings have been kept when they are only used when emitting a
diagnostic, as there is no benefit in using interned strings for
de-interning them right after.

changelog: none

r? @Alexendoo
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions