about summary refs log tree commit diff
path: root/src/rustllvm/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2020-04-08 15:50:15 +0200
committerGitHub <noreply@github.com>2020-04-08 15:50:15 +0200
commit46337cb6a8bfe37474f4b7ef7bd0a99b36ce0b80 (patch)
tree2fa65e896e38b65b5e3c315884f6a810fef2946d /src/rustllvm/CoverageMappingWrapper.cpp
parent0b4098335d9ea2468f0ceea82f3c8315fa5decc1 (diff)
parent30503a91d2cd19239d0aed802cd740ec6f2a7e06 (diff)
downloadrust-46337cb6a8bfe37474f4b7ef7bd0a99b36ce0b80.tar.gz
rust-46337cb6a8bfe37474f4b7ef7bd0a99b36ce0b80.zip
Rollup merge of #5406 - flip1995:update_lints_fix, r=flip1995
Fix update_lints

This fixes a bug in update_lints, where `internal` lints were not registered properly. This also cleans up some code. For example: The code generation functions no longer filter the lints the are given. This is now the task of the caller. This way, it is more obvious in the `replace_in_file` calls which lints will be included in which part of a file.

This also turns the lint modules private. There is no need for them to be public, since shared code should be in the utils module anyway.

And last but not least, this fixes the `register_lints` code generation, so also internal lints get registered.

changelog: none
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions