ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 9151fcb was
7cc0344,
checked in by Andrew Beach <ajbeach@…>, 5 years ago
|
Added a checker that should help debug cycles in new AST.
|
-
Property mode set to
100644
|
File size:
751 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 | // AssertAcyclic.hpp -- Check that ast::ptr does not form a cycle. |
---|
8 | // |
---|
9 | // Author : Andrew Beach |
---|
10 | // Created On : Thr May 6 15:00:00 2019 |
---|
11 | // Last Modified By : Andrew Beach |
---|
12 | // Last Modified On : Thr May 6 15:00:00 2019 |
---|
13 | // Update Count : 0 |
---|
14 | // |
---|
15 | |
---|
16 | #pragma once |
---|
17 | |
---|
18 | #include <list> |
---|
19 | |
---|
20 | #include "Node.hpp" |
---|
21 | namespace ast { |
---|
22 | class Decl; |
---|
23 | }; |
---|
24 | |
---|
25 | namespace ast { |
---|
26 | |
---|
27 | void assertAcyclic( const std::list< ast::ptr< ast::Decl > > translationUnit ); |
---|
28 | |
---|
29 | } |
---|
30 | |
---|
31 | // Local Variables: // |
---|
32 | // tab-width: 4 // |
---|
33 | // mode: c++ // |
---|
34 | // compile-command: "make install" // |
---|
35 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.