[clang] [clang][ExprConst] Move getLangOpts() to interp::State subclasses (PR #159280)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 17 03:31:46 PDT 2025
================
@@ -945,6 +945,7 @@ namespace {
}
ASTContext &getASTContext() const override { return Ctx; }
+ const LangOptions &getLangOpts() const { return Ctx.getLangOpts(); }
----------------
tbaederr wrote:
```console
$ grep "Info.getLangOpts()" ../clang/lib/AST/ExprConstant.cpp | wc -l
61
```
Yep
https://github.com/llvm/llvm-project/pull/159280
More information about the cfe-commits
mailing list