[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
================
@@ -320,6 +320,92 @@ bool clang::analyze_format_string::ParseUTF8InvalidSpecifier(
// Methods on ArgType.
//===----------------------------------------------------------------------===//
+static bool namedTypeToLengthModifierKind(ASTContext &Ctx, QualType QT,
+ LengthModifier::Kind &K) {
+ for (/**/; const auto *TT = QT->getAs<TypedefType>();
+ QT = TT->getDecl()->getUnderlyingType()) {
----------------
erichkeane wrote:
Is this not just `desguar`?
```suggestion
QT = TT->desugar()) {
```
https://github.com/llvm/llvm-project/pull/143653
More information about the lldb-commits
mailing list