jhuber6 wrote:
Thanks for the patch, this one likely fell through the cracks because it has no
assigned reviewers. We'll need a test based off of the original bug report. Put
that in `clang/test/OpenMP/.c` and then look at other tests for what
it should look like. LLVM uses `lit` to test, you
@@ -21067,6 +21067,10 @@ Sema::ActOnOpenMPDependClause(const
OMPDependClause::DependDataTy &Data,
ExprTy = ATy->getElementType();
else
ExprTy = BaseType->getPointeeType();
+// bug 69200
+if (ExprTy.isNull()) {
+
InfiniteVerma wrote:
Should we add the c snippet in issue description as a test case?
https://github.com/llvm/llvm-project/issues/69200#issue-1945228087
https://github.com/llvm/llvm-project/pull/77131
___
cfe-commits mailing list
cfe-commits@lists.llv
https://github.com/InfiniteVerma updated
https://github.com/llvm/llvm-project/pull/77131
>From bad1fda58f73e5502df1a1c1ed781c96d86a8ead Mon Sep 17 00:00:00 2001
From: InfiniteVerma
Date: Sat, 6 Jan 2024 00:42:34 +0530
Subject: [PATCH] [Clang] Add a NULL check
Fixes #69200
---
clang/lib/Sema/S
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff 0e8b09c43d9f9e68c95fa1e6f6fb5c8307f3927d
86a898c55eb304705b7bd0e224b746c7a9284ed0 --
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (InfiniteVerma)
Changes
Fixes #69200
Issue: Calling function on a nullptr.
---
Full diff: https://github.com/llvm/llvm-project/pull/77131.diff
1 Files Affected:
- (modified) clang/lib/Sema/SemaOpenMP.cpp (+4)
``diff
di
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be
notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it i
https://github.com/InfiniteVerma created
https://github.com/llvm/llvm-project/pull/77131
Fixes #69200
Issue: Calling function on a nullptr.
>From 86a898c55eb304705b7bd0e224b746c7a9284ed0 Mon Sep 17 00:00:00 2001
From: InfiniteVerma
Date: Sat, 6 Jan 2024 00:42:34 +0530
Subject: [PATCH] [Clang