Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Validate.cc

    rbcda04c r6f95000  
    4343#include "Common/utility.h"
    4444#include "Common/UniqueName.h"
    45 #include "Concurrency/Keywords.h"
    4645#include "Validate.h"
    4746#include "SynTree/Visitor.h"
     
    225224                HoistStruct::hoistStruct( translationUnit );
    226225                ReturnTypeFixer::fix( translationUnit ); // must happen before autogen
    227                 acceptAll( translationUnit, lrt ); // must happen before autogen, because sized flag needs to propagate to generated functions
    228                 Concurrency::applyKeywords( translationUnit );
    229226                autogenerateRoutines( translationUnit ); // moved up, used to be below compoundLiteral - currently needs EnumAndPointerDecayPass
    230                 Concurrency::implementMutexFuncs( translationUnit );
    231                 Concurrency::implementThreadStarter( translationUnit );
    232227                acceptAll( translationUnit, epc );
     228                acceptAll( translationUnit, lrt );
    233229                ReturnChecker::checkFunctionReturns( translationUnit );
    234230                compoundliteral.mutateDeclarationList( translationUnit );
     
    844840                assertf( retVals.size() == 0 || retVals.size() == 1, "Function %s has too many return values: %d", functionDecl->get_name().c_str(), retVals.size() );
    845841                if ( retVals.size() == 1 ) {
    846                         // ensure all function return values have a name - use the name of the function to disambiguate (this also provides a nice bit of help for debugging).
    847                         // ensure other return values have a name.
     842                        // ensure all function return values have a name - use the name of the function to disambiguate (this also provides a nice bit of help for debugging)
     843                        // ensure other return values have a name
    848844                        DeclarationWithType * ret = retVals.front();
    849845                        if ( ret->get_name() == "" ) {
Note: See TracChangeset for help on using the changeset viewer.