Searched refs:warn (Results 1 – 25 of 308) sorted by relevance
12345678910>>...13
11 # RUN: ld.lld --fatal-warnings --warn-backrefs %t1.o %t2.a -o /dev/null15 # RUN: ld.lld --fatal-warnings --warn-backrefs %t1.lds -o /dev/null18 ## Warn unless the archive is excluded by --warn-backrefs-exclude21 # RUN: ld.lld --warn-backrefs --no-warn-backrefs %t2.a %t1.o -o /dev/null 2>&1 | count 023 # RUN: ld.lld --warn-backrefs --warn-backrefs-exclude='*3.a' %t2.a %t1.o -o /dev/null 2>&1 | FileCh…24 # RUN: ld.lld --fatal-warnings --warn-backrefs --warn-backrefs-exclude='*2.a(*2.o)' %t2.a %t1.o -o …25 # RUN: ld.lld --fatal-warnings --warn-backrefs --warn-backrefs-exclude '*2.a(*2.o)' \26 # RUN: --warn-backrefs-exclude not_exist %t2.a %t1.o -o /dev/null27 ## Without --warn-backrefs, --warn-backrefs-exclude is ignored.32 # RUN: ld.lld --fatal-warnings --warn-backrefs %t2.lds -o /dev/null[all …]
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/warn-common.s -o %t2.o4 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/warn-common2.s -o %t3.o6 ## Report multiple commons if warn-common is specified7 # RUN: ld.lld --warn-common %t1.o %t2.o -o %t.out 2>&1 | FileCheck %s --check-prefix=WARN10 # RUN: ld.lld --fatal-warnings --warn-common --no-warn-common %t1.o %t2.o -o %t.out13 # RUN: ld.lld --warn-common %t1.o %t3.o -o %t.out 2>&1 | FileCheck %s --check-prefix=OVER17 # RUN: ld.lld --warn-common %t3.o %t1.o -o %t.out 2>&1 | FileCheck %s --check-prefix=OVER
11 RUN: -no-warn-mismatch \16 RUN: -warn-execstack \17 RUN: -warn-once \18 RUN: -warn-shared-textrel \
12 ## --warn-unresolved-symbols should generate a warning13 # RUN: ld.lld %t1.o -o %t5 --warn-unresolved-symbols 2>&1 | \17 # RUN: ld.lld %t1.o -o %t5 --error-unresolved-symbols --warn-unresolved-symbols 2>&1 | \19 # RUN: not ld.lld %t1.o -o /dev/null --warn-unresolved-symbols --error-unresolved-symbols 2>&1 | \
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/warn-common.s -o %t2.o5 # RUN: ld.lld --warn-common %t1.o %t2.o -o /dev/null 2>&1 | \9 # RUN: not ld.lld --warn-common --fatal-warnings %t1.o %t2.o -o /dev/null 2>&1 | \
2 define void @foo() "warn-stack-size"="42" { ret void }3 define void @bar() "warn-stack-size"="-1" { ret void }4 define void @baz() "warn-stack-size"="999999999999999999999" { ret void }5 define void @qux() "warn-stack-size"="a lot lol" { ret void }7 ; CHECK-NOT: "warn-stack-size" takes an unsigned integer: 428 ; CHECK: "warn-stack-size" takes an unsigned integer: -19 ; CHECK: "warn-stack-size" takes an unsigned integer: 99999999999999999999910 ; CHECK: "warn-stack-size" takes an unsigned integer: a lot lol
10 // Root class, shouldn't warn13 // Root class, shouldn't warn36 [super dealloc]; // Shouldn't warn39 [super finalize]; // Shouldn't warn44 // CHECK: warn-missing-super.m:24:1: warning: method possibly missing a [super dealloc] call48 // CHECK-GC: warn-missing-super.m:24:1: warning: method possibly missing a [super dealloc] call49 // CHECK-GC: warn-missing-super.m:26:1: warning: method possibly missing a [super finalize] call53 // CHECK-GC-ONLY: warn-missing-super.m:26:1: warning: method possibly missing a [super finalize] ca…57 // CHECK-ARC: warn-missing-super.m:36:10: error: ARC forbids explicit message send of 'dealloc'
20 [self directMethod]; // this should not warn23 [self directMethod]; // this should not warn24 [self anotherDirectMethod]; // this should not warn36 [self directMethod]; // this should not warn
35 @property (readwrite, assign) NSObject *warn; property40 - (NSObject *)warn; method in NSObject48 @dynamic warn;
62 f(p); // warn97 *p = 0; // warn135 p = str; // warn145 x = &y; // warn218 if (x) // warn245 return x; // warn306 } // warn371 x = 1; // warn589 f(); // warn1291 id x; // warn[all …]
7 define void @nowarn() nounwind ssp "warn-stack-size"="80" {14 ; CHECK: warning: stack frame size (88) exceeds limit (80) in function 'warn'15 define void @warn() nounwind ssp "warn-stack-size"="80" {22 ; Ensure that warn-stack-size also considers the size of the unsafe stack.28 define void @warn_safestack() nounwind ssp safestack "warn-stack-size"="80" {
11 declare void @foo2() "dontcall-warn"="w"17 declare void @foo3() "dontcall-warn"24 ; CHECK: warning: call to foo2 marked "dontcall-warn": w25 ; CHECK: warning: call to foo3 marked "dontcall-warn"{{$}}
28 free(++p1); // no warn32 free(p2); // no warn34 int *p3 = (int *)malloc(sizeof(int)); // no warn38 int j = *p4; // no warn41 free(p5); // no warn50 delete p2; // no warn55 *p1 = 1; // no warn
52 // Do not warn if UIViewController/*Responder/NSDocument is not our superclass72 // Do not warn for the implementation in the superclass itself.111 // Do not warn for methods were it shouldn't115 // Do not warn if UIViewController is our superclass but we did call super175 // Do warn for UIResponder subclasses that don't call super185 // Do not warn for UIResponder subclasses that do the right thing195 // Do warn for NSResponder subclasses that don't call super206 // Do not warn for NSResponder subclasses that do the right thing219 // Do warn for NSDocument subclasses that don't call super230 // Do not warn for NSDocument subclasses that do the right thing
25 // Do not warn about missing -dealloc method. Not enough context to know37 // Do not warn about missing -dealloc method. These properties are not112 // Don't warn about iVars that are selectors.133 // Don't warn about iVars that are IBOutlets.177 // Don't warn for clases that aren't subclasses of NSObject194 [DeallocingClass dealloc]; // FIXME: Should we warn on this specifically?
8 // warn: trying to free data which has not been allocated18 // warn: data is not released30 // warn: only call free if a non-NULL buffer was returned42 // warn: release data before another call to the allocator62 // warn: deallocator doesn't match the allocator
8 @implementation MyObject // warn: lacks 'dealloc'15 @implementation MyObject // warn: does not send 'dealloc' to super29 // warn: var was retained but wasn't released43 // warn: var wasn't retained but was released
12 a_ += a_; // Shouldn't warn.22 // Shouldn't warn.36 // Shouldn't warn.41 // This is a common pattern to silence "parameter unused". Shouldn't warn.62 // Shouldn't warn.
7 define void @nowarn() nounwind ssp "frame-pointer"="all" "warn-stack-size"="80" {15 ; CHECK: warning: stack frame size (92) exceeds limit (80) in function 'warn'16 define void @warn() nounwind ssp "frame-pointer"="all" "warn-stack-size"="80" {
5 # RUN: %no-fatal-warnings-lld --warn-dylib-install-name -o %t.exec %t.o \10 # RUN: %no-fatal-warnings-lld --warn-dylib-install-name -bundle -o %t.bundle %t.o \19 # RUN: %lld -bundle --warn-dylib-install-name --no-warn-dylib-install-name \28 # WARN: warning: -install_name foo: ignored, only has effect with -dylib [--warn-dylib-install-name]
75 # mySink(x, 0, 1); // It will warn76 # mySink(0, 1, y); // It will warn77 # mySink(0, x, 1); // It won't warn82 # myNamespace::mySink(x); // It will warn88 # myAnotherNamespace::mySink(x); // It will warn
1 …-mllvm -disable-vp=false -mllvm -vp-static-alloc=true -DSTRESS=1 -o %t.ir.warn %S/../Inputs/instr…2 RUN: env LLVM_PROFILE_FILE=%t.ir.profraw LLVM_VP_MAX_NUM_VALS_PER_SITE=255 %run %t.ir.warn 2>&1 |F…4 RUN: env LLVM_PROFILE_FILE=%t.ir.profraw LLVM_VP_MAX_NUM_VALS_PER_SITE=130 %run %t.ir.warn 2>&1 |F…
1 ; RUN: llvm-link %s %p/Inputs/module-max-warn.ll -S -o - 2>&1 | FileCheck %s3 …Warn': IDs have conflicting values ('i32 4' from {{.*}}/Inputs/module-max-warn.ll with 'i32 2' fro…4 … Max': IDs have conflicting values ('i32 5' from {{.*}}/Inputs/module-max-warn.ll with 'i32 3' fro…
104 common.warn('Skipping unparseable RUN line: ' + l)113 common.warn('Skipping non-llc RUN line: {}'.format(l), test_file=test)116 common.warn('Skipping non-FileChecked RUN line: {}'.format(l),222 common.warn(235 common.warn('Function has no instructions to check: {}'.format(func_name),305 common.warn("Skipping test which wasn't autogenerated by " +311 common.warn("Skipping test which isn't autogenerated: " + test)330 common.warn('No triple found: skipping file', test_file=test)436 common.warn('Error processing file', test_file=test)
14 if (!strcmp(...)) // Won't warn15 if (strcmp(...) != 0) // Won't warn45 When `true`, the check will warn on implicit comparison. `true` by default.49 When `true`, the check will warn on logical not comparison. `false` by default.