[clang] 056608a - [OpenACC][NFC] Remove temporary assert from CIndex OpenACCBindClause
via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 6 09:06:06 PDT 2025
Author: erichkeane
Date: 2025-08-06T09:05:14-07:00
New Revision: 056608a2821e34752b1e47f73a8d544b5c9ad787
URL: https://github.com/llvm/llvm-project/commit/056608a2821e34752b1e47f73a8d544b5c9ad787
DIFF: https://github.com/llvm/llvm-project/commit/056608a2821e34752b1e47f73a8d544b5c9ad787.diff
LOG: [OpenACC][NFC] Remove temporary assert from CIndex OpenACCBindClause
This was left over from implementation and shouldn't have been left in,
but in the end 'bind' doesn't require any additional work here, so this
patch removes the assert.
Added:
Modified:
clang/tools/libclang/CIndex.cpp
Removed:
################################################################################
diff --git a/clang/tools/libclang/CIndex.cpp b/clang/tools/libclang/CIndex.cpp
index 8b3d70b25866f..bf0c0aab2270f 100644
--- a/clang/tools/libclang/CIndex.cpp
+++ b/clang/tools/libclang/CIndex.cpp
@@ -2976,9 +2976,7 @@ void OpenACCClauseEnqueue::VisitIndependentClause(
const OpenACCIndependentClause &C) {}
void OpenACCClauseEnqueue::VisitSeqClause(const OpenACCSeqClause &C) {}
void OpenACCClauseEnqueue::VisitNoHostClause(const OpenACCNoHostClause &C) {}
-void OpenACCClauseEnqueue::VisitBindClause(const OpenACCBindClause &C) {
- assert(false && "TODO ERICH");
-}
+void OpenACCClauseEnqueue::VisitBindClause(const OpenACCBindClause &C) { }
void OpenACCClauseEnqueue::VisitFinalizeClause(const OpenACCFinalizeClause &C) {
}
void OpenACCClauseEnqueue::VisitIfPresentClause(
More information about the cfe-commits
mailing list