Changeset 8d25360 for src/Parser
- Timestamp:
- Feb 13, 2019, 12:24:12 PM (7 years ago)
- Branches:
- no_list
- Children:
- 80eefcb
- Parents:
- bbbc067
- Location:
- src/Parser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/TypeData.cc
rbbbc067 r8d25360 887 887 888 888 889 NamedTypeDecl * buildSymbolic( const TypeData * td, std::vector< Attribute * >attributes, const string & name, Type::StorageClasses scs, LinkageSpec::Spec linkage ) {889 NamedTypeDecl * buildSymbolic( const TypeData * td, const std::vector< Attribute * > & attributes, const string & name, Type::StorageClasses scs, LinkageSpec::Spec linkage ) { 890 890 assert( td->kind == TypeData::Symbolic ); 891 891 NamedTypeDecl * ret; … … 947 947 948 948 949 Declaration * buildDecl( const TypeData * td, const string &name, Type::StorageClasses scs, Expression * bitfieldWidth, Type::FuncSpecifiers funcSpec, LinkageSpec::Spec linkage, Expression *asmName, Initializer * init, std::vector< Attribute * >attributes ) {949 Declaration * buildDecl( const TypeData * td, const string &name, Type::StorageClasses scs, Expression * bitfieldWidth, Type::FuncSpecifiers funcSpec, LinkageSpec::Spec linkage, Expression *asmName, Initializer * init, const std::vector< Attribute * > & attributes ) { 950 950 if ( td->kind == TypeData::Function ) { 951 951 if ( td->function.idList ) { // KR function ? -
src/Parser/TypeData.h
rbbbc067 r8d25360 130 130 TypeofType * buildTypeof( const TypeData * ); 131 131 Declaration * buildDecl( const TypeData *, const std::string &, Type::StorageClasses, Expression *, Type::FuncSpecifiers funcSpec, LinkageSpec::Spec, Expression * asmName, 132 Initializer * init = nullptr, std::vector< Attribute * >attributes = std::vector< Attribute * >() );132 Initializer * init = nullptr, const std::vector< Attribute * > & attributes = std::vector< Attribute * >() ); 133 133 FunctionType * buildFunction( const TypeData * ); 134 134 void buildKRFunction( const TypeData::Function_t & function );
Note:
See TracChangeset
for help on using the changeset viewer.