Diff of /cmajor++/Cm/Cm.Core/Exception.hpp [r367] .. [r368]  Maximize  Restore

  Switch to side-by-side view

--- a/cmajor++/Cm/Cm.Core/Exception.hpp
+++ b/cmajor++/Cm/Cm.Core/Exception.hpp
@@ -36,14 +36,12 @@
     TypePtr CatchedBy() const { return catchType; }
     TypePtr Catches() const { return exceptionBaseType; }
     virtual void SetCompound(CompoundStatement* compound);
-    virtual void SetCompilationUnit(CompilationUnitPtr compilationUnit);
     virtual void TypeCheckBody(TypeCheckContext& context);
     virtual void CollectLocalVariables(LocalVariableList& vars);
     virtual void GenerateDestructionStatements(DestructionStackPtr destructionStack);
     virtual void SetFunction(Function* function);
     void SetNextHandler(ExceptionHandlerPtr next_) { next = next_; }
     ExceptionHandlerPtr Next() const { return next; }
-    virtual void CheckIfCanThrow(bool& canThrow, TypeCheckContext& context);
 private:
     ObjectPtr exceptionTypeExpr;
     std::string exceptionVarName;

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks