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

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 2 07:31:32 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 *));
----------------
erichkeane wrote:

It IS a touch.  But the idea is that this type (`OpenACCReductionRecipe`) is going to grow in the future, and this is an attempt to make sure I don't miss it when I add fields.

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


More information about the cfe-commits mailing list