[PATCH] D116637: [Clang][Sema][OpenMP] Sema support for `atomic compare`

Shilei Tian via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 4 10:32:34 PST 2022


tianshilei1992 added a comment.

In D116637#3297387 <https://reviews.llvm.org/D116637#3297387>, @cmtice wrote:

> This commit is causing some of our builds to fail with these errors:
>
> clang/lib/Sema/SemaOpenMP.cpp:11372:9: error: unused variable 'D' [-Werror,-Wunused-variable]
>
>   Expr *D = nullptr;
>         ^
>
> clang/lib/Sema/SemaOpenMP.cpp:11373:9: error: unused variable 'CE' [-Werror,-Wunused-variable]
>
>   Expr *CE = nullptr;
>         ^
>
> 2 errors generated.
>
> Would you please fix this?

Yeah, I noticed that. It's been fixed now. Thanks.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116637/new/

https://reviews.llvm.org/D116637



More information about the cfe-commits mailing list