ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since b982fb2 was
6b0b624,
checked in by Peter A. Buhr <pabuhr@…>, 7 years ago
|
change #ifndef to #pragma once
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[dba6db9] | 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 | // TrackLoc.h -- Track CodeLocation information in a translation unit's declarations. |
---|
| 8 | // |
---|
| 9 | // Author : Andrew Beach |
---|
| 10 | // Created On : Tues May 2 15:40:00 2017 |
---|
[6b0b624] | 11 | // Last Modified By : Peter A. Buhr |
---|
| 12 | // Last Modified On : Fri Jul 21 22:17:44 2017 |
---|
| 13 | // Update Count : 1 |
---|
[dba6db9] | 14 | // |
---|
| 15 | |
---|
[6b0b624] | 16 | #pragma once |
---|
[dba6db9] | 17 | |
---|
[bf2438c] | 18 | #include <cstddef> // for size_t |
---|
| 19 | #include <list> // for list |
---|
| 20 | |
---|
| 21 | class Declaration; |
---|
[dba6db9] | 22 | |
---|
| 23 | namespace CodeTools { |
---|
| 24 | |
---|
| 25 | /// Fill in an approximate CodeLocation for each syntax node. |
---|
| 26 | // printLevel: how much printing while filling in the node locations. |
---|
| 27 | // 0 - No Printing, 1 - Print Location, 2 - Print Node Type and Location |
---|
[13932f14] | 28 | void fillLocations( std::list< Declaration * > &translationUnit, size_t printLevel = 0 ); |
---|
[dba6db9] | 29 | |
---|
| 30 | } // namespace CodeTools |
---|
| 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.