[clang] [NFC][OpenACC] Remove 'initExpr' from AST/etc. (PR #161674)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 2 07:27:57 PDT 2025


================
@@ -13011,10 +13009,9 @@ OpenACCClause *ASTRecordReader::readOpenACCClause() {
     llvm::SmallVector<OpenACCReductionRecipe> RecipeList;
 
     for (unsigned I = 0; I < VarList.size(); ++I) {
-      static_assert(sizeof(OpenACCReductionRecipe) == 2 * sizeof(int *));
+      static_assert(sizeof(OpenACCReductionRecipe) == sizeof(int *));
----------------
cor3ntin wrote:

Having that assert here is a bit weird

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


More information about the cfe-commits mailing list