Changeset f26421f for src


Ignore:
Timestamp:
Feb 11, 2023, 8:12:25 PM (23 months ago)
Author:
Mugilan Ganesan <mganesan@…>
Branches:
ADT, ast-experimental, master
Children:
c97b448
Parents:
966b4c6
Message:

Removed CompilerError? and UnimplementedError?

Location:
src
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • src/Common/module.mk

    r966b4c6 rf26421f  
    2020        Common/CodeLocationTools.hpp \
    2121        Common/CodeLocationTools.cpp \
    22         Common/CompilerError.h \
    2322        Common/Debug.h \
    2423        Common/DeclStats.hpp \
     
    5251        Common/Stats/Time.cc \
    5352        Common/Stats/Time.h \
    54         Common/UnimplementedError.h \
    5553        Common/UniqueName.cc \
    5654        Common/UniqueName.h \
  • src/main.cc

    r966b4c6 rf26421f  
    4040#include "CodeTools/TrackLoc.h"             // for fillLocations
    4141#include "Common/CodeLocationTools.hpp"     // for forceFillCodeLocations
    42 #include "Common/CompilerError.h"           // for CompilerError
    4342#include "Common/DeclStats.hpp"             // for printDeclStats
    4443#include "Common/ResolvProtoDump.hpp"       // for dumpAsResolverProto
    4544#include "Common/Stats.h"                   // for Stats
    46 #include "Common/UnimplementedError.h"      // for UnimplementedError
    4745#include "Common/utility.h"                 // for deleteAll, filter, printAll
    4846#include "Concurrency/Actors.hpp"           // for implementActors
     
    480478                } // if
    481479                return EXIT_FAILURE;
    482         } catch ( UnimplementedError & e ) {
    483                 cout << "Sorry, " << e.get_what() << " is not currently implemented" << endl;
    484                 if ( output != &cout ) {
    485                         delete output;
    486                 } // if
    487                 return EXIT_FAILURE;
    488         } catch ( CompilerError & e ) {
    489                 cerr << "Compiler Error: " << e.get_what() << endl;
    490                 cerr << "(please report bugs to [REDACTED])" << endl;
    491                 if ( output != &cout ) {
    492                         delete output;
    493                 } // if
    494                 return EXIT_FAILURE;
    495480        } catch ( std::bad_alloc & ) {
    496481                cerr << "*cfa-cpp compilation error* std::bad_alloc" << endl;
Note: See TracChangeset for help on using the changeset viewer.