source: src/SynTree/VarArgsType.cc @ 809e058

ADTast-experimental
Last change on this file since 809e058 was 50377a4, checked in by Rob Schluntz <rschlunt@…>, 7 years ago

Refactor tree print code to use Indenter

  • Property mode set to 100644
File size: 1.0 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       : Thu Feb 25 16:34:00 2016
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Wed Feb  1 17:14:48 2017
13// Update Count     : 4
14//
15
16#include <list>     // for list
17#include <ostream>  // for operator<<, ostream
18
19#include "Type.h"   // for Type, VarArgsType, Type::Qualifiers
20
21class Attribute;
22
23VarArgsType::VarArgsType() : Type( Type::Qualifiers(), std::list< Attribute * >() ) {}
24
25VarArgsType::VarArgsType( Type::Qualifiers tq, const std::list< Attribute * > & attributes ) : Type( tq, attributes ) {}
26
27void VarArgsType::print( std::ostream &os, Indenter indent ) const {
28        Type::print( os, indent );
29        os << "builtin var args pack";
30}
31
32// Local Variables: //
33// tab-width: 4 //
34// mode: c++ //
35// compile-command: "make install" //
36// End: //
Note: See TracBrowser for help on using the repository browser.