diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-23 20:13:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-23 20:13:00 +0100 |
| commit | 89baf0f162826983a07be78e102fad0a8a46f3c4 (patch) | |
| tree | 465468203ce7d05af307babaa76c79324d6cd199 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 84322efad553c7a79c80189f2d1b9197c1aa005f (diff) | |
| parent | 67cccaff4858eef5e78793f5a123ac33e5cf3704 (diff) | |
| download | rust-89baf0f162826983a07be78e102fad0a8a46f3c4.tar.gz rust-89baf0f162826983a07be78e102fad0a8a46f3c4.zip | |
Rollup merge of #91526 - petrochenkov:earlint, r=cjgillot
rustc_lint: Some early linting refactorings The first one removes and renames some fields and methods from `EarlyContext`. The second one uses the set of registered tools (for tool attributes and tool lints) in a more centralized way. The third one removes creation of a fake `ast::Crate` from `fn pre_expansion_lint`. Pre-expansion linting is done with per-module granularity on freshly loaded modules, and it previously synthesized an `ast::Crate` to visit non-root modules, now they are visited as modules. The node ID used for pre-expansion linting is also made more precise (the loaded module ID is used).
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
