[clang] 7d0938b - [clang][Interp][NFC] Make OptionScope final
Timm Bäder via cfe-commits
cfe-commits at lists.llvm.org
Mon May 1 21:19:41 PDT 2023
Author: Timm Bäder
Date: 2023-05-02T06:16:49+02:00
New Revision: 7d0938bf2c2a35d4eb4b8c4c728aaa85d1dd428e
URL: https://github.com/llvm/llvm-project/commit/7d0938bf2c2a35d4eb4b8c4c728aaa85d1dd428e
DIFF: https://github.com/llvm/llvm-project/commit/7d0938bf2c2a35d4eb4b8c4c728aaa85d1dd428e.diff
LOG: [clang][Interp][NFC] Make OptionScope final
Added:
Modified:
clang/lib/AST/Interp/ByteCodeExprGen.cpp
Removed:
################################################################################
diff --git a/clang/lib/AST/Interp/ByteCodeExprGen.cpp b/clang/lib/AST/Interp/ByteCodeExprGen.cpp
index 9f79a7bcf9d3..ee59fc372a8b 100644
--- a/clang/lib/AST/Interp/ByteCodeExprGen.cpp
+++ b/clang/lib/AST/Interp/ByteCodeExprGen.cpp
@@ -40,7 +40,7 @@ template <class Emitter> class DeclScope final : public VariableScope<Emitter> {
};
/// Scope used to handle initialization methods.
-template <class Emitter> class OptionScope {
+template <class Emitter> class OptionScope final {
public:
/// Root constructor, compiling or discarding primitives.
OptionScope(ByteCodeExprGen<Emitter> *Ctx, bool NewDiscardResult)
More information about the cfe-commits
mailing list