https://github.com/wsmoses updated
https://github.com/llvm/llvm-project/pull/71894
>From 9202857d0100bf8a29c43472a3ce531d9afa4a2b Mon Sep 17 00:00:00 2001
From: Billy Moses
Date: Thu, 9 Nov 2023 02:17:05 +
Subject: [PATCH] [Clang] add user-level sizeless attribute
---
clang/include/clang/
https://github.com/wsmoses updated
https://github.com/llvm/llvm-project/pull/71894
>From 5feb493573e1809ddf450948bdd3c735bb4b6ffd Mon Sep 17 00:00:00 2001
From: Billy Moses
Date: Thu, 9 Nov 2023 02:17:05 +
Subject: [PATCH] [Clang] add user-level sizeless attribute
---
clang/include/clang/
@@ -2400,7 +2402,66 @@ bool Type::isWebAssemblyTableType() const {
return false;
}
-bool Type::isSizelessType() const { return isSizelessBuiltinType(); }
+bool Type::isSizelessType() const {
wsmoses wrote:
isIncompleteType has a recursive descent open to su
https://github.com/wsmoses updated
https://github.com/llvm/llvm-project/pull/71894
>From 4de8e238b6680540f4bc884c66430eb2974512c2 Mon Sep 17 00:00:00 2001
From: Billy Moses
Date: Thu, 9 Nov 2023 02:17:05 +
Subject: [PATCH 1/2] [Clang] add user-level sizeless attribute
---
clang/include/cl
@@ -2400,7 +2402,66 @@ bool Type::isWebAssemblyTableType() const {
return false;
}
-bool Type::isSizelessType() const { return isSizelessBuiltinType(); }
+bool Type::isSizelessType() const {
+ // Check if this type or any of its constituents are sizeless, due to
+ // being
@@ -2400,7 +2402,66 @@ bool Type::isWebAssemblyTableType() const {
return false;
}
-bool Type::isSizelessType() const { return isSizelessBuiltinType(); }
+bool Type::isSizelessType() const {
+ // Check if this type or any of its constituents are sizeless, due to
+ // being
@@ -2400,7 +2402,66 @@ bool Type::isWebAssemblyTableType() const {
return false;
}
-bool Type::isSizelessType() const { return isSizelessBuiltinType(); }
+bool Type::isSizelessType() const {
tbaederr wrote:
The name of this function sounds like this is a si
@@ -2400,7 +2402,66 @@ bool Type::isWebAssemblyTableType() const {
return false;
}
-bool Type::isSizelessType() const { return isSizelessBuiltinType(); }
+bool Type::isSizelessType() const {
+ // Check if this type or any of its constituents are sizeless, due to
+ // being
@@ -2400,7 +2402,66 @@ bool Type::isWebAssemblyTableType() const {
return false;
}
-bool Type::isSizelessType() const { return isSizelessBuiltinType(); }
+bool Type::isSizelessType() const {
+ // Check if this type or any of its constituents are sizeless, due to
+ // being
https://github.com/wsmoses updated
https://github.com/llvm/llvm-project/pull/71894
>From 4de8e238b6680540f4bc884c66430eb2974512c2 Mon Sep 17 00:00:00 2001
From: Billy Moses
Date: Thu, 9 Nov 2023 02:17:05 +
Subject: [PATCH] [Clang] add user-level sizeless attribute
---
clang/include/clang/
https://github.com/wsmoses updated
https://github.com/llvm/llvm-project/pull/71894
>From 3e23febb464791a4b24ec73476ef988d2e98ca18 Mon Sep 17 00:00:00 2001
From: Billy Moses
Date: Thu, 9 Nov 2023 02:17:05 +
Subject: [PATCH] [Clang] add user-level sizeless attribute
---
clang/include/clang/
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: William Moses (wsmoses)
Changes
As discussed in [this
RFC](https://discourse.llvm.org/t/rfc-attribute-no-sizeof/74695) this PR
implements a. new user-level sizeless attribute.
This prevents types or variables marked with this attribute f
https://github.com/wsmoses created
https://github.com/llvm/llvm-project/pull/71894
As discussed in [this
RFC](https://discourse.llvm.org/t/rfc-attribute-no-sizeof/74695) this PR
implements a. new user-level sizeless attribute.
This prevents types or variables marked with this attribute from h
13 matches
Mail list logo