[clang] [C23] Implement WG14 N3037 (PR #132939)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 26 02:56:07 PDT 2025
================
@@ -43,6 +43,9 @@ struct StructuralEquivalenceContext {
/// key: (from, to, IgnoreTemplateParmDepth)
using NonEquivalentDeclSet = llvm::DenseSet<std::tuple<Decl *, Decl *, int>>;
+ /// The language options to use for making a structural equivalence check.
+ const LangOptions &LangOpts;
+
----------------
cor3ntin wrote:
We already have 2 ASTContext; why not use the LangOpt from there? Possibly with a small function to make it less verbose.
https://github.com/llvm/llvm-project/pull/132939
More information about the cfe-commits
mailing list