[clang] [clang][ExprConst] Move getLangOpts() to interp::State subclasses (PR #159280)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 17 02:12:21 PDT 2025


================
@@ -945,6 +945,7 @@ namespace {
     }
 
     ASTContext &getASTContext() const override { return Ctx; }
+    const LangOptions &getLangOpts() const { return Ctx.getLangOpts(); }
----------------
cor3ntin wrote:

Is that used?

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


More information about the cfe-commits mailing list