| /llvm-project/flang/test/Lower/ |
| H A D | array-user-def-assignments.f90 | 8 interface assignment(=) 15 interface assignment(=) 21 interface assignment(=) 182 interface assignment(=) 194 interface assignment(=) 500 interface assignment(=) 509 ! Scalar assignment in forall should be treated just like elemental 671 interface assignment(=) 683 interface assignment(=) 822 interface assignment( [all...] |
| /llvm-project/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 19 <https://wiki.sei.cmu.edu/confluence/display/cplusplus/OOP54-CPP.+Gracefully+handle+self-copy+assignment>`_ 21 A copy assignment operato [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>``:
|
| /llvm-project/flang/test/Semantics/ |
| H A D | cuf16.cuf | 60 interface assignment(=) 61 !ERROR: Defined assignment subroutine 's1' conflicts with intrinsic assignment 66 !ERROR: Defined assignment subroutine 's2' conflicts with intrinsic assignment 71 !ERROR: Defined assignment subroutine 's3' conflicts with intrinsic assignment 84 !ERROR: Defined assignment subroutine 's5' conflicts with intrinsic assignment 89 !ERROR: Defined assignment subroutine 's6' conflicts with intrinsic assignment
|
| H A D | resolve65.f90 | 12 generic :: assignment(=) => binding 22 generic :: assignment(=) => assign_t, assign_t2, assign_t3, assign_t4, assign_t5, assign_t6 31 generic :: assignment(=) => assign_t 67 interface assignment(=) 103 interface assignment(=)
|
| H A D | definable05.cuf | 12 !ERROR: Left-hand side of assignment is not definable 15 !ERROR: The left-hand side of a pointer assignment is not definable 20 !ERROR: Left-hand side of assignment is not definable 23 !ERROR: The left-hand side of a pointer assignment is not definable
|
| /llvm-project/llvm/docs/ |
| H A D | AssignmentTracking.md | 18 A secondary goal of assignment tracking is to cause minimal additional work for 28 `-Xclang -fexperimental-assignment-tracking=<disabled|enabled|forced>` 31 converts conventional debug records to assignment tracking metadata and sets 32 the module flag `debug-info-assignment-tracking` to the value `i1 true`. To 33 check whether assignment tracking is enabled for a module call 45 variable, each assignment marker must in some way refer to the store, if any 46 (or multiple!), that performs the assignment. That way, the position of the 53 the store that performed the assignment has been optimised out, and therefore 93 $ clang++ test.cpp -o test.ll -emit-llvm -S -g -O0 -Xclang -fexperimental-assignment-tracking=enabled 121 assignment t [all...] |
| /llvm-project/clang/test/SemaObjCXX/ |
| H A D | arc-0x.mm | 124 …const U1 &) = default; // expected-warning {{explicitly defaulted copy assignment operator is impl… 125 …U1 & operator=(U1 &&) = default; // expected-warning {{explicitly defaulted move assignment operat… 160 …{{copy assignment operator of 'S1' is implicitly deleted because field 'test_union::S1::(anonymous… 234 …*x0 = *u0; // expected-error {{cannot be assigned because its copy assignment operator is implicit… 235 …*x1 = *u1; // expected-error {{cannot be assigned because its copy assignment operator is implicit… 236 …*x2 = *u2; // expected-error {{cannot be assigned because its copy assignment operator is implicit… 238 …*x4 = *s0; // expected-error {{cannot be assigned because its copy assignment operator is implicit… 239 …*x5 = *s1; // expected-error {{cannot be assigned because its copy assignment operator is implicit… 240 …*x6 = *s2; // expected-error {{cannot be assigned because its copy assignment operator is implicit… 243 // The diagnostics below refer to the deleted copy constructors and assignment [all …]
|
| H A D | arc-unavailable-for-weakref.mm | 17 …ns1 = (__weak sub *)obj; // expected-error {{assignment of a weak-unavailable object to a __weak o… 30 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}} 32 …__weak id weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak… 43 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}} 45 …__weak id<P> weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __w…
|
| /llvm-project/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/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 :doc:`bugprone-unhandled-self-assignment <../bugprone/unhandled-self-assignment>`
|
| /llvm-project/clang-tools-extra/docs/clang-tidy/checks/modernize/ |
| H A D | use-nullptr.rst | 14 void assignment() { 29 void assignment() { 60 void assignment() { 69 void assignment() {
|
| /llvm-project/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/clang/test/SemaHLSL/Types/Arithmetic/ |
| H A D | literal_suffixes_no_16bit.hlsl | 17 // Lose precision on assignment. 20 // Lose precision on assignment converting float to half. 23 // Lose precision on assignment converting float to half. 26 // Lose precision on assignment converting double to half. 29 // Lose precision on assignment converting double to half.
|
| H A D | literal_suffixes.hlsl | 17 // Lose precision on assignment. 20 // Lose precision on assignment converting float to half. 23 // Lose precision on assignment converting float to half. 26 // Lose precision on assignment converting double to half. 29 // Lose precision on assignment converting double to half.
|
| /llvm-project/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/llvm/test/DebugInfo/MIR/InstrRef/ |
| H A D | single-assign-propagation.mir | 7 # propagation in InstrRefBasedLDV. When we only have a single assignment of 10 # only in those blocks dominated by the assignment. Example in this test: 15 # / bb1 \ <--- Single variable assignment happens here 32 # past the dominance frontier of the block where the assignment happens. So 39 # scope. This effectively becomes another variable assignment (of undef), which 42 # does by not treating the out-of-scope block as an effective undef assignment, 54 ## VarLocBasedLDV will take the DBG_VALUE in the assignment block, propagate 65 ## Common tail for 'test2' -- this is checking that the assignment of undef or 66 ## $noreg in single-assignment mode doesn't lead to trouble further down the
|
| /llvm-project/flang/lib/Semantics/ |
| H A D | assignment.cpp | 1 //===-- lib/Semantics/assignment.cpp --------------------------------------===// 9 #include "assignment.h" 11 #include "pointer-assignment.h" 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() 71 std::holds_alternative<evaluate::ProcedureRef>(assignment->u)}; in Analyze() 78 "Left-hand side of assignment is not definable"_err_en_US)}) { in Analyze() 98 if (const evaluate::Assignment * assignment{GetAssignment(stmt)}) { in GetPointerComponentDesignatorName() 101 CheckPointerAssignment(context_, *assignment, context in GetPointerComponentDesignatorName() 90 if (const evaluate::Assignment * assignment{GetAssignment(stmt)}) { Analyze() local [all...] |
| /llvm-project/clang/test/SemaObjC/ |
| H A D | self-assign.m | 8 …if (self = [self :x :y]) {} // expected-warning{{using the result of an assignment as a condition … 9 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ 10 // 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 | 28 …if (self.uid = 100) { // expected-warning {{using the result of an assignment as a condition witho… 29 … // expected-note {{place parentheses around the assignment to silence this warning}} \ 30 … // expected-note {{use '==' to turn this assignment into an equality comparison}}
|
| H A D | arc-unavailable-for-weakref.m | 17 …ns1 = (__weak sub *)obj; // expected-error {{assignment of a weak-unavailable object to a __weak o… 30 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}} 32 …__weak id weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak… 43 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}} 45 …__weak id<P> weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __w…
|
| /llvm-project/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-codeaction-documentchanges.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… 91 # CHECK-NEXT: "title": "place parentheses around the assignment to silence this warning" 97 # CHECK-NEXT: "message": "Using the result of an assignment as a condition without parenth… 138 # CHECK-NEXT: "title": "use '==' to turn this assignment into an equality comparison"
|
| H A D | fixits-command-documentchanges.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… 75 # CHECK-NEXT: "title": "Apply fix: place parentheses around the assignment to silence this war… 106 # CHECK-NEXT: "title": "Apply fix: use '==' to turn this assignment into an equality compariso… 110 …": 0, "character": 37}},"severity":2,"message":"Using the result of an assignment as a condition w… 157 # CHECK-NEXT: "title": "Apply fix: place parentheses around the assignment to silence this war… 188 # CHECK-NEXT: "title": "Apply fix: use '==' to turn this assignment into an equality compariso…
|