Skip to content

Commit 46befd7

Browse files
authored
[clang][bytecode][NFC] Remove unused function (#125201)
... and an unused include.
1 parent 70ec2e4 commit 46befd7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/lib/AST/ByteCode/EvalEmitter.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include "InterpState.h"
1818
#include "PrimType.h"
1919
#include "Source.h"
20-
#include "llvm/Support/Error.h"
2120

2221
namespace clang {
2322
namespace interp {
@@ -42,8 +41,6 @@ class EvalEmitter : public SourceMapper {
4241
/// Clean up all resources.
4342
void cleanup();
4443

45-
InterpState &getState() { return S; }
46-
4744
protected:
4845
EvalEmitter(Context &Ctx, Program &P, State &Parent, InterpStack &Stk);
4946

0 commit comments

Comments
 (0)