source: src/SymTab/Validate.h @ c8e4d2f8

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since c8e4d2f8 was c8e4d2f8, checked in by Aaron Moss <a3moss@…>, 5 years ago

Start porting CastExpr? resolution

  • Property mode set to 100644
File size: 1.1 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
21class Declaration;
22class Type;
23
24namespace ast {
25        class Type;
26        class SymbolTable;
27}
28
29namespace SymTab {
30        class Indexer;
31
32        /// Normalizes struct and function declarations
33        void validate( std::list< Declaration * > &translationUnit, bool doDebug = false );
34        void validateType( Type *type, const Indexer *indexer );
35
36        const ast::Type * validateType( const ast::Type * type, const ast::SymbolTable & symtab );
37} // namespace SymTab
38
39// Local Variables: //
40// tab-width: 4 //
41// mode: c++ //
42// compile-command: "make install" //
43// End: //
Note: See TracBrowser for help on using the repository browser.