Ignore:
Timestamp:
May 18, 2015, 11:20:23 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:
51587aa
Parents:
a32b204
Message:

licencing: third groups of files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • translator/SynTree/Type.cc

    ra32b204 r0dd3a2f  
     1//
     2// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
     3//
     4// The contents of this file are covered under the licence agreement in the
     5// file "LICENCE" distributed with Cforall.
     6//
     7// Type.cc --
     8//
     9// Author           : Richard C. Bilson
     10// Created On       : Mon May 18 07:44:20 2015
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Mon May 18 11:00:29 2015
     13// Update Count     : 1
     14//
     15
    116#include "SynTree.h"
    217#include "Visitor.h"
     
    4156void Type::print( std::ostream &os, int indent ) const {
    4257    if ( ! forall.empty() ) {
    43         os << "forall" << std::endl;
    44         printAll( forall, os, indent + 4 );
    45         os << std::string( indent+2, ' ' );
     58                os << "forall" << std::endl;
     59                printAll( forall, os, indent + 4 );
     60                os << std::string( indent+2, ' ' );
    4661    } // if
    4762    if ( tq.isConst ) {
    48         os << "const ";
     63                os << "const ";
    4964    } // if
    5065    if ( tq.isVolatile ) {
    51         os << "volatile ";
     66                os << "volatile ";
    5267    } // if
    5368    if ( tq.isRestrict ) {
    54         os << "restrict ";
     69                os << "restrict ";
    5570    } // if
    5671    if ( tq.isLvalue ) {
    57         os << "lvalue ";
     72                os << "lvalue ";
    5873    } // if
    5974    if ( tq.isAtomic ) {
    60         os << "_Atomic ";
     75                os << "_Atomic ";
    6176    } // if
    6277}
     78
     79// Local Variables: //
     80// tab-width: 4 //
     81// mode: c++ //
     82// compile-command: "make install" //
     83// End: //
Note: See TracChangeset for help on using the changeset viewer.