Home
last modified time | relevance | path

Searched refs:assignment (Results 1 – 25 of 222) sorted by relevance

123456789

/llvm-project-15.0.7/flang/test/Lower/
H A Darray-user-def-assignments.f908 interface assignment(=)
15 interface assignment(=)
21 interface assignment(=)
178 interface assignment(=)
190 interface assignment(=)
495 interface assignment(=)
663 interface assignment(=)
675 interface assignment(=)
812 interface assignment(=)
824 interface assignment(=)
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dunhandled-self-assignment.rst1 .. title:: clang-tidy - bugprone-unhandled-self-assignment
3 bugprone-unhandled-self-assignment
9 Finds user-defined copy assignment operators which do not protect the code
10 against self-assignment either by checking self-assignment explicitly or
15 assignment breaks the object if the copy assignment operator was not written with care.
18 `OOP54-CPP. Gracefully handle self-copy assignment
21 A copy assignment operator must prevent that self-copy assignment ruins the
23 and the copy assignment operator first releases the pointed object and
45 the self-assignment check:
95 temporary object into ``this`` (needs a move assignment operator):
[all …]
H A Dstring-integer-assignment.rst1 .. title:: clang-tidy - bugprone-string-integer-assignment
3 bugprone-string-integer-assignment
8 following assignment operator of ``std::basic_string<CharT>``:
H A Dassignment-in-if-condition.rst1 .. title:: clang-tidy - bugprone-assignment-in-if-condition
3 bugprone-assignment-in-if-condition
21 …if((f == 5) || (f = 6)) { // the assignment here `(f = 6)` is identified by this check, but not by…
/llvm-project-15.0.7/flang/test/Semantics/
H A Dresolve65.f909 generic :: assignment(=) => binding
17 generic :: assignment(=) => assign_t, assign_t2, assign_t3, assign_t4
24 generic :: assignment(=) => assign_t
51 interface assignment(=)
75 interface assignment(=)
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/
H A Duse-nullptr.rst14 void assignment() {
29 void assignment() {
54 void assignment() {
63 void assignment() {
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Darc-0x.mm129 …U1 & operator=(U1 &&) = default; // expected-warning {{explicitly defaulted move assignment operat…
238 …*x0 = *u0; // expected-error {{cannot be assigned because its copy assignment operator is implicit…
239 …*x1 = *u1; // expected-error {{cannot be assigned because its copy assignment operator is implicit…
240 …*x2 = *u2; // expected-error {{cannot be assigned because its copy assignment operator is implicit…
242 …*x4 = *s0; // expected-error {{cannot be assigned because its copy assignment operator is implicit…
243 …*x5 = *s1; // expected-error {{cannot be assigned because its copy assignment operator is implicit…
244 …*x6 = *s2; // expected-error {{cannot be assigned because its copy assignment operator is implicit…
247 // The diagnostics below refer to the deleted copy constructors and assignment
248 // operators since defaulted move constructors and assignment operators that are
262 …t<U0 &&>(*u0); // expected-error {{cannot be assigned because its copy assignment operator is impl…
[all …]
H A Darc-unavailable-for-weakref.mm18 …ns1 = (__weak sub *)obj; // expected-error {{assignment of a weak-unavailable object to a __weak o…
32 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}}
34 …__weak id weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak…
45 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}}
47 …__weak id<P> weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __w…
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/
H A Doop54-cpp.rst3 :http-equiv=refresh: 5;URL=../bugprone/unhandled-self-assignment.html
9 `bugprone-unhandled-self-assignment <../bugprone/unhandled-self-assignment.html>`_
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/
H A Dc-copy-assignment-signature.rst1 .. title:: clang-tidy - cppcoreguidelines-c-copy-assignment-signature
5 cppcoreguidelines-c-copy-assignment-signature
8 The cppcoreguidelines-c-copy-assignment-signature check is an alias, please see
/llvm-project-15.0.7/clang/test/Analysis/
H A Dobjc-properties.m66 …(__A) = In; // expected-warning {{Direct assignment to an instance variable backing a property; us…
67 …_X = In; // expected-warning {{Direct assignment to an instance variable backing a property; use t…
68 …_Y = In; // expected-warning {{Direct assignment to an instance variable backing a property; use t…
69 …_Z = In; // expected-warning {{Direct assignment to an instance variable backing a property; use t…
70 …_nonSynth = 0; // expected-warning {{Direct assignment to an instance variable backing a property;…
/llvm-project-15.0.7/clang/test/Analysis/objc/
H A Ddirect-ivar-assignment-in-annotated-functions.m51 …(__A) = In; // expected-warning {{Direct assignment to an instance variable backing a property; us…
52 …_X = In; // expected-warning {{Direct assignment to an instance variable backing a property; use t…
53 …_Y = In; // expected-warning {{Direct assignment to an instance variable backing a property; use t…
54 …_Z = In; // expected-warning {{Direct assignment to an instance variable backing a property; use t…
55 …_nonSynth = 0; // expected-warning {{Direct assignment to an instance variable backing a property;…
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dself-assign.m9 …if (self = [self :x :y]) {} // expected-warning{{using the result of an assignment as a condition …
10 // expected-note{{use '==' to turn this assignment into an equality comparison}} \
11 // expected-note{{place parentheses around the assignment to silence this warning}}
H A Dproperty-error-readonly-assign.m16 a.x = 10; // expected-error {{assignment to readonly property}}
18 b.x = 10; // expected-error {{no setter method 'setX:' for assignment to property}}
42 …self.frame = NSMakeRect(); // expected-error {{no setter method 'setFrame:' for assignment to pro…
H A Didiomatic-parentheses.m30 …if (self.uid = 100) { // expected-warning {{using the result of an assignment as a condition witho…
31 … // expected-note {{place parentheses around the assignment to silence this warning}} \
32 … // expected-note {{use '==' to turn this assignment into an equality comparison}}
H A Darc-unavailable-for-weakref.m18 …ns1 = (__weak sub *)obj; // expected-error {{assignment of a weak-unavailable object to a __weak o…
32 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}}
34 …__weak id weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak…
45 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}}
47 …__weak id<P> weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __w…
/llvm-project-15.0.7/llvm/test/DebugInfo/MIR/InstrRef/
H A Dsingle-assign-propagation.mir11 # propagation in InstrRefBasedLDV. When we only have a single assignment of
14 # only in those blocks dominated by the assignment. Example in this test:
19 # / bb1 \ <--- Single variable assignment happens here
36 # past the dominance frontier of the block where the assignment happens. So
43 # scope. This effectively becomes another variable assignment (of undef), which
46 # does by not treating the out-of-scope block as an effective undef assignment,
58 ## VarLocBasedLDV will take the DBG_VALUE in the assignment block, propagate
68 ## Common tail for 'test2' -- this is checking that the assignment of undef or
69 ## $noreg in single-assignment mode doesn't lead to trouble further down the
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dassignment.cpp64 if (const evaluate::Assignment * assignment{GetAssignment(stmt)}) { in Analyze() local
65 const SomeExpr &lhs{assignment->lhs}; in Analyze()
66 const SomeExpr &rhs{assignment->rhs}; in Analyze()
86 if (const evaluate::Assignment * assignment{GetAssignment(stmt)}) { in Analyze() local
87 const SomeExpr &lhs{assignment->lhs}; in Analyze()
88 const SomeExpr &rhs{assignment->rhs}; in Analyze()
92 CheckPointerAssignment(foldingContext(), *assignment); in Analyze()
H A Dpointer-assignment.cpp322 evaluate::FoldingContext &context, const evaluate::Assignment &assignment) { in CheckPointerBounds() argument
324 const SomeExpr &lhs{assignment.lhs}; in CheckPointerBounds()
325 const SomeExpr &rhs{assignment.rhs}; in CheckPointerBounds()
361 assignment.u)}; in CheckPointerBounds()
378 evaluate::FoldingContext &context, const evaluate::Assignment &assignment) { in CheckPointerAssignment() argument
379 return CheckPointerAssignment(context, assignment.lhs, assignment.rhs, in CheckPointerAssignment()
380 CheckPointerBounds(context, assignment)); in CheckPointerAssignment()
/llvm-project-15.0.7/clang-tools-extra/clangd/test/
H A Dfixits-codeaction.test10 # CHECK-NEXT: "message": "Using the result of an assignment as a condition without parenthes…
29 …": 0, "character": 37}},"severity":2,"message":"Using the result of an assignment as a condition w…
37 # CHECK-NEXT: "message": "Using the result of an assignment as a condition without parenth…
85 # CHECK-NEXT: "title": "place parentheses around the assignment to silence this warning"
91 # CHECK-NEXT: "message": "Using the result of an assignment as a condition without parenth…
126 # CHECK-NEXT: "title": "use '==' to turn this assignment into an equality comparison"
H A Dfixits-command.test10 # CHECK-NEXT: "message": "Using the result of an assignment as a condition without parenthes…
29 …": 0, "character": 37}},"severity":2,"message":"Using the result of an assignment as a condition w…
69 # CHECK-NEXT: "title": "Apply fix: place parentheses around the assignment to silence this war…
94 # CHECK-NEXT: "title": "Apply fix: use '==' to turn this assignment into an equality compariso…
98 …": 0, "character": 37}},"severity":2,"message":"Using the result of an assignment as a condition w…
139 # CHECK-NEXT: "title": "Apply fix: place parentheses around the assignment to silence this war…
164 # CHECK-NEXT: "title": "Apply fix: use '==' to turn this assignment into an equality compariso…
/llvm-project-15.0.7/polly/lib/External/isl/imath/tests/
H A Dset.tc1 #Unsigned integer assignment. Assumes sizeof(long) == 8.
6 #Signed integer assignment. Assumes sizeof(long) == 8.
/llvm-project-15.0.7/llvm/docs/GlobalISel/
H A DRegBankSelect.rst9 It iteratively maps instructions to a set of per-operand bank assignment.
58 assignment. This is the default at -O0.
61 target-provided bank assignment alternatives.
71 integer scalars, the default assignment for loads and stores is the integer
/llvm-project-15.0.7/lld/test/ELF/
H A Dversion-script-noundef.s9 # ERR1: version script assignment of 'VERSION_1.0' to symbol 'bar' failed: symbol not defined
14 # ERR2: version script assignment of 'VERSION_1.0' to symbol 'und' failed: symbol not defined
19 # ERR3: version script assignment of 'local' to symbol 'und' failed: symbol not defined
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dgreedy-reverse-local-assignment.ll2 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -greedy-reverse-local-assignment=0 -mcpu=gfx900 < %s | FileCh…
3 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -greedy-reverse-local-assignment=1 -mcpu=gfx900 < %s | FileCh…
5 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -greedy-reverse-local-assignment=0 -mcpu=gfx900 -mattr=-xnack…
6 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -greedy-reverse-local-assignment=1 -mcpu=gfx900 -mattr=-xnack…

123456789