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/UnimplementedError.h

    r51587aa r01aeade  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // XXX.cc --
     7// UnimplementedError.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:23:08 2015
     13// Update Count     : 1
    1414//
    15 /*
    16  * This file is part of the Cforall project
    17  *
    18  * $Id: UnimplementedError.h,v 1.1 2002/09/02 20:31:53 rcbilson Exp $
    19  *
    20  */
    2115
    22 #ifndef COMMON_UNIMPLEMENTEDERROR_H
    23 #define COMMON_UNIMPLEMENTEDERROR_H
     16#ifndef _UNIMPLEMENTEDERROR_H
     17#define _UNIMPLEMENTEDERROR_H
    2418
    2519#include <string>
    2620
    27 class UnimplementedError : public std::exception
    28 {
    29 public:
    30   UnimplementedError();
    31   UnimplementedError( std::string what ) : what( what ) {}
    32   ~UnimplementedError() throw () {}
     21class UnimplementedError : public std::exception {
     22  public:
     23        UnimplementedError();
     24        UnimplementedError( std::string what ) : what( what ) {}
     25        ~UnimplementedError() throw () {}
    3326 
    34   std::string get_what() const { return what; }
    35   void set_what( std::string newValue ) { what = newValue; }
    36  
    37 private:
    38   std::string what;
     27        std::string get_what() const { return what; }
     28        void set_what( std::string newValue ) { what = newValue; }
     29  private:
     30        std::string what;
    3931};
    4032
    41 #endif /* #ifndef COMMON_UNIMPLEMENTEDERROR_H */
     33#endif // _UNIMPLEMENTEDERROR_H
     34
    4235// Local Variables: //
    4336// tab-width: 4 //
Note: See TracChangeset for help on using the changeset viewer.