[clang] [Clang][OpenMP] Fix `!isNull() && "Cannot retrieve a NULL type pointer"' fail. (PR #81015)

Shourya Goel via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 7 09:54:52 PST 2024


================
@@ -21124,6 +21124,8 @@ Sema::ActOnOpenMPDependClause(const OMPDependClause::DependDataTy &Data,
               ExprTy = ATy->getElementType();
             else
               ExprTy = BaseType->getPointeeType();
+            if (ExprTy.isNull())
+              continue;
----------------
Sh0g0-1758 wrote:

done. 

https://github.com/llvm/llvm-project/pull/81015


More information about the cfe-commits mailing list