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 d49bfa8 was
bf2438c,
checked in by Thierry Delisle <tdelisle@…>, 7 years ago
|
Cleaned-up some headers using a tool called 'include-what-you-use'
|
-
Property mode set to
100644
|
File size:
1.1 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 |
---|
| 11 | // Last Modified By : Andrew Beach |
---|
| 12 | // Last Modified On : Wed May 3 14:42:00 2017 |
---|
| 13 | // Update Count : 0 |
---|
| 14 | // |
---|
| 15 | |
---|
| 16 | #ifndef TRACKLOC_H |
---|
| 17 | #define TRACKLOC_H |
---|
| 18 | |
---|
[bf2438c] | 19 | #include <cstddef> // for size_t |
---|
| 20 | #include <list> // for list |
---|
| 21 | |
---|
| 22 | class Declaration; |
---|
[dba6db9] | 23 | |
---|
| 24 | namespace CodeTools { |
---|
| 25 | |
---|
| 26 | /// Fill in an approximate CodeLocation for each syntax node. |
---|
| 27 | // printLevel: how much printing while filling in the node locations. |
---|
| 28 | // 0 - No Printing, 1 - Print Location, 2 - Print Node Type and Location |
---|
[13932f14] | 29 | void fillLocations( std::list< Declaration * > &translationUnit, size_t printLevel = 0 ); |
---|
[dba6db9] | 30 | |
---|
| 31 | } // namespace CodeTools |
---|
| 32 | |
---|
| 33 | #endif // TRACKLOC_H |
---|
| 34 | |
---|
| 35 | // Local Variables: // |
---|
| 36 | // tab-width: 4 // |
---|
| 37 | // mode: c++ // |
---|
| 38 | // compile-command: "make install" // |
---|
| 39 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.