source: src/SynTree/ZeroOneType.cc @ c13b2b8

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since c13b2b8 was c0aa336, checked in by Peter A. Buhr <pabuhr@…>, 8 years ago

third attempt at gcc attributes

  • Property mode set to 100644
File size: 1.1 KB
Line 
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// VarArgsType.cc --
8//
9// Author           : Aaron B. Moss
10// Created On       : Fri Sep 16 14:08:00 2016
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Wed Feb  1 17:15:46 2017
13// Update Count     : 4
14//
15
16#include "Type.h"
17
18ZeroType::ZeroType() : Type( Type::Qualifiers(), std::list< Attribute * >() ) {}
19
20ZeroType::ZeroType( Type::Qualifiers tq, const std::list< Attribute * > & attributes ) : Type( tq, attributes ) {}
21
22void ZeroType::print( std::ostream &os, int indent ) const {
23        os << "zero_t";
24}
25
26OneType::OneType() : Type( Type::Qualifiers(), std::list< Attribute * >() ) {}
27
28OneType::OneType( Type::Qualifiers tq, const std::list< Attribute * > & attributes ) : Type( tq, attributes ) {}
29
30void OneType::print( std::ostream &os, int indent ) const {
31        os << "one_t";
32}
33
34// Local Variables: //
35// tab-width: 4 //
36// mode: c++ //
37// compile-command: "make install" //
38// End: //
Note: See TracBrowser for help on using the repository browser.