ADTast-experimentalpthread-emulationqualifiedEnum
Last change
on this file since 4b4f95f was
298fe57,
checked in by Andrew Beach <ajbeach@…>, 2 years ago
|
Translated 3/4 of validate_B. Link Reference To Types has been removed and will be translated after we know how much support we need for forall function pointers.
|
-
Property mode set to
100644
|
File size:
1.7 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 | // Validate.h -- This class is intended to perform pre-processing of declarations, validating their correctness and |
---|
8 | // computing some auxilliary data that is necessary for the indexer. |
---|
9 | // |
---|
10 | // Author : Richard C. Bilson |
---|
11 | // Created On : Sun May 17 21:53:34 2015 |
---|
12 | // Last Modified By : Peter A. Buhr |
---|
13 | // Last Modified On : Sat Jul 22 09:46:07 2017 |
---|
14 | // Update Count : 4 |
---|
15 | // |
---|
16 | |
---|
17 | #pragma once |
---|
18 | |
---|
19 | #include <list> // for list |
---|
20 | |
---|
21 | struct CodeLocation; |
---|
22 | class Declaration; |
---|
23 | class Type; |
---|
24 | |
---|
25 | namespace ast { |
---|
26 | class Type; |
---|
27 | class SymbolTable; |
---|
28 | } |
---|
29 | |
---|
30 | namespace SymTab { |
---|
31 | class Indexer; |
---|
32 | |
---|
33 | /// Normalizes struct and function declarations |
---|
34 | void validate( std::list< Declaration * > &translationUnit, bool doDebug = false ); |
---|
35 | void validateType( Type *type, const Indexer *indexer ); |
---|
36 | |
---|
37 | // Sub-passes of validate. |
---|
38 | void validate_A( std::list< Declaration * > &translationUnit ); |
---|
39 | void validate_B( std::list< Declaration * > &translationUnit ); |
---|
40 | void validate_C( std::list< Declaration * > &translationUnit ); |
---|
41 | void validate_D( std::list< Declaration * > &translationUnit ); |
---|
42 | void validate_E( std::list< Declaration * > &translationUnit ); |
---|
43 | void validate_F( std::list< Declaration * > &translationUnit ); |
---|
44 | void linkReferenceToTypes( std::list< Declaration * > &translationUnit ); |
---|
45 | |
---|
46 | const ast::Type * validateType( |
---|
47 | const CodeLocation & loc, const ast::Type * type, const ast::SymbolTable & symtab ); |
---|
48 | } // namespace SymTab |
---|
49 | |
---|
50 | // Local Variables: // |
---|
51 | // tab-width: 4 // |
---|
52 | // mode: c++ // |
---|
53 | // compile-command: "make install" // |
---|
54 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.