Commit Graph

862 Commits

Author SHA1 Message Date
tim smith
c75a26e0fe Refactor C++ UHT first stage comment stripping to avoid a bug not found in C# UHT.
#rb self
#rnx
#preflight 6408e3508832f48a4dbc5a30

[CL 24567268 by tim smith in ue5-main branch]
2023-03-08 16:38:26 -05:00
tim smith
737f4d42eb Fixing compile issue in C++ UHT
#rb self
#rnx
#preflight none

[CL 24501352 by tim smith in ue5-main branch]
2023-03-03 12:42:32 -05:00
tim smith
1d9b5eced2 Updating C++ UHT to match recent changes to C# UHT
#rb self
#rnx
#preflight 6402066da20ddf1bf4b3e7d0

[CL 24500162 by tim smith in ue5-main branch]
2023-03-03 11:39:14 -05:00
tim smith
98fa4b0797 Add support for parsing nested templates in getter/setter methods in C++ UHT.
#rb self
#preflight 63f8c1d5dd78dd50f66fa2cd

[CL 24400829 by tim smith in ue5-main branch]
2023-02-24 10:20:48 -05:00
christopher waters
6a4206d490 Removing bad Launch include paths from programs.
[CL 24328631 by christopher waters in ue5-main branch]
2023-02-20 17:39:13 -05:00
tim smith
ae8b29552e Added ability in UHT for arrays to be sized using static_cast.
#rb self
#jira UE-169995
#9789
#preflight 63efbfe313586f2c1025bd26

[CL 24289519 by tim smith in ue5-main branch]
2023-02-17 15:29:25 -05:00
tim smith
8e8d27fcfb Fixed C#/C++ UHT to allow functions with parameters in WITH_EDITORONLY_DATA blocks.
#rb matt.peters
#preflight 63ed0b78b96a6b2718ba6e51

[CL 24251747 by tim smith in ue5-main branch]
2023-02-16 01:58:07 -05:00
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
5a2a0dfb29 Fixed issue in C++ UHT with the C# UHT enum change.
#rb self
#rnx
#preflight 63d95eb88505ea6b1fade1c6

[CL 23938840 by tim smith in ue5-main branch]
2023-01-31 17:05:24 -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
Tim Smith
7882e850ad Removed FNAME_WRITE_PROTECT_PAGES=0 from target definitions
#rb self
#rnx
#preflight 63d7e1a85c69f453c1036967

[CL 23907730 by Tim Smith in ue5-main branch]
2023-01-30 10:40:38 -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
b8ba7e3884 Change mention of "UnrealHeaderTool" to "This app" in comment.
#rb self
#rnx
#preflight 63c57ab02e714f64ade3bbab

[CL 23730156 by Tim Smith in ue5-main branch]
2023-01-16 11:43:11 -05:00
dan oconnor
ed1ffa4216 Add UPARAM(Required) markup for marking function parameters as required (must be linked to some other node in a Blueprint) - example usage:
UFUNCTION(BlueprintCallable)
static void TestRequiredIntParameter(UPARAM(Required) int32 Value);

Useful for marking pointer params as required so they are not null by default, but also applicable to complex types with custom make nodes

#jira
#rb Jordan.Hoffmann
#preflight 63b89fff763c6c10645b94c4

[CL 23604737 by dan oconnor in ue5-main branch]
2023-01-06 17:49:02 -05:00
Tim Smith
545c7a3421 Modified C++ UHT to not do super class testing on native interfaces when the interface does not being with an 'I'.
#rb self
#preflight 63b5d899592c1a9d7ca2f1ef

[CL 23579333 by Tim Smith in ue5-main branch]
2023-01-04 15:05:13 -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
dd169bf736 Fixed issue where UHT didn't properly detect circular structure definitions via TArray.
#rb devin.doucette
#jira UE-171886
#preflight 638e286b5c5308d18c80292f

[CL 23396143 by tim smith in ue5-main branch]
2022-12-05 14:03: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
1a2e6285a6 C++ UHT: Allow True and False as identifiers for variables
This is already supported by the new header tool.

#rb benoit.gadreau
#jira na
#preflight https://horde.devtools.epicgames.com/job/637f20598b12eb83a75d8207
#fyi tim.smith

[CL 23257086 by Helge Mathee in ue5-main branch]
2022-11-24 04:13:12 -05:00
tim smith
0a2f2958b2 Fixed C# UHT to properly generate an error when a function's argument name shadows a property in the class or super classes.
Fixed C++ UHT to no longer check for parameter name shadowing for delegates.

#rb self
#preflight https://horde.devtools.epicgames.com/job/6375290d232e3d12cb4474dc

[CL 23160122 by tim smith in ue5-main branch]
2022-11-16 15:00:59 -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