ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since dcf1979 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
|
Rev | Line | |
---|
[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 | |
---|
| 21 | class Attribute; |
---|
[44b7088] | 22 | |
---|
[c0aa336] | 23 | VarArgsType::VarArgsType() : Type( Type::Qualifiers(), std::list< Attribute * >() ) {} |
---|
[44b7088] | 24 | |
---|
[c0aa336] | 25 | VarArgsType::VarArgsType( Type::Qualifiers tq, const std::list< Attribute * > & attributes ) : Type( tq, attributes ) {} |
---|
[540ddb7d] | 26 | |
---|
[50377a4] | 27 | void 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.