]> git.lizzy.rs Git - rust.git/commit
Dump results of analysis phase as CSV
authorNick Cameron <ncameron@mozilla.com>
Wed, 5 Feb 2014 04:31:33 +0000 (17:31 +1300)
committerNick Cameron <ncameron@mozilla.com>
Fri, 13 Jun 2014 09:09:50 +0000 (21:09 +1200)
commit984e9afae5098192a789dc39d44cec8225067896
treef1a8b62277e63fcbaa7ad45e62645e0b062fdff5
parentc20aed09307d1b486c22e9b62156b02500ae1e6e
Dump results of analysis phase as CSV

Adds the option -Zsave-analysis which will dump the results of syntax and type checking into CSV files. These can be interpreted by tools such as DXR to provide semantic information about Rust programs for code search, cross-reference, etc.

Authored by Nick Cameron and Peter Elmers (@pelmers; including enums, type parameters/generics).
src/librustc/driver/config.rs
src/librustc/driver/driver.rs
src/librustc/driver/session.rs
src/librustc/lib.rs
src/librustc/middle/save/mod.rs [new file with mode: 0644]
src/librustc/middle/save/recorder.rs [new file with mode: 0644]
src/librustc/middle/save/span_utils.rs [new file with mode: 0644]
src/librustc/middle/ty.rs
src/libsyntax/codemap.rs
src/test/run-make/save-analysis/Makefile [new file with mode: 0644]
src/test/run-make/save-analysis/foo.rs [new file with mode: 0644]