[clang] [clang-tools-extra] [Clang] Make the SizeType, SignedSizeType and PtrdiffType be named sugar types instead of built-in types (PR #143653)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 27 15:45:12 PDT 2025
================
@@ -1567,6 +1567,8 @@ class ASTContext : public RefCountedBase<ASTContext> {
/// and bit count.
QualType getDependentBitIntType(bool Unsigned, Expr *BitsExpr) const;
+ QualType getPredefinedSugarType(uint32_t KD) const;
----------------
YexuanXiao wrote:
This function is used by TypeProperties.td and may not support enums, similar to other definitions in same file. I recall attempting to use enums before but failing.
https://github.com/llvm/llvm-project/pull/143653
More information about the cfe-commits
mailing list