about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-11-02 14:14:34 +0900
committerGitHub <noreply@github.com>2020-11-02 14:14:34 +0900
commit61305d5ab4f6a3ca09a62a5f13c3ea3f10e69e9f (patch)
tree9245db031f5df7a933d59ae22d2099c6008c8779 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent0fdb371d5ae2267a7783997b0a84f580059a6488 (diff)
parent6b63e9b990b1624df3f93aeca849a33efcf156e9 (diff)
downloadrust-61305d5ab4f6a3ca09a62a5f13c3ea3f10e69e9f.tar.gz
rust-61305d5ab4f6a3ca09a62a5f13c3ea3f10e69e9f.zip
Rollup merge of #78610 - petrochenkov:nostriptok, r=Aaron1011
Do not remove tokens before AST json serialization

`TokenStripper` is error-prone and introduces one more use of `MutVisitor`.
It's much simpler to treat serialization as just one more place that wants lazy token stream to turn into a real token stream.
Also, no code is better than more code, in general.
r? @Aaron1011

(I also merged tests for `TokenStripper` ICEs into one.)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions