[clang] [Clang] Improve concept performance 1/N (PR #188421)
Younan Zhang via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 2 02:03:58 PDT 2026
================
@@ -15101,6 +15091,9 @@ class Sema final : public SemaBase {
UnsubstitutedConstraintSatisfactionCacheResult>
UnsubstitutedConstraintSatisfactionCache;
+ llvm::DenseMap<llvm::FoldingSetNodeID, TemplateArgumentLoc>
+ *CurrentCachedTemplateArgs = nullptr;
+
----------------
zyn0217 wrote:
That would let us track the cache in the place where is different from current caching mechanisms, which I think it somewhat messy.
We can have some cleanups (e.g. move them together to CSC) afterwards.
https://github.com/llvm/llvm-project/pull/188421
More information about the cfe-commits
mailing list