about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorJoseph Ryan <josephryan3.14@gmail.com>2020-08-03 12:45:27 -0500
committerNixon Enraght-Moony <nixon.emoony@gmail.com>2020-12-01 18:34:39 +0000
commit66884e318f2edfb0dd66d76a7d3b080d0dd9e4c5 (patch)
tree0205eacba72c744cc39c4fdca76d68d93a0837b2 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent4cbda829c00af2c3ac362c979fa97ea90be0be7d (diff)
downloadrust-66884e318f2edfb0dd66d76a7d3b080d0dd9e4c5.tar.gz
rust-66884e318f2edfb0dd66d76a7d3b080d0dd9e4c5.zip
Add json backend
Respond to comments and start adding tests

Fix re-exports and extern-crate

Add expected output tests

Add restricted paths

Format

Fix: associated methods missing in output

Ignore stripped items

Mark stripped items

removing them creates dangling references

Fix tests and update conversions

Don't panic if JSON backend fails to create a file

Fix attribute error in JSON testsuite

Move rustdoc-json to rustdoc/

This way it doesn't have to build rustc twice. Eventually it should
probably get its own suite, like rustdoc-js, but that can be fixed in a
follow-up.

Small cleanups

Don't prettify json before printing

This fully halves the size of the emitted JSON.

Add comments

[BREAKING CHANGE] rename version -> crate_version

[BREAKING CHANGE] rename source -> span

Use exhaustive matches

Don't qualify imports for DefId

Rename clean::{ItemEnum -> ItemKind}, clean::Item::{inner -> kind}

Fix Visibility conversion

clean::Visability was changed here:
https://github.com/rust-lang/rust/pull/77820/files#diff-df9f90aae0b7769e1eb6ea6f1d73c1c3f649e1ac48a20e169662a8930eb427beL1467-R1509

More churn catchup

Format
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions