Changeset ce36b55 for src/main.cc


Ignore:
Timestamp:
Nov 15, 2021, 2:51:44 PM (9 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
enum, forall-pointer-decay, master, pthread-emulation
Children:
1387ea0
Parents:
5dcb881
Message:

Translation of Validate F; and some improvements in some helpers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cc

    r5dcb881 rce36b55  
    7272#include "SynTree/Visitor.h"                // for acceptAll
    7373#include "Tuples/Tuples.h"                  // for expandMemberTuples, expan...
     74#include "Validate/FindSpecialDecls.h"      // for findGlobalDecls
     75#include "Validate/InitializerLength.hpp"   // for setLengthFromInitializer
     76#include "Validate/LabelAddressFixer.hpp"   // for fixLabelAddresses
    7477#include "Virtual/ExpandCasts.h"            // for expandCasts
    7578
     
    323326                PASS( "Validate-D", SymTab::validate_D( translationUnit ) );
    324327                PASS( "Validate-E", SymTab::validate_E( translationUnit ) );
    325                 PASS( "Validate-F", SymTab::validate_F( translationUnit ) );
    326328
    327329                CodeTools::fillLocations( translationUnit );
     
    336338                        forceFillCodeLocations( transUnit );
    337339
     340                        PASS( "Set Length From Initializer", Validate::setLengthFromInitializer( transUnit ) );
     341                        PASS( "Find Global Decls", Validate::findGlobalDecls( transUnit ) );
     342                        PASS( "Fix Label Address", Validate::fixLabelAddresses( transUnit ) );
     343
    338344                        if ( symtabp ) {
    339345                                return EXIT_SUCCESS;
     
    396402                        translationUnit = convert( move( transUnit ) );
    397403                } else {
     404                        PASS( "Validate-F", SymTab::validate_F( translationUnit ) );
     405
    398406                        if ( symtabp ) {
    399407                                deleteAll( translationUnit );
Note: See TracChangeset for help on using the changeset viewer.