ast-experimental
Last change
on this file since 8463136 was
9939dc3,
checked in by Andrew Beach <ajbeach@…>, 2 years ago
|
Reduced the number of object files linked into the demangler. Some of the divisions are rather odd, Lvalue2 and FixMain2, but they should be a better base to work from. Also improved the calling of the impurity detector visitors slightly.
|
-
Property mode set to
100644
|
File size:
740 bytes
|
Rev | Line | |
---|
[9939dc3] | 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 | // BaseSyntaxNode.cc -- |
---|
| 8 | // |
---|
| 9 | // Author : Andrew Beach |
---|
| 10 | // Created On : Fri May 13 13:58:00 2022 |
---|
| 11 | // Last Modified By : Andrew Beach |
---|
| 12 | // Last Modified On : Fri May 13 14:01:00 2022 |
---|
| 13 | // Update Count : 0 |
---|
| 14 | // |
---|
| 15 | |
---|
| 16 | #include "BaseSyntaxNode.h" |
---|
| 17 | |
---|
| 18 | std::ostream & operator<<( std::ostream & out, const BaseSyntaxNode * node ) { |
---|
| 19 | if ( node ) { |
---|
| 20 | node->print( out ); |
---|
| 21 | } else { |
---|
| 22 | out << "nullptr"; |
---|
| 23 | } |
---|
| 24 | return out; |
---|
| 25 | } |
---|
| 26 | |
---|
| 27 | // Local Variables: // |
---|
| 28 | // tab-width: 4 // |
---|
| 29 | // mode: c++ // |
---|
| 30 | // compile-command: "make install" // |
---|
| 31 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.