ADTast-experimentalenumpthread-emulationqualifiedEnum
Last change
on this file since 11a1240 was
f7496c5,
checked in by Andrew Beach <ajbeach@…>, 3 years ago
|
class -> struct, silences a warning.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[f57faf6f] | 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 | // CodeLocationTools.hpp -- Additional tools for code locations. |
---|
| 8 | // |
---|
| 9 | // Author : Andrew Beach |
---|
| 10 | // Created On : Fri Dec 4 15:35:00 2020 |
---|
| 11 | // Last Modified By : Andrew Beach |
---|
[33b7d49] | 12 | // Last Modified On : Mon Mar 14 15:14:00 2022 |
---|
| 13 | // Update Count : 2 |
---|
[f57faf6f] | 14 | // |
---|
| 15 | |
---|
| 16 | #pragma once |
---|
| 17 | |
---|
[f7496c5] | 18 | struct CodeLocation; |
---|
[f57faf6f] | 19 | namespace ast { |
---|
[33b7d49] | 20 | class Node; |
---|
[1f7dc61] | 21 | class TranslationUnit; |
---|
[f57faf6f] | 22 | } |
---|
| 23 | |
---|
[364a03c] | 24 | // Search the translation unit for unset code locations and print information |
---|
| 25 | // on them, and where the check was run if provided. Abort if any unset code |
---|
| 26 | // locations are found. |
---|
[f57faf6f] | 27 | void checkAllCodeLocations( ast::TranslationUnit const & unit ); |
---|
[364a03c] | 28 | void checkAllCodeLocations( char const *, ast::TranslationUnit const & ); |
---|
[f57faf6f] | 29 | |
---|
| 30 | // Assign a nearby code-location to any unset code locations in the forest. |
---|
| 31 | void forceFillCodeLocations( ast::TranslationUnit & unit ); |
---|
[33b7d49] | 32 | |
---|
| 33 | // Fill in code-locations with a parent code location, |
---|
| 34 | // using the provided CodeLocation as the base. |
---|
| 35 | ast::Node const * |
---|
| 36 | localFillCodeLocations( CodeLocation const &, ast::Node const * ); |
---|
Note: See
TracBrowser
for help on using the repository browser.