diff options
| author | Krish Gupta <krishom70@gmail.com> | 2025-10-16 00:12:33 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-15 13:42:33 -0500 |
| commit | 59ab4d4bbc07518118a1dab7a0978cbd5f489f8d (patch) | |
| tree | 968418898c03f04cea9609631f82d6af69b02a88 /lldb/packages/Python/lldbsuite/test/gdbclientutils.py | |
| parent | 4b84e0f3f0d1e1b67782c4f619d466d1314b1e35 (diff) | |
| download | llvm-59ab4d4bbc07518118a1dab7a0978cbd5f489f8d.zip llvm-59ab4d4bbc07518118a1dab7a0978cbd5f489f8d.tar.gz llvm-59ab4d4bbc07518118a1dab7a0978cbd5f489f8d.tar.bz2 | |
[flang][OpenMP] Add diagnostic for ATOMIC WRITE with pointer to non-intrinsic type (#162364)
Fixes https://github.com/llvm/llvm-project/issues/161932
Added a check for non-intrinsic types in non-pointer assignments.
Added bool checkTypeOnPointer = true to both CheckAtomicVariable and
CheckAtomicType. All atomic assignment functions now pass
!IsPointerAssignment(...) to control the check. The pointer-to-non-intrinsic
check lives in CheckAtomicType, guarded by the checkTypeOnPointer flag.
The check now applies uniformly to all atomic operations while properly
excluding pointer assignments (=>).
---------
Co-authored-by: Krish Gupta <krishgupta@Krishs-MacBook-Air.local>
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions
