[PATCH] D116637: [Clang][Sema][OpenMP] Sema support for `atomic compare`
Shilei Tian via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 5 05:07:24 PST 2022
tianshilei1992 added a comment.
In D116637#3298635 <https://reviews.llvm.org/D116637#3298635>, @cmtice wrote:
> When building/running third_party/llvm/llvm-project/clang/test/OpenMP/atomic_messages.c and third_party/llvm/llvm-project/clang/test/OpenMP/atomic_ast_print.cpp, we get use-of-uninitialized-variable error messages:
>
> SUMMARY: MemorySanitizer: use-of-uninitialized-value third_party/llvm/llvm-project/clang/lib/Sema/SemaOpenMP.cpp:11214:40 in (anonymous namespace)::OpenMPAtomicCompareChecker::checkType((anonymous namespace)::OpenMPAtomicCompareChecker::ErrorInfoTy&) const::$_57::operator()(clang::Expr const*, llvm::omp::OMPAtomicCompareOp, bool) const
> Exiting
>
> You should probably look into this.
Thanks! It has been fixed.
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