Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Autogen.h

    r30f9072 r6b0b624  
    1010// Created On       : Sun May 17 21:53:34 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Jun 21 17:25:26 2017
    13 // Update Count     : 14
     12// Last Modified On : Sat Jul 22 09:50:25 2017
     13// Update Count     : 15
    1414//
    1515
    16 #ifndef AUTOGEN_H
    17 #define AUTOGEN_H
     16#pragma once
    1817
    19 #include <cassert>                // for assert
    20 #include <iterator>               // for back_insert_iterator, back_inserter
    21 #include <list>                   // for list
    22 #include <string>                 // for string, operator==
    23 
    24 #include "Common/UniqueName.h"    // for UniqueName
    25 #include "InitTweak/InitTweak.h"  // for InitExpander
    26 #include "Parser/LinkageSpec.h"   // for C
    27 #include "SynTree/Constant.h"     // for Constant
    28 #include "SynTree/Declaration.h"  // for ObjectDecl, Declaration (ptr only)
    29 #include "SynTree/Expression.h"   // for UntypedExpr, NameExpr, VariableExpr
    30 #include "SynTree/Initializer.h"  // for SingleInit
    31 #include "SynTree/Label.h"        // for Label, noLabels
    32 #include "SynTree/Statement.h"    // for Statement (ptr only), CompoundStmt
    33 #include "SynTree/Type.h"         // for Type, ArrayType, Type::Qualifiers
     18#include <string>
     19#include "SynTree/Statement.h"
     20#include "SynTree/Expression.h"
     21#include "SynTree/Declaration.h"
     22#include "SynTree/Initializer.h"
     23#include "InitTweak/InitTweak.h"
    3424
    3525namespace SymTab {
     
    164154                if ( isUnnamedBitfield( obj ) ) return;
    165155
    166                 bool addCast = (fname == "?{}" || fname == "^?{}") && ( !obj || ( obj && ! obj->get_bitfieldWidth() ) );
     156                bool addCast = (fname == "?{}" || fname == "^?{}") && ( !obj || ( obj && obj->get_bitfieldWidth() == NULL ) );
    167157                std::list< Statement * > stmts;
    168158                genCall( srcParam, dstParam, fname, back_inserter( stmts ), obj->get_type(), addCast, forward );
     
    183173        }
    184174} // namespace SymTab
    185 #endif // AUTOGEN_H
     175
     176// Local Variables: //
     177// tab-width: 4 //
     178// mode: c++ //
     179// compile-command: "make install" //
     180// End: //
     181
Note: See TracChangeset for help on using the changeset viewer.