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 fa2de95 was
62e5546,
checked in by Thierry Delisle <tdelisle@…>, 8 years ago
|
Removed warnings when compiling with clang
|
-
Property mode set to
100644
|
File size:
981 bytes
|
Rev | Line | |
---|
[a32b204] | 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 | // |
---|
[62e5546] | 7 | // AlternativePrinter.h -- |
---|
[a32b204] | 8 | // |
---|
| 9 | // Author : Richard C. Bilson |
---|
| 10 | // Created On : Sun May 17 06:55:43 2015 |
---|
| 11 | // Last Modified By : Peter A. Buhr |
---|
| 12 | // Last Modified On : Sun May 17 06:57:12 2015 |
---|
| 13 | // Update Count : 3 |
---|
| 14 | // |
---|
| 15 | |
---|
[d9a0e76] | 16 | #ifndef ALTERNATIVEPRINTER_H |
---|
| 17 | #define ALTERNATIVEPRINTER_H |
---|
[51b7345] | 18 | |
---|
| 19 | #include <iostream> |
---|
| 20 | |
---|
| 21 | #include "Alternative.h" |
---|
| 22 | #include "SymTab/Indexer.h" |
---|
| 23 | |
---|
| 24 | namespace ResolvExpr { |
---|
[62e5546] | 25 | class AlternativePrinter final : public SymTab::Indexer { |
---|
[a32b204] | 26 | public: |
---|
| 27 | AlternativePrinter( std::ostream &os ); |
---|
[62e5546] | 28 | |
---|
| 29 | using SymTab::Indexer::visit; |
---|
| 30 | virtual void visit( ExprStmt *exprStmt ) override; |
---|
[a32b204] | 31 | private: |
---|
| 32 | std::ostream &os; |
---|
| 33 | }; |
---|
[51b7345] | 34 | } // namespace ResolvExpr |
---|
| 35 | |
---|
[d9a0e76] | 36 | #endif // ALTERNATIVEPRINTER_H |
---|
[a32b204] | 37 | |
---|
| 38 | // Local Variables: // |
---|
| 39 | // tab-width: 4 // |
---|
| 40 | // mode: c++ // |
---|
| 41 | // compile-command: "make install" // |
---|
| 42 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.