Skip to content

Commit

Permalink
Remove unused ignore-license directives
Browse files Browse the repository at this point in the history
The tidy check was removed in #53617
  • Loading branch information
tmiasko committed Jan 24, 2020
1 parent dee12bb commit 2fd6c4a
Show file tree
Hide file tree
Showing 28 changed files with 1 addition and 38 deletions.
3 changes: 0 additions & 3 deletions src/libstd/sys/cloudabi/abi/bitflags.rs
Expand Up @@ -21,9 +21,6 @@
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.

// Appease Rust's tidy.
// ignore-license

#[cfg(feature = "bitflags")]
use bitflags::bitflags;

Expand Down
1 change: 0 additions & 1 deletion src/libstd/sys/cloudabi/abi/cloudabi.rs
Expand Up @@ -26,7 +26,6 @@
// Source: https://github.com/NuxiNL/cloudabi

// Appease Rust's tidy.
// ignore-license
// ignore-tidy-linelength

//! **PLEASE NOTE: This entire crate including this
Expand Down
5 changes: 0 additions & 5 deletions src/test/pretty/top-level-doc-comments.rs
@@ -1,11 +1,6 @@
/// Some doc comment.
struct X;

// ignore-license

// http://rust-lang.org/COPYRIGHT.
//

// pp-exact

// Test that rust can properly pretty print a doc comment if it's the first line in a file. some
Expand Down
1 change: 0 additions & 1 deletion src/test/run-make-fulldeps/c-dynamic-dylib/cfoo.c
@@ -1,4 +1,3 @@
// ignore-license
#ifdef _WIN32
__declspec(dllexport)
#endif
Expand Down
2 changes: 0 additions & 2 deletions src/test/run-make-fulldeps/c-dynamic-rlib/cfoo.c
@@ -1,5 +1,3 @@
// ignore-license

#ifdef _WIN32
__declspec(dllexport)
#endif
Expand Down
1 change: 0 additions & 1 deletion src/test/run-make-fulldeps/c-link-to-rust-dylib/bar.c
@@ -1,4 +1,3 @@
// ignore-license
void foo();

int main() {
Expand Down
1 change: 0 additions & 1 deletion src/test/run-make-fulldeps/c-link-to-rust-staticlib/bar.c
@@ -1,4 +1,3 @@
// ignore-license
void foo();

int main() {
Expand Down
1 change: 0 additions & 1 deletion src/test/run-make-fulldeps/c-static-dylib/cfoo.c
@@ -1,2 +1 @@
// ignore-license
int foo() { return 0; }
1 change: 0 additions & 1 deletion src/test/run-make-fulldeps/c-static-rlib/cfoo.c
@@ -1,2 +1 @@
// ignore-license
int foo() { return 0; }
@@ -1,4 +1,3 @@
// ignore-license
extern "C" void foo() {
int *a = new int(3);
delete a;
Expand Down
1 change: 0 additions & 1 deletion src/test/run-make-fulldeps/extern-fn-generic/test.c
@@ -1,4 +1,3 @@
// ignore-license
#include <stdint.h>

typedef struct TestStruct {
Expand Down
1 change: 0 additions & 1 deletion src/test/run-make-fulldeps/extern-fn-mangle/test.c
@@ -1,4 +1,3 @@
// ignore-license
#include <stdint.h>

uint32_t foo();
Expand Down
@@ -1,4 +1,3 @@
// ignore-license
#include <stdio.h>
#include <stdint.h>

Expand Down
@@ -1,4 +1,3 @@
// ignore-license
// Pragma needed cause of gcc bug on windows: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991

#include <assert.h>
Expand Down
1 change: 0 additions & 1 deletion src/test/run-make-fulldeps/extern-fn-with-union/ctest.c
@@ -1,4 +1,3 @@
// ignore-license
#include <stdio.h>
#include <stdint.h>

Expand Down
1 change: 0 additions & 1 deletion src/test/run-make-fulldeps/glibc-staticlib-args/program.c
@@ -1,4 +1,3 @@
// ignore-license
void args_check();

int main() {
Expand Down
@@ -1,4 +1,3 @@
// ignore-license
void foo();

void bar() { foo(); }
@@ -1,2 +1 @@
// ignore-license
void foo() {}
1 change: 0 additions & 1 deletion src/test/run-make-fulldeps/issue-25581/test.c
@@ -1,4 +1,3 @@
// ignore-license
#include <stddef.h>
#include <stdint.h>

Expand Down
1 change: 0 additions & 1 deletion src/test/run-make-fulldeps/link-path-order/correct.c
@@ -1,2 +1 @@
// ignore-license
int should_return_one() { return 1; }
1 change: 0 additions & 1 deletion src/test/run-make-fulldeps/link-path-order/wrong.c
@@ -1,2 +1 @@
// ignore-license
int should_return_one() { return 0; }
1 change: 0 additions & 1 deletion src/test/run-make-fulldeps/linkage-attr-on-static/foo.c
@@ -1,4 +1,3 @@
// ignore-license
#include <stdint.h>

extern int32_t BAZ;
Expand Down
1 change: 0 additions & 1 deletion src/test/run-make-fulldeps/lto-smoke-c/bar.c
@@ -1,4 +1,3 @@
// ignore-license
void foo();

int main() {
Expand Down
1 change: 0 additions & 1 deletion src/test/run-make-fulldeps/manual-link/bar.c
@@ -1,2 +1 @@
// ignore-license
void bar() {}
1 change: 0 additions & 1 deletion src/test/run-make-fulldeps/manual-link/foo.c
@@ -1,2 +1 @@
// ignore-license
void bar() {}
@@ -1,4 +1,3 @@
// ignore-license
void overflow();

int main() {
Expand Down
1 change: 0 additions & 1 deletion src/test/ui/attr-shebang.rs
Expand Up @@ -3,4 +3,3 @@
#![allow(stable_features)]
#![feature(rust1)]
pub fn main() { }
// ignore-license
@@ -1,11 +1,8 @@
// run-pass
// ignore-tidy-cr ignore-license
// ignore-tidy-cr
// ignore-tidy-cr (repeated again because of tidy bug)
// license is ignored because tidy can't handle the CRLF here properly.

// http://rust-lang.org/COPYRIGHT.
//

// N.B., this file needs CRLF line endings. The .gitattributes file in
// this directory should enforce it.

Expand Down

0 comments on commit 2fd6c4a

Please sign in to comment.