source: src/SynTree/VarArgsType.cc @ bf4b4cf

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 bf4b4cf was 50377a4, checked in by Rob Schluntz <rschlunt@…>, 6 years ago

Refactor tree print code to use Indenter

  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[44b7088]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
[8f610e85]11// Last Modified By : Peter A. Buhr
[c0aa336]12// Last Modified On : Wed Feb  1 17:14:48 2017
13// Update Count     : 4
[44b7088]14//
15
[ea6332d]16#include <list>     // for list
17#include <ostream>  // for operator<<, ostream
18
19#include "Type.h"   // for Type, VarArgsType, Type::Qualifiers
20
21class Attribute;
[44b7088]22
[c0aa336]23VarArgsType::VarArgsType() : Type( Type::Qualifiers(), std::list< Attribute * >() ) {}
[44b7088]24
[c0aa336]25VarArgsType::VarArgsType( Type::Qualifiers tq, const std::list< Attribute * > & attributes ) : Type( tq, attributes ) {}
[540ddb7d]26
[50377a4]27void VarArgsType::print( std::ostream &os, Indenter indent ) const {
[44b7088]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.