[all-commits] [llvm/llvm-project] 4cdfab: [Clang][OpenMP] Add one missing form of atomic com...

Shilei Tian via All-commits all-commits at lists.llvm.org
Fri Oct 7 10:30:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4cdfab12bbe6b9ed4212d8d77746fb99fffc1bfe
      https://github.com/llvm/llvm-project/commit/4cdfab12bbe6b9ed4212d8d77746fb99fffc1bfe
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/atomic_ast_print.cpp
    M clang/test/OpenMP/atomic_compare_codegen.cpp
    M clang/test/OpenMP/atomic_messages.c

  Log Message:
  -----------
  [Clang][OpenMP] Add one missing form of atomic compare capture

Two another atomic compare capture forms, `{ v = x; expr-stmt }` and `{ expr-stmt; v = x; }`
where `expr-stmt` could be `cond-expr-stmt` are missing.

Reviewed By: ABataev

Differential Revision: https://reviews.llvm.org/D135236




More information about the All-commits mailing list