Skip to content

Commit

Permalink
rustdoc_ng: add licenses and issue numbers to appease tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
emberian committed Sep 16, 2013
1 parent c1d977a commit 0298c3c
Show file tree
Hide file tree
Showing 9 changed files with 91 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/rustdoc_ng/clean.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

//! This module contains the "cleaned" pieces of the AST, and the functions
//! that clean them.

Expand Down
10 changes: 10 additions & 0 deletions src/rustdoc_ng/core.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use rustc;
use rustc::{driver, middle};

Expand Down
10 changes: 10 additions & 0 deletions src/rustdoc_ng/doctree.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

//! This module is used to store stuff from Rust's AST in a more convenient
//! manner (and with prettier names) before cleaning.

Expand Down
10 changes: 10 additions & 0 deletions src/rustdoc_ng/fold.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use std;
use clean::*;
use std::iter::Extendable;
Expand Down
10 changes: 10 additions & 0 deletions src/rustdoc_ng/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#[link(name = "rustdoc_ng",
vers = "0.1.0",
uuid = "8c6e4598-1596-4aa5-a24c-b811914bbbc6")];
Expand Down
12 changes: 11 additions & 1 deletion src/rustdoc_ng/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#[link(name = "rustdoc_ng",
vers = "0.1.0",
uuid = "8c6e4598-1596-4aa5-a24c-b811914bbbc6")];
Expand Down Expand Up @@ -77,7 +87,7 @@ fn main() {
let (crate, res) = pm.run_plugins(crate);
let plugins_json = ~res.move_iter().filter_map(|opt| opt).collect();

// FIXME: yuck, Rust -> str -> JSON round trip! No way to .encode
// FIXME #8335: yuck, Rust -> str -> JSON round trip! No way to .encode
// straight to the Rust JSON representation.
let crate_json_str = do std::io::with_str_writer |w| {
crate.encode(&mut extra::json::Encoder(w));
Expand Down
10 changes: 10 additions & 0 deletions src/rustdoc_ng/passes.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use std;
use clean;
use syntax::ast;
Expand Down
10 changes: 10 additions & 0 deletions src/rustdoc_ng/plugins.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use clean;

use extra;
Expand Down
10 changes: 10 additions & 0 deletions src/rustdoc_ng/visit_ast.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

//! Rust AST Visitor. Extracts useful information and massages it into a form
//! usable for clean

Expand Down

5 comments on commit 0298c3c

@bors
Copy link
Contributor

@bors bors commented on 0298c3c Sep 16, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 0298c3c Sep 16, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging cmr/rust/rustdoc_ng = 0298c3c into auto

@bors
Copy link
Contributor

@bors bors commented on 0298c3c Sep 16, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cmr/rust/rustdoc_ng = 0298c3c merged ok, testing candidate = 3e1803f

@bors
Copy link
Contributor

@bors bors commented on 0298c3c Sep 16, 2013

@bors
Copy link
Contributor

@bors bors commented on 0298c3c Sep 16, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 3e1803f

Please sign in to comment.