[clang] [Clang] add user-level sizeless attribute (PR #71894)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 9 21:59:38 PST 2023
================
@@ -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 simple getter, but it's quite expensive. Are the other `Type::is*Type()` functions similarly complex or can we rename this?
https://github.com/llvm/llvm-project/pull/71894
More information about the cfe-commits
mailing list