[clang] [Clang] Make the result type of sizeof/pointer subtraction/size_t literals be typedefs instead of built-in types (PR #143653)
Matheus Izvekov via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 10 23:58:05 PDT 2025
================
@@ -1961,11 +1969,20 @@ class ASTContext : public RefCountedBase<ASTContext> {
/// <stddef.h>.
///
/// The sizeof operator requires this (C99 6.5.3.4p4).
- CanQualType getSizeType() const;
+ QualType getSizeType() const;
----------------
mizvekov wrote:
Can you provide `CanQualType getCanonicalFoo` versions of these, instead of sprinkling `->getCanonicalUnqualifiedType` all around?
https://github.com/llvm/llvm-project/pull/143653
More information about the cfe-commits
mailing list