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

I'm not sure to `continue` here is a good idea. Probably you want `return 
nullptr;`.

https://github.com/llvm/llvm-project/pull/81015
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to