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 06ccbc7 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
|
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 | // AlternativePrinter.h -- |
---|
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 | |
---|
16 | #ifndef ALTERNATIVEPRINTER_H |
---|
17 | #define ALTERNATIVEPRINTER_H |
---|
18 | |
---|
19 | #include <iostream> |
---|
20 | |
---|
21 | #include "Alternative.h" |
---|
22 | #include "SymTab/Indexer.h" |
---|
23 | |
---|
24 | namespace ResolvExpr { |
---|
25 | class AlternativePrinter final : public SymTab::Indexer { |
---|
26 | public: |
---|
27 | AlternativePrinter( std::ostream &os ); |
---|
28 | |
---|
29 | using SymTab::Indexer::visit; |
---|
30 | virtual void visit( ExprStmt *exprStmt ) override; |
---|
31 | private: |
---|
32 | std::ostream &os; |
---|
33 | }; |
---|
34 | } // namespace ResolvExpr |
---|
35 | |
---|
36 | #endif // ALTERNATIVEPRINTER_H |
---|
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.