[clang] [clang][bytecode] Add `EvalSettings` struct and replace parent `State` (PR #226175)

via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 24 07:11:23 PDT 2026


Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/226175 at github.com>


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Timm Baeder (tbaederr)

<details>
<summary>Changes</summary>

Once https://github.com/llvm/llvm-project/pull/186045 is merged.

---
Full diff: https://github.com/llvm/llvm-project/pull/226175.diff


23 Files Affected:

- (modified) clang/lib/AST/ByteCode/ByteCodeEmitter.h (+1) 
- (modified) clang/lib/AST/ByteCode/Compiler.cpp (+6) 
- (modified) clang/lib/AST/ByteCode/Context.cpp (+76-41) 
- (modified) clang/lib/AST/ByteCode/Context.h (+26-15) 
- (modified) clang/lib/AST/ByteCode/Disasm.cpp (+1-4) 
- (modified) clang/lib/AST/ByteCode/EvalEmitter.cpp (+52-24) 
- (modified) clang/lib/AST/ByteCode/EvalEmitter.h (+17-3) 
- (modified) clang/lib/AST/ByteCode/EvaluationResult.cpp (+381-1) 
- (modified) clang/lib/AST/ByteCode/EvaluationResult.h (+22-10) 
- (modified) clang/lib/AST/ByteCode/Interp.cpp (+3-1) 
- (modified) clang/lib/AST/ByteCode/InterpBuiltinObjectSize.cpp (+1-1) 
- (modified) clang/lib/AST/ByteCode/InterpState.cpp (+22-8) 
- (modified) clang/lib/AST/ByteCode/InterpState.h (+5-1) 
- (modified) clang/lib/AST/ByteCode/Pointer.cpp (+5-1) 
- (modified) clang/lib/AST/ByteCode/Pointer.h (+8-3) 
- (modified) clang/lib/AST/ExprConstShared.h (+42) 
- (modified) clang/lib/AST/ExprConstant.cpp (+128-146) 
- (modified) clang/test/AST/ByteCode/builtin-functions.cpp (+3-3) 
- (modified) clang/test/AST/ByteCode/codegen-constexpr-unknown.cpp (+1) 
- (modified) clang/test/AST/ByteCode/references.cpp (+2-3) 
- (modified) clang/test/CodeGenCXX/global-init.cpp (+8) 
- (modified) clang/test/SemaCXX/PR19955.cpp (+3) 
- (modified) clang/test/SemaCXX/cxx2c-expansion-stmts.cpp (+2-2) 


``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````

</details>


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


More information about the cfe-commits mailing list