1
Fork 0

Remove unused ignore-license directives

The tidy check was removed in rust-lang/rust#53617
This commit is contained in:
Tomasz Miąsko 2020-01-24 00:00:00 +00:00
parent dee12bb2b7
commit 2fd6c4a18a
28 changed files with 1 additions and 38 deletions

View file

@ -21,9 +21,6 @@
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE. // SUCH DAMAGE.
// Appease Rust's tidy.
// ignore-license
#[cfg(feature = "bitflags")] #[cfg(feature = "bitflags")]
use bitflags::bitflags; use bitflags::bitflags;

View file

@ -26,7 +26,6 @@
// Source: https://github.com/NuxiNL/cloudabi // Source: https://github.com/NuxiNL/cloudabi
// Appease Rust's tidy. // Appease Rust's tidy.
// ignore-license
// ignore-tidy-linelength // ignore-tidy-linelength
//! **PLEASE NOTE: This entire crate including this //! **PLEASE NOTE: This entire crate including this

View file

@ -1,11 +1,6 @@
/// Some doc comment. /// Some doc comment.
struct X; struct X;
// ignore-license
// http://rust-lang.org/COPYRIGHT.
//
// pp-exact // pp-exact
// Test that rust can properly pretty print a doc comment if it's the first line in a file. some // Test that rust can properly pretty print a doc comment if it's the first line in a file. some

View file

@ -1,4 +1,3 @@
// ignore-license
#ifdef _WIN32 #ifdef _WIN32
__declspec(dllexport) __declspec(dllexport)
#endif #endif

View file

@ -1,5 +1,3 @@
// ignore-license
#ifdef _WIN32 #ifdef _WIN32
__declspec(dllexport) __declspec(dllexport)
#endif #endif

View file

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

View file

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

View file

@ -1,2 +1 @@
// ignore-license
int foo() { return 0; } int foo() { return 0; }

View file

@ -1,2 +1 @@
// ignore-license
int foo() { return 0; } int foo() { return 0; }

View file

@ -1,4 +1,3 @@
// ignore-license
extern "C" void foo() { extern "C" void foo() {
int *a = new int(3); int *a = new int(3);
delete a; delete a;

View file

@ -1,4 +1,3 @@
// ignore-license
#include <stdint.h> #include <stdint.h>
typedef struct TestStruct { typedef struct TestStruct {

View file

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

View file

@ -1,4 +1,3 @@
// ignore-license
#include <stdio.h> #include <stdio.h>
#include <stdint.h> #include <stdint.h>

View file

@ -1,4 +1,3 @@
// ignore-license
// Pragma needed cause of gcc bug on windows: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991 // Pragma needed cause of gcc bug on windows: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991
#include <assert.h> #include <assert.h>

View file

@ -1,4 +1,3 @@
// ignore-license
#include <stdio.h> #include <stdio.h>
#include <stdint.h> #include <stdint.h>

View file

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

View file

@ -1,4 +1,3 @@
// ignore-license
void foo(); void foo();
void bar() { foo(); } void bar() { foo(); }

View file

@ -1,2 +1 @@
// ignore-license
void foo() {} void foo() {}

View file

@ -1,4 +1,3 @@
// ignore-license
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>

View file

@ -1,2 +1 @@
// ignore-license
int should_return_one() { return 1; } int should_return_one() { return 1; }

View file

@ -1,2 +1 @@
// ignore-license
int should_return_one() { return 0; } int should_return_one() { return 0; }

View file

@ -1,4 +1,3 @@
// ignore-license
#include <stdint.h> #include <stdint.h>
extern int32_t BAZ; extern int32_t BAZ;

View file

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

View file

@ -1,2 +1 @@
// ignore-license
void bar() {} void bar() {}

View file

@ -1,2 +1 @@
// ignore-license
void bar() {} void bar() {}

View file

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

View file

@ -3,4 +3,3 @@
#![allow(stable_features)] #![allow(stable_features)]
#![feature(rust1)] #![feature(rust1)]
pub fn main() { } pub fn main() { }
// ignore-license

View file

@ -1,11 +1,8 @@
// run-pass // run-pass
// ignore-tidy-cr ignore-license // ignore-tidy-cr
// ignore-tidy-cr (repeated again because of tidy bug) // ignore-tidy-cr (repeated again because of tidy bug)
// license is ignored because tidy can't handle the CRLF here properly. // 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 // N.B., this file needs CRLF line endings. The .gitattributes file in
// this directory should enforce it. // this directory should enforce it.