diff options
Diffstat (limited to 'llvm/examples/Kaleidoscope/Chapter9/toy.cpp')
| -rw-r--r-- | llvm/examples/Kaleidoscope/Chapter9/toy.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/Kaleidoscope/Chapter9/toy.cpp b/llvm/examples/Kaleidoscope/Chapter9/toy.cpp index 51457a3..14081fb 100644 --- a/llvm/examples/Kaleidoscope/Chapter9/toy.cpp +++ b/llvm/examples/Kaleidoscope/Chapter9/toy.cpp @@ -203,7 +203,7 @@ class ExprAST {  public:    ExprAST(SourceLocation Loc = CurLoc) : Loc(Loc) {} -  virtual ~ExprAST() {} +  virtual ~ExprAST() = default;    virtual Value *codegen() = 0;    int getLine() const { return Loc.Line; }    int getCol() const { return Loc.Col; }  | 
