[Lldb-commits] [clang] [clang-tools-extra] [libcxx] [lldb] [Clang] Make the SizeType, SignedSizeType and PtrdiffType be named sugar types instead of built-in types (PR #143653)
Erich Keane via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 7 07:17:59 PDT 2025
================
@@ -1002,14 +1002,14 @@ RValue CodeGenFunction::EmitCoroutineIntrinsic(const CallExpr *E,
}
case llvm::Intrinsic::coro_size: {
auto &Context = getContext();
- CanQualType SizeTy = Context.getSizeType();
+ CanQualType SizeTy = Context.getCanonicalSizeType();
----------------
erichkeane wrote:
A little curious why these are necessary here? Doesnt `CanQualType` typically do a `getCanonicalType` on the thing it is assigned?
https://github.com/llvm/llvm-project/pull/143653
More information about the lldb-commits
mailing list