| /llvm-project-15.0.7/flang/test/Lower/ |
| H A D | array-user-def-assignments.f90 | 8 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 D | unhandled-self-assignment.rst | 1 .. 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 D | string-integer-assignment.rst | 1 .. title:: clang-tidy - bugprone-string-integer-assignment 3 bugprone-string-integer-assignment 8 following assignment operator of ``std::basic_string<CharT>``:
|
| H A D | assignment-in-if-condition.rst | 1 .. 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 D | resolve65.f90 | 9 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 D | use-nullptr.rst | 14 void assignment() { 29 void assignment() { 54 void assignment() { 63 void assignment() {
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | arc-0x.mm | 129 …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 D | arc-unavailable-for-weakref.mm | 18 …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 D | oop54-cpp.rst | 3 :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 D | c-copy-assignment-signature.rst | 1 .. 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 D | objc-properties.m | 66 …(__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 D | direct-ivar-assignment-in-annotated-functions.m | 51 …(__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 D | self-assign.m | 9 …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 D | property-error-readonly-assign.m | 16 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 D | idiomatic-parentheses.m | 30 …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 D | arc-unavailable-for-weakref.m | 18 …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 D | single-assign-propagation.mir | 11 # 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 D | assignment.cpp | 64 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 D | pointer-assignment.cpp | 322 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 D | fixits-codeaction.test | 10 # 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 D | fixits-command.test | 10 # 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 D | set.tc | 1 #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 D | RegBankSelect.rst | 9 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 D | version-script-noundef.s | 9 # 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 D | greedy-reverse-local-assignment.ll | 2 ; 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…
|