https://github.com/bwendling closed
https://github.com/llvm/llvm-project/pull/104235
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bwendling updated
https://github.com/llvm/llvm-project/pull/104235
>From a87bc65687b687073e8ff37606ca9e783f1edcf9 Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Wed, 14 Aug 2024 13:44:56 -0700
Subject: [PATCH 1/2] [Clang][NFC] Move FindCountedByField into FieldDecl
FindC
@@ -3206,6 +3206,10 @@ class FieldDecl : public DeclaratorDecl, public
Mergeable {
/// Set the C++11 in-class initializer for this member.
void setInClassInitializer(Expr *NewInit);
+ /// Find the FieldDecl specified in a FAM's "counted_by" attribute. Returns
+ /// \p n
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/104235
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Sirraide approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/104235
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Bill Wendling (bwendling)
Changes
FindCountedByField can be used in more places than CodeGen. Move it into
FieldDecl to avoid layering issues.
---
Full diff: https://github.com/llvm/llvm-project/pull/104235.diff
4 Files Affected
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Bill Wendling (bwendling)
Changes
FindCountedByField can be used in more places than CodeGen. Move it into
FieldDecl to avoid layering issues.
---
Full diff: https://github.com/llvm/llvm-project/pull/104235.diff
4 Files Affected:
- (mo
https://github.com/bwendling created
https://github.com/llvm/llvm-project/pull/104235
FindCountedByField can be used in more places than CodeGen. Move it into
FieldDecl to avoid layering issues.
>From a87bc65687b687073e8ff37606ca9e783f1edcf9 Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: