source: src/Common/CodeLocationTools.hpp @ 1a2a49b

arm-ehenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-expr
Last change on this file since 1a2a49b was 364a03c, checked in by Andrew Beach <ajbeach@…>, 17 months ago

Added more information to checkAllCodeLocations.

  • Property mode set to 100644
File size: 969 bytes
RevLine 
[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
[364a03c]12// Last Modified On : Wed Dec  9  9:53:00 2020
13// Update Count     : 1
[f57faf6f]14//
15
16#pragma once
17
18namespace ast {
19        struct TranslationUnit;
20}
21
[364a03c]22// Search the translation unit for unset code locations and print information
23// on them, and where the check was run if provided. Abort if any unset code
24// locations are found.
[f57faf6f]25void checkAllCodeLocations( ast::TranslationUnit const & unit );
[364a03c]26void checkAllCodeLocations( char const *, ast::TranslationUnit const & );
[f57faf6f]27
28// Assign a nearby code-location to any unset code locations in the forest.
29void forceFillCodeLocations( ast::TranslationUnit & unit );
Note: See TracBrowser for help on using the repository browser.