[clang] [clang][bytecode][NFC] Make Compiler final (PR #219774)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 29 23:52:23 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/219774.diff
1 Files Affected:
- (modified) clang/lib/AST/ByteCode/Compiler.h (+2-2)
``````````diff
diff --git a/clang/lib/AST/ByteCode/Compiler.h b/clang/lib/AST/ByteCode/Compiler.h
index f34809cd0f14c..884ff9336de2b 100644
--- a/clang/lib/AST/ByteCode/Compiler.h
+++ b/clang/lib/AST/ByteCode/Compiler.h
@@ -115,8 +115,8 @@ enum class ScopeKind { Block, FullExpression, Call };
/// Compilation context for expressions.
template <class Emitter>
-class Compiler : public ConstStmtVisitor<Compiler<Emitter>, bool>,
- public Emitter {
+class Compiler final : public ConstStmtVisitor<Compiler<Emitter>, bool>,
+ public Emitter {
protected:
// Aliases for types defined in the emitter.
using LabelTy = typename Emitter::LabelTy;
``````````
</details>
https://github.com/llvm/llvm-project/pull/219774
More information about the cfe-commits
mailing list