[clang] [clang] fix code synthesis context depth limit logic (PR #161103)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 29 06:44:03 PDT 2025
================
@@ -616,29 +616,30 @@ Sema::InstantiatingTemplate::InstantiatingTemplate(
Invalid = true;
return;
}
- Invalid = CheckInstantiationDepth(PointOfInstantiation, InstantiationRange);
+
+ CodeSynthesisContext Inst;
----------------
erichkeane wrote:
This seems in desperate need of a constructor here :)
https://github.com/llvm/llvm-project/pull/161103
More information about the cfe-commits
mailing list