[clang] [C++20][Modules] Load function body from the module that gives canonical decl (PR #111992)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 5 18:13:35 PST 2024


================
@@ -10057,15 +10057,18 @@ void ASTReader::finishPendingActions() {
       // For a function defined inline within a class template, force the
       // canonical definition to be the one inside the canonical definition of
       // the template. This ensures that we instantiate from a correct view
-      // of the template.
+      // of the template. This behaviour seems to be important only for inline
----------------
ChuanqiXu9 wrote:

`seems` seems to not be a good term in comments.

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


More information about the cfe-commits mailing list