mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-10-31 06:50:53 -07:00 
			
		
		
		
	Backporting changes done on UnrealGencpp repo
Commits: ec77e8b - Fixes while parsing EditorEngine.h 5017429 - parse_complicated_definition fix when parsing Controller.h aac0dd5 - Add IRISCORE_API 049b59c - Support for attributes retated to an operator or function between the return type and the identifier/op (Thanks World.h...) 97d7e6d - Fix for attributes after name in using statements 9f204e7 - Support for final specifier on class & struct definitions f0698cc - Added support for Spec_Delete (= delete on functions and operators) [Part 3] 1f6650a - Added support for Spec_Delete (= delete on functions and operators) [Part 2] 06ac8da - Added support for Spec_Delete (= delete on functions and operators)
This commit is contained in:
		| @@ -33,6 +33,7 @@ enum Specifier : u32 | ||||
| 	Spec_NoExceptions, | ||||
| 	Spec_Override, | ||||
| 	Spec_Pure, | ||||
| 	Spec_Delete, | ||||
| 	Spec_Volatile, | ||||
| 	Spec_NumSpecifiers, | ||||
| 	Spec_UnderlyingType = 0xffffffffu | ||||
| @@ -67,6 +68,7 @@ inline Str spec_to_str(Specifier type) | ||||
| 		{ "noexcept",      sizeof("noexcept") - 1      }, | ||||
| 		{ "override",      sizeof("override") - 1      }, | ||||
| 		{ "= 0",           sizeof("= 0") - 1           }, | ||||
| 		{ "= delete",      sizeof("= delete") - 1      }, | ||||
| 		{ "volatile",      sizeof("volatile") - 1      }, | ||||
| 	}; | ||||
| 	return lookup[type]; | ||||
| @@ -81,6 +83,7 @@ inline bool spec_is_trailing(Specifier specifier) | ||||
| 		case Spec_NoExceptions: | ||||
| 		case Spec_Override: | ||||
| 		case Spec_Pure: | ||||
| 		case Spec_Delete: | ||||
| 		case Spec_Volatile: | ||||
| 			return true; | ||||
| 		default: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user