Commit Graph

411 Commits

Author SHA1 Message Date
tim smith
15fc6d1b81 Modified UHT to not emit unsued #defines.
#rb joe.pribele
#preflight 63e3ae697848d5c2a7dbb257

[CL 24074831 by tim smith in ue5-main branch]
2023-02-08 12:13:52 -05:00
Tim Smith
4deeabc0b0 Removed GIsUCCMakeStandaloneHeaderGenerator since C++ UHT no longer uses engine types.
#rb steve.robb
#preflight 63e273d5786751d1e0edfa7b
#preflight 63e279731020773a3f3676ca

[CL 24050722 by Tim Smith in ue5-main branch]
2023-02-07 11:38:10 -05:00
Tim Smith
5d2e654070 Updating C++ UHT with C# UHT changes to generated include files when it only contains enums.
#rb self
#rnx
#preflight 63d96581b73528c8f7236401

[CL 23935573 by Tim Smith in ue5-main branch]
2023-01-31 15:02:52 -05:00
steve robb
4900d8a570 Replaced TModels traits class with TModels_V.
#rb devin.doucette
#preflight 63d3aabf5354589b5cd2343b

[CL 23889491 by steve robb in ue5-main branch]
2023-01-27 14:51:16 -05:00
Tim Smith
3cf40f7cff Removing engine types from C++ UHT.
C++ UHT can no longer run external script generators but can still be used to validate C# UHT.

#rb self
#preflight 63ca8cb06a00f3cc8ee8b943

[CL 23788618 by Tim Smith in ue5-main branch]
2023-01-20 07:56:59 -05:00
tim smith
f06a689088 Porting C# UHT changes for class constructor to C++ UHT
#rb self
#preflight 63b48a791c35d1cbdb4d141c

[CL 23570700 by tim smith in ue5-main branch]
2023-01-03 17:16:25 -05:00
tim smith
39a452f6c8 Ported C# UHT include changes to C++ UHT.
Removed redundant check for return value since it is covered in the loop above.

#rb self
#preflight 6393491fcf0e31f7270bf43c

[CL 23464263 by tim smith in ue5-main branch]
2022-12-09 11:21:39 -05:00
tim smith
65dd4ec6d7 Update C++ UHT to match enum changes in C# UHT
#rb self
#rnx
#preflight 6388bc61bb622e79ce2a755f

[CL 23353472 by tim smith in ue5-main branch]
2022-12-01 11:13:04 -05:00
Helge Mathee
05fdcc139d RigVM: Remove support for opaque attributes
#rb na
#jira na
#preflight https://horde.devtools.epicgames.com/job/6380cb4818176c67c25e8ecf

[CL 23286054 by Helge Mathee in ue5-main branch]
2022-11-28 02:47:25 -05:00
Helge Mathee
7190300031 UHT: Support for RigVM Lazy arguments
Ran local UHT compat checks

#rb sara.schvartzman
#jira na
#preflight https://horde.devtools.epicgames.com/job/63737c08232e3d12cbaf448a

[CL 23151631 by Helge Mathee in ue5-main branch]
2022-11-16 03:45:03 -05:00
Helge Mathee
1ecdfaec3f UHT: Fix RigVM related compat issues
#rb sara.schvartzman
#jira na
#preflight https://horde.devtools.epicgames.com/job/63721afa5368a3230a3ca9ee

[CL 23116147 by Helge Mathee in ue5-main branch]
2022-11-14 06:25:24 -05:00
Helge Mathee
74987bc740 RigVM: Move NameCaching to RigVM module
Also move base class for struct tests to RigVM module

#rb benoit.gadreau
#jira na
#preflight https://horde.devtools.epicgames.com/job/636cd909376a9cd6a8ebab24

[CL 23076572 by Helge Mathee in ue5-main branch]
2022-11-10 08:00:53 -05:00
Helge Mathee
32963f057c RigVM: Centralize use of RigVMExecuteContext
#rb halfdan.ingvarsson
#jira UE-169677
#preflight https://horde.devtools.epicgames.com/job/636cc3b24d3c1d9d92868927

[CL 23073598 by Helge Mathee in ue5-main branch]
2022-11-10 04:36:01 -05:00
Tim Smith
14f3d06485 Fixed infinite loop in C++ UHT recursive include checks.
#rb self
#preflight 63692310450be1d9f8df8c5e

[CL 23011260 by Tim Smith in ue5-main branch]
2022-11-07 10:47:13 -05:00
tim smith
9bd4a477e6 Updated C++ UHT to match C# UHT global delegate changes
#rb self
#preflight 6362769454471d10beef033e

[CL 22919817 by tim smith in ue5-main branch]
2022-11-02 12:52:47 -04:00
sara schvartzman
c5af22e8a9 Control Rig: Fix TEnumAsByte not casting correctly in the generated headers
#jira UE-168624
#udn 00490176
#rb helge.mathee
#preflight https://horde.devtools.epicgames.com/job/635d5ca1df01edd149436805

[CL 22858512 by sara schvartzman in ue5-main branch]
2022-10-31 07:55:49 -04:00
joe kirchoff
6f4454f093 UnrealHeaderTool: Remove unused code in CodeGenerator.cpp
#rnx
#rb trivial

[CL 22823603 by joe kirchoff in ue5-main branch]
2022-10-28 00:34:33 -04:00
henrik karlsson
612995dbd2 [UHT]
* Moved event parameter structs to .gen.cpp

#preflight 634a36853c37eed481a7dbfe
#rb none

[CL 22549036 by henrik karlsson in ue5-main branch]
2022-10-15 13:02:39 -04:00
henrik karlsson
d40f9ed519 [UHT]
* Fixed so SparseClassDataType code generation is not inlined. This makes it possible to forward declare the type used for sparse class data

#preflight 6349aa0bce524ed356fb134b
#rb tim.smith

[CL 22547737 by henrik karlsson in ue5-main branch]
2022-10-15 02:09:15 -04:00
Ryan Gerleve
acc1553813 Changes to allow compiling engine modules with Iris replication code by default, and link against modules/projects that don't depend on Iris.
ModuleRules.SetupIrisSupport defines a new macro to enable or disable the Iris fast array bindings for a module, added UHT support for this. This allows the dependency on the Iris bindings to be compiled out of modules that don't need it and still link with Iris-enabled modules.
Iris plugin disabled by default, should be enabled for specific projects that use it.

#jira UE-160209
#rb mattias.hornlund, peter.engstrom
#preflight 6346fd2cfa31324bb153b63b

[CL 22482725 by Ryan Gerleve in ue5-main branch]
2022-10-12 14:28:30 -04:00
bryan sefcik
8e86bfa25f Added a IWYU pragma to the generated header so IWYU doesn't add the generated headers. They need to be added manually because there should only be one generated header included per header file.
#jira
#preflight 6335f761a852bd922c02588b

[CL 22264266 by bryan sefcik in ue5-main branch]
2022-09-30 01:41:29 -04:00
tim smith
d97581da03 Fix wrong API macro being used in C# UHT
Cleaned up formatting in both C++ and C# UHT

#rb self
#preflight 632b37b21003050806ec9f3a

[CL 22140411 by tim smith in ue5-main branch]
2022-09-22 14:05:55 -04:00
henrik karlsson
19e2368228 [UHT]
* Fixed so dll export is added to GetLifetimeReplicatedProps
* Fixed so UFUNCTION that produce _Validate function adds dll export if class is not dll exported but function is

#preflight 632a522cb40000c8f099fccb
#rb Tim.Smith

[CL 22110139 by henrik karlsson in ue5-main branch]
2022-09-21 07:33:55 -04:00
Devin Doucette
af02fca022 Fixed unsafe type casts in UHT
#preflight 630d013af92416fb926b3c7a
#rb Bryan.Sefcik
#rnx

[CL 21686635 by Devin Doucette in ue5-main branch]
2022-08-29 15:56:30 -04:00
tim smith
84d854bb90 Updated C# UHT with the destructor changes and making a minor fix to the formatting.
#rb self
#preflight 6307a3632a56ec23c843da3b

[CL 21585155 by tim smith in ue5-main branch]
2022-08-26 01:46:39 -04:00