Home
last modified time | relevance | path

Searched refs:has (Results 1 – 25 of 2860) sorted by relevance

12345678910>>...115

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcxx0x-nontrivial-union.cpp70 bool has; member
77 optional(const optional &o) : has(o.has) { in optional()
80 optional(optional &&o) : has(o.has) { in optional()
85 if (has) { in operator =()
86 if (o.has) in operator =()
90 } else if (o.has) { in operator =()
93 has = o.has; in operator =()
96 if (has) { in operator =()
97 if (o.has) in operator =()
104 has = o.has; in operator =()
[all …]
/llvm-project-15.0.7/clang/test/FixIt/
H A Dformat.m10 …printf("%s", x); // expected-warning{{format specifies type 'char *' but the argument has type 'in…
11 …printf("%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'i…
16 …NSLog(@"%s", x); // expected-warning{{format specifies type 'char *' but the argument has type 'in…
17 …NSLog(@"%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'i…
18 NSLog(@"%@", x); // expected-warning{{format specifies type 'id' but the argument has type 'int'}}
25 …printf("%d", x); // expected-warning{{format specifies type 'int' but the argument has type 'char …
31 …NSLog(@"%d", x); // expected-warning{{format specifies type 'int' but the argument has type 'char …
34 …NSLog(@"%@", x); // expected-warning{{format specifies type 'id' but the argument has type 'char *…
41 NSLog(@"%d", x); // expected-warning{{format specifies type 'int' but the argument has type 'id'}}
42 …NSLog(@"%s", x); // expected-warning{{format specifies type 'char *' but the argument has type 'id…
[all …]
H A Dformat-no-fixit.m12 printf("%d", x); // expected-warning{{format specifies type 'int' but the argument has type 'id'}}
13 …printf("%s", x); // expected-warning{{format specifies type 'char *' but the argument has type 'id…
14 …printf("%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'i…
26 …NSLog(@"%d", x); // expected-warning{{format specifies type 'int' but the argument has type 'CFStr…
27 …NSLog(@"%s", x); // expected-warning{{format specifies type 'char *' but the argument has type 'CF…
28 …NSLog(@"%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'C…
/llvm-project-15.0.7/clang/include/clang/Driver/
H A DSanitizerArgs.h79 return Sanitizers.has(SanitizerKind::HWAddress); in needsHwasanRt()
84 bool needsTsanRt() const { return Sanitizers.has(SanitizerKind::Thread); } in needsTsanRt()
85 bool needsMsanRt() const { return Sanitizers.has(SanitizerKind::Memory); } in needsMsanRt()
86 bool needsFuzzer() const { return Sanitizers.has(SanitizerKind::Fuzzer); } in needsFuzzer()
88 return Sanitizers.has(SanitizerKind::Leak) && in needsLsanRt()
89 !Sanitizers.has(SanitizerKind::Address) && in needsLsanRt()
90 !Sanitizers.has(SanitizerKind::HWAddress); in needsLsanRt()
100 bool needsScudoRt() const { return Sanitizers.has(SanitizerKind::Scudo); } in needsScudoRt()
106 return Sanitizers.has(SanitizerKind::MemtagHeap); in hasMemtagHeap()
109 return Sanitizers.has(SanitizerKind::MemtagStack); in hasMemtagStack()
[all …]
/llvm-project-15.0.7/lld/test/MachO/
H A Dobjc.s4 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/has-objc-symbol.s -o %t/has-objc-symbol…
5 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/has-objc-category.s -o %t/has-objc-cate…
6 …N: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/has-objc-symbol-and-category.s -o %t/has-o…
7 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/has-swift.s -o %t/has-swift.o
8 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/has-swift-proto.s -o %t/has-swift-proto…
69 # RUN: %t/has-objc-symbol.o %t/has-objc-category.o %t/has-swift.o %t/wrong-arch.o --end-lib \
72 #--- has-objc-symbol.s
79 #--- has-objc-category.s
83 #--- has-objc-symbol-and-category.s
95 #--- has-swift.s
[all …]
H A Dlto-archive.ll4 ; RUN: llvm-as %t/has-objc-symbol.ll -o %t/has-objc-symbol.o
5 ; RUN: llvm-as %t/has-objc-category.ll -o %t/has-objc-category.o
7 ; RUN: llvm-ar rcs %t/objc.a %t/has-objc-symbol.o %t/has-objc-category.o
20 ; OBJC: _OBJC_CLASS_$_Foo forced load of {{.+}}objc.a(has-objc-symbol.o)
21 ; OBJC: -ObjC forced load of {{.+}}objc.a(has-objc-category.o)
36 ;--- has-objc-symbol.ll
44 ;--- has-objc-category.ll
/llvm-project-15.0.7/clang/test/SemaOpenCL/
H A Dprintf-format-strings.cl34 …ecifies type 'double __attribute__((ext_vector_type(4)))' but the argument has type 'float4' (vect…
35 …ecifies type 'double __attribute__((ext_vector_type(4)))' but the argument has type 'half4' (vecto…
38 …ecifies type 'double __attribute__((ext_vector_type(4)))' but the argument has type 'float4' (vect…
39 …ecifies type 'double __attribute__((ext_vector_type(4)))' but the argument has type 'half4' (vecto…
43 …ecifies type 'double __attribute__((ext_vector_type(4)))' but the argument has type 'half4' (vecto…
47 …ecifies type 'double __attribute__((ext_vector_type(4)))' but the argument has type 'half4' (vecto…
51 …ecifies type 'double __attribute__((ext_vector_type(4)))' but the argument has type 'half4' (vecto…
90 …ted-warning {{double __attribute__((ext_vector_type(4)))' but the argument has type 'float4' (vect…
93 …ted-warning {{double __attribute__((ext_vector_type(4)))' but the argument has type 'float4' (vect…
120 …{{format specifies type 'int __attribute__((ext_vector_type(4)))' but the argument has type 'int'}}
[all …]
/llvm-project-15.0.7/llvm/test/DebugInfo/PDB/
H A Dpdb-resolve-forward-refs.test10 ; CHECK: options: has unique name | scoped, sizeof 1
14 ; CHECK: options: has unique name | scoped, sizeof 1
22 ; CHECK: options: contains nested class | has unique name, sizeof 1
26 ; CHECK: options: has unique name | is nested, sizeof 1
30 ; CHECK: options: forward ref (-> 0x105C) | has unique name, sizeof 0
34 ; CHECK: options: has ctor / dtor | has unique name, sizeof 1
38 ; CHECK: options: has unique name, sizeof 1
42 ; CHECK: options: has unique name | sealed, sizeof 1
50 ; CHECK: options: has unique name | overloaded operator, sizeof 1
54 ; CHECK: options: has unique name
[all …]
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dobjc-literal-comparison.m39 …if (obj == @"") return; // expected-warning{{direct comparison of a string literal has undefined b…
40 …if (obj != @"") return; // expected-warning{{direct comparison of a string literal has undefined b…
41 …if (@"" == obj) return; // expected-warning{{direct comparison of a string literal has undefined b…
63 …== @"") return; // expected-warning{{direct comparison of a string literal has undefined behavior}}
65 …== @"") return; // expected-warning{{direct comparison of a string literal has undefined behavior}}
66 …== @"") return; // expected-warning{{direct comparison of a string literal has undefined behavior}}
68 …if (@"" < @"") return; // expected-warning{{direct comparison of a string literal has undefined be…
69 …if (@"" > @"") return; // expected-warning{{direct comparison of a string literal has undefined be…
70 …if (@"" <= @"") return; // expected-warning{{direct comparison of a string literal has undefined b…
71 …if (@"" >= @"") return; // expected-warning{{direct comparison of a string literal has undefined b…
[all …]
H A Dobjc-literal-sig.m30 + (id)arrayWithObjects:(const int [])objects // expected-note 2 {{first parameter has unexpected ty…
36 …forKeys:(const int [])keys // expected-note 2 {{second parameter has unexpected type 'const int *'…
45 …(void)@__objc_yes; // expected-error{{literal construction method 'numberWithBool:' has incompatib…
46 …(void)@__objc_yes; // expected-error{{literal construction method 'numberWithBool:' has incompatib…
47 …id array = @[ @17 ]; // expected-error{{literal construction method 'arrayWithObjects:count:' has
48 …; // expected-error{{literal construction method 'arrayWithObjects:count:' has incompatible signat…
49 …-error{{literal construction method 'dictionaryWithObjects:forKeys:count:' has incompatible signat…
50 …-error{{literal construction method 'dictionaryWithObjects:forKeys:count:' has incompatible signat…
51 …id str = @(getStr()); // expected-error{{literal construction method 'stringWithUTF8String:' has i…
52 …id str2 = @(getStr()); // expected-error{{literal construction method 'stringWithUTF8String:' has
H A Dspecial-dep-unavail-warning.m6 - (void) unavailMeth __attribute__((unavailable)); // expected-note {{has been explicitly marked un…
7 - (void) depInA1 __attribute__((deprecated)); // expected-note {{'depInA1' has been explicitly mark…
9 - (void) depInA2 __attribute__((deprecated)); // expected-note {{'depInA2' has been explicitly mark…
10 - (void) unavailMeth2 __attribute__((unavailable)); // expected-note {{has been explicitly marked u…
12 …attribute__((deprecated)) __attribute__((unavailable)); // expected-note {{has been explicitly mar…
13 - (void)FuzzyMeth __attribute__((deprecated)); // expected-note {{'FuzzyMeth' has been explicitly m…
18 - (void) unavailMeth1 __attribute__((unavailable)); // expected-note {{has been explicitly marked u…
19 - (void) depInA __attribute__((deprecated)); // expected-note {{'depInA' has been explicitly marked…
23 …attribute__((deprecated)) __attribute__((unavailable)); // expected-note {{has been explicitly mar…
26 - (void)FuzzyMeth1 __attribute__((deprecated)); // expected-note {{'FuzzyMeth1' has been explicitly…
[all …]
H A Dattr-deprecated-replacement-fixit.m18 // expected-note@+1 {{has been explicitly marked deprecated here}}
22 // expected-note@+1 {{has been explicitly marked deprecated here}}
26 // expected-note@+1 {{has been explicitly marked deprecated here}}
30 // expected-note@+1 {{has been explicitly marked deprecated here}}
34 // expected-note@+1 {{has been explicitly marked deprecated here}}
38 // expected-note@+1 {{has been explicitly marked deprecated here}}
42 // expected-note@+1 {{has been explicitly marked deprecated here}}
49 // expected-note@+1 {{has been explicitly marked deprecated here}}
88 // expected-note@+1 {{has been explicitly marked deprecated here}}
91 // expected-note@+1 {{has been explicitly marked deprecated here}}
[all …]
/llvm-project-15.0.7/llvm/test/Analysis/PhiValues/
H A Dbasic.ll17 ; CHECK: PHI %phi1 has values:
21 ; CHECK: PHI %phi2 has values:
40 ; CHECK: PHI %phi1 has values:
53 ; CHECK: PHI %phi2 has values:
67 ; CHECK: PHI %phi has values:
79 ; CHECK: PHI %phi has values:
94 ; CHECK: PHI %phi1 has values:
107 ; CHECK: PHI %phi2 has values:
114 ; CHECK: PHI %phi3 has values:
128 ; CHECK: PHI %phi1 has values:
[all …]
H A Dlong_phi_chain.ll12 ; CHECK: PHI %phi1 has values:
24 ; CHECK: PHI %phi2 has values:
33 ; CHECK: PHI %phi3 has values:
42 ; CHECK: PHI %phi4 has values:
51 ; CHECK: PHI %phi5 has values:
60 ; CHECK: PHI %phi6 has values:
66 ; CHECK: PHI %phi7 has values:
78 ; CHECK: PHI %phi8 has values:
87 ; CHECK: PHI %phi9 has values:
96 ; CHECK: PHI %phi10 has values:
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A DDeallocUseAfterFreeErrors.m40 // expected-note@-1 {{Use of instance variable '_ivar' after 'self' has been deallocated}}
128 self.ivar = nil; // expected-warning {{Use of 'self' after it has been deallocated}}
129 // expected-note@-1 {{Use of 'self' after it has been deallocated}}
148 // expected-note@-1 {{Use of 'self' after it has been deallocated}}
162 // expected-note@-1 {{Use of 'self' after it has been deallocated}}
176 _invalidate(self); // expected-warning {{Use of 'self' after it has been deallocated}}
177 // expected-note@-1 {{Use of 'self' after it has been deallocated}}
191 // expected-note@-1 {{Use of 'self' after it has been deallocated}}
212 // expected-note@-1 {{Use of 'self' after it has been deallocated}}
315 // Do not warn about calling [super dealloc] twice if when the analyzer has
[all …]
/llvm-project-15.0.7/clang/test/PCH/
H A Dnon-trivial-c-union.m1 // RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -emit-pch -o %t.pch %s
2 // RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -include-pch %t.pch -verify %s
13 // expected-note@-6 {{'U0' has subobjects that are non-trivial to destruct}}
14 // expected-note@-7 {{'U0' has subobjects that are non-trivial to copy}}
15 // expected-note@-8 {{'U0' has subobjects that are non-trivial to default-initialize}}
16 // expected-note@-8 {{f0 has type '__strong id' that is non-trivial to destruct}}
17 // expected-note@-9 {{f0 has type '__strong id' that is non-trivial to copy}}
18 // expected-note@-10 {{f0 has type '__strong id' that is non-trivial to default-initialize}}
/llvm-project-15.0.7/lldb/test/Shell/SymbolFile/DWARF/x86/
H A Ddwarf5-line-strp.s103 .byte 0 # opcode: 0x1 has 0 args
104 .byte 0x1 # opcode: 0x2 has 1 args
105 .byte 0x1 # opcode: 0x3 has 1 args
106 .byte 0x1 # opcode: 0x4 has 1 args
107 .byte 0x1 # opcode: 0x5 has 1 args
108 .byte 0 # opcode: 0x6 has 0 args
109 .byte 0 # opcode: 0x7 has 0 args
110 .byte 0 # opcode: 0x8 has 0 args
111 .byte 0x1 # opcode: 0x9 has 1 args
112 .byte 0 # opcode: 0xa has 0 args
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCXXRecordDeclDefinitionBits.def35 /// True if this class has any user-declared constructors.
38 /// The user-declared special members which this class has.
50 /// * has no virtual function/base, and
55 /// True when this class is polymorphic, i.e., has at
59 /// True when this class is abstract, i.e., has at least
76 /// * has no non-standard-layout base classes,
84 /// True when any base class has any declared non-static data
109 /// has variant members.
126 /// even if the class has a trivial default constructor.
165 /// The trivial special members which this class has, per
[all …]
/llvm-project-15.0.7/clang/lib/Basic/
H A DXRayInstr.cpp46 if (Set.has(XRayInstrKind::Custom)) in serializeXRayInstrValue()
49 if (Set.has(XRayInstrKind::Typed)) in serializeXRayInstrValue()
52 if (Set.has(XRayInstrKind::FunctionEntry) && in serializeXRayInstrValue()
53 Set.has(XRayInstrKind::FunctionExit)) in serializeXRayInstrValue()
55 else if (Set.has(XRayInstrKind::FunctionEntry)) in serializeXRayInstrValue()
57 else if (Set.has(XRayInstrKind::FunctionExit)) in serializeXRayInstrValue()
/llvm-project-15.0.7/llvm/test/DebugInfo/
H A Ddebugify-bogus-dbg-value.ll6 ; CHECK: ERROR: dbg.value operand has size 128, but its variable has size 256
9 ; CHECK: ERROR: dbg.value operand has size 512, but its variable has size 256
12 ; CHECK: ERROR: dbg.value operand has size 8, but its variable has size 256
16 ; CHECK-NOT: ERROR: dbg.value operand has size 512, but its variable has size 256
20 ; CHECK-NOT: ERROR: dbg.value operand has size 4, but its variable has size 32
/llvm-project-15.0.7/clang/test/Parser/
H A Dobjc-messaging-1.m10 // expected-warning 2{{left operand of comma operator has no effect}}
12 // expected-warning 2{{left operand of comma operator has no effect}}
14 // expected-warning 4{{left operand of comma operator has no effect}}
16 // expected-warning 2{{left operand of comma operator has no effect}}
18 // expected-warning 2{{left operand of comma operator has no effect}}
20 // expected-warning 2{{left operand of comma operator has no effect}}
24 // expected-warning 2{{left operand of comma operator has no effect}}
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseEmplaceCheck.cpp137 on(hasType(cxxRecordDecl(has(typedefNameDecl( in registerMatchers()
166 auto HasInitList = anyOf(has(ignoringImplicit(initListExpr())), in registerMatchers()
167 has(cxxStdInitializerListExpr())); in registerMatchers()
177 auto HasConstructExpr = has(ignoringImplicit(SoughtConstructExpr)); in registerMatchers()
188 has(materializeTemporaryExpr(MakeTuple)), in registerMatchers()
192 anyOf(has(MakeTuple), has(MakeTupleCtor), HasConstructExpr, in registerMatchers()
193 has(cxxFunctionalCastExpr(HasConstructExpr)))); in registerMatchers()
196 has(ignoringImplicit(cxxConstructExpr( in registerMatchers()
206 traverse(TK_AsIs, cxxMemberCallExpr(CallPushBack, has(SoughtParam), in registerMatchers()
225 on(hasType(cxxRecordDecl(has(typedefNameDecl( in registerMatchers()
[all …]
/llvm-project-15.0.7/mlir/test/IR/
H A Dtest-symbol-uses.mlir7 // expected-remark@+1 {{symbol has 2 uses}}
10 // expected-remark@below {{symbol has no uses}}
22 // expected-remark@below {{symbol has no uses}}
25 // expected-remark@+1 {{symbol has 1 use}}
38 // expected-remark@+1 {{symbol has 2 uses}}
40 // expected-remark@+1 {{symbol has 1 uses}}
42 // expected-remark@+1 {{symbol has 1 uses}}
47 // expected-remark@below {{symbol has no uses}}
/llvm-project-15.0.7/llvm/test/Verifier/AMDGPU/
H A Dintrinsic-immarg.ll5 ; CHECK: immarg operand has non-immediate parameter
10 ; CHECK: immarg operand has non-immediate parameter
19 ; CHECK: immarg operand has non-immediate parameter
28 ; CHECK: immarg operand has non-immediate parameter
37 ; CHECK: immarg operand has non-immediate parameter
46 ; CHECK: immarg operand has non-immediate parameter
55 ; CHECK: immarg operand has non-immediate parameter
60 ; CHECK: immarg operand has non-immediate parameter
65 ; CHECK: immarg operand has non-immediate parameter
70 ; CHECK: immarg operand has non-immediate parameter
[all …]
/llvm-project-15.0.7/llvm/test/Verifier/ARM/
H A Dintrinsic-immarg.ll6 ; CHECK: immarg operand has non-immediate parameter
18 ; CHECK: immarg operand has non-immediate parameter
30 ; CHECK: immarg operand has non-immediate parameter
35 ; CHECK: immarg operand has non-immediate parameter
40 ; CHECK: immarg operand has non-immediate parameter
49 ; CHECK: immarg operand has non-immediate parameter
54 ; CHECK: immarg operand has non-immediate parameter
59 ; CHECK: immarg operand has non-immediate parameter
68 ; CHECK: immarg operand has non-immediate parameter
73 ; CHECK: immarg operand has non-immediate parameter
[all …]

12345678910>>...115