revert typeName from getCompleteString() (breaks tests), add to function dump instead
This commit is contained in:
		
							parent
							
								
									4b1dfc56b1
								
							
						
					
					
						commit
						aa4e527781
					
				| @ -2019,11 +2019,6 @@ public: | ||||
| 
 | ||||
|         // Add struct/block members
 | ||||
|         if (isStruct() && structure) { | ||||
|             if (typeName) { | ||||
|                 appendStr(" "); | ||||
|                 appendStr(typeName->c_str()); | ||||
|                 appendStr(" "); | ||||
|             } | ||||
|             appendStr("{"); | ||||
|             for (size_t i = 0; i < structure->size(); ++i) { | ||||
|                 if (! (*structure)[i].type->hiddenMember()) { | ||||
|  | ||||
| @ -216,7 +216,8 @@ void TFunction::dump(TInfoSink &infoSink, bool complete) const | ||||
|         for (int i = 0; i < numParams; i++) { | ||||
|             const TParameter ¶m = parameters[i]; | ||||
|             infoSink.debug << param.type->getCompleteString() << " " | ||||
|                            << (param.name ? param.name->c_str() : "") << (i < numParams - 1 ? "," : ""); | ||||
|                            << (param.type->isStruct() ? "of " + param.type->getTypeName() + " " : "") | ||||
|                            << (param.name ? *param.name : "") << (i < numParams - 1 ? "," : ""); | ||||
|         } | ||||
| 
 | ||||
|         infoSink.debug << ")"; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Christoph Kubisch
						Christoph Kubisch