koops added subscribers: cchen, dreachem, tianshilei1992, jdoerfert, soumitra. koops added a comment.
Hello Kevin, I am not sure why it is indicating an uninitialized variable at that point. The code at " llvm-project/clang/lib/Sema/SemaOpenMP.cpp:12060 " is as below: for (const OMPClause *C : Clauses) { if (C->getClauseKind() == OMPC_fail) { NoOfFails++; const OMPFailClause *FC = static_cast<const OMPFailClause *>(C); const OMPClause *MemOrderC = FC->const_getMemoryOrderClause(); /* Clauses contains OMPC_fail and the subclause */ if (MemOrderC) { Here " if (MemOrderC) { " is the 12060 line. Regards, --Sunil Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D123235/new/ https://reviews.llvm.org/D123235 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits