Ignore:
Timestamp:
May 19, 2015, 7:57:09 AM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
a08ba92
Parents:
51587aa
Message:

licencing: fifth groups of files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • translator/Common/CompilerError.h

    r51587aa r01aeade  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // XXX.cc --
     7// CompilerError.h --
    88//
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By :
    12 // Last Modified On :
    13 // Update Count     : 0
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Tue May 19 07:20:37 2015
     13// Update Count     : 2
    1414//
     15
    1516#ifndef COMPILER_ERROR_H
    1617#define COMPILER_ERROR_H
     
    1920//#include "../config.h"
    2021
    21 class CompilerError : public std::exception
    22 {
    23 public:
    24   CompilerError();
    25   CompilerError( std::string what ) : what( what ) {}
    26   ~CompilerError() throw () {}
     22class CompilerError : public std::exception {
     23  public:
     24        CompilerError();
     25        CompilerError( std::string what ) : what( what ) {}
     26        ~CompilerError() throw () {}
    2727
    28   std::string get_what() const { return what; }
    29   void set_what( std::string newValue ) { what = newValue; }
    30 
    31 private:
    32   std::string what;
     28        std::string get_what() const { return what; }
     29        void set_what( std::string newValue ) { what = newValue; }
     30  private:
     31        std::string what;
    3332};
    3433
    35 #endif /* COMPILER_ERROR_H */
     34#endif // COMPILER_ERROR_H
    3635
    37 /*
    38   Local Variables:
    39   mode: c++
    40   End:
    41 */
    4236// Local Variables: //
    4337// tab-width: 4 //
Note: See TracChangeset for help on using the changeset viewer.