[clang] [clang-tools-extra] [Clang] Make the SizeType, SignedSizeType and PtrdiffType be named sugar types instead of built-in types (PR #143653)
Matheus Izvekov via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 27 14:39:54 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;
----------------
mizvekov wrote:
It would be more helpful and less error prone to use the enum type here.
https://github.com/llvm/llvm-project/pull/143653
More information about the cfe-commits
mailing list