[clang] [PATCH 1/4] [clang] Improve nested name specifier AST representation (PR #147835)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 11 09:20:01 PDT 2025


================
@@ -2068,7 +2080,9 @@ class ASTContext : public RefCountedBase<ASTContext> {
   /// if it hasn't yet been built.
   QualType getRawCFConstantStringType() const {
     if (CFConstantStringTypeDecl)
-      return getTypedefType(CFConstantStringTypeDecl);
+      return getTypedefType(ElaboratedTypeKeyword::None,
+                            /*Qualifier=*/std::nullopt,
+                            CFConstantStringTypeDecl);
----------------
mizvekov wrote:

The lack of default parameters helped migrate code to conform to the changes, and I suspect it will equally help upstream users once this lands.

https://github.com/llvm/llvm-project/pull/147835


More information about the cfe-commits mailing list