ADTast-experimentalenumpthread-emulationqualifiedEnum
Last change
on this file since 5f53cc3 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
|
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 | // 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 |
---|
12 | // Last Modified On : Mon Mar 14 15:14:00 2022 |
---|
13 | // Update Count : 2 |
---|
14 | // |
---|
15 | |
---|
16 | #pragma once |
---|
17 | |
---|
18 | struct CodeLocation; |
---|
19 | namespace ast { |
---|
20 | class Node; |
---|
21 | class TranslationUnit; |
---|
22 | } |
---|
23 | |
---|
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. |
---|
27 | void checkAllCodeLocations( ast::TranslationUnit const & unit ); |
---|
28 | void checkAllCodeLocations( char const *, ast::TranslationUnit const & ); |
---|
29 | |
---|
30 | // Assign a nearby code-location to any unset code locations in the forest. |
---|
31 | void forceFillCodeLocations( ast::TranslationUnit & unit ); |
---|
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.