[clang] [clang][ASTImporter] New fix for default template parameter values. (PR #101836)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 19 11:39:21 PDT 2024


=?utf-8?q?Balázs_Kéri?= <balazs.keri at ericsson.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/101836 at github.com>


================
@@ -5934,8 +5928,8 @@ ASTNodeImporter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *D) {
 ExpectedDecl
 ASTNodeImporter::VisitTemplateTypeParmDecl(TemplateTypeParmDecl *D) {
   // For template arguments, we adopt the translation unit as our declaration
-  // context. This context will be fixed when the actual template declaration
-  // is created.
+  // context. This context will be fixed when (during) the actual template
+  // declaration is created.
----------------
mizvekov wrote:

```suggestion
  // context. This context will be fixed while the actual template
  // declaration is being created.
```

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


More information about the cfe-commits mailing list