diff --git a/clang/lib/AST/ByteCode/EvalEmitter.h b/clang/lib/AST/ByteCode/EvalEmitter.h index e7c9e80d75d93..2cac2ba2ef221 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);