[clang] [clang][bytecode][NFC] Remove unused function (PR #125201)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 31 03:21:39 PST 2025
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/125201
... and an unused include.
>From 082aa4251b59288275dc08e69ab70024fa9726c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?= <tbaeder at redhat.com>
Date: Fri, 31 Jan 2025 12:20:22 +0100
Subject: [PATCH] [clang][bytecode][NFC] Remove unused function
... and an unused include.
---
clang/lib/AST/ByteCode/EvalEmitter.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/clang/lib/AST/ByteCode/EvalEmitter.h b/clang/lib/AST/ByteCode/EvalEmitter.h
index e7c9e80d75d934..2cac2ba2ef2212 100644
--- a/clang/lib/AST/ByteCode/EvalEmitter.h
+++ b/clang/lib/AST/ByteCode/EvalEmitter.h
@@ -17,7 +17,6 @@
#include "InterpState.h"
#include "PrimType.h"
#include "Source.h"
-#include "llvm/Support/Error.h"
namespace clang {
namespace interp {
@@ -42,8 +41,6 @@ class EvalEmitter : public SourceMapper {
/// Clean up all resources.
void cleanup();
- InterpState &getState() { return S; }
-
protected:
EvalEmitter(Context &Ctx, Program &P, State &Parent, InterpStack &Stk);
More information about the cfe-commits
mailing list