1) Removed the need to create a UScriptStruct to test to see if it has a NoOp constructor.

2) Added a quick method to query the deferred CppStructOps until we decide on a long term solution
3) Added method to test to see if a source file is the NoExports include file.

#rb none
#rnx
#preflight 60f6c42f25c166000152cbdc

[CL 16895867 by Tim Smith in ue5-main branch]
This commit is contained in:
Tim Smith
2021-07-20 09:30:11 -04:00
parent bcc86fbe50
commit bb9a97a14d
6 changed files with 37 additions and 10 deletions

View File

@@ -3438,7 +3438,7 @@ void FHeaderParser::GetVarType(
}
else if (VarType.IsValue(TEXT("FLargeWorldCoordinatesReal"), ESearchCase::CaseSensitive)) // LWC_TODO: Remove with UE_LARGE_WORLD_COORDINATES_DISABLED toggle.
{
if (!SourceFile.GetFilename().EndsWith(TEXT("NoExportTypes.h")))
if (!SourceFile.IsNoExportTypes())
{
Throwf(TEXT("FLargeWorldCoordinatesReal is intended for LWC support only and should not be used outside of NoExportTypes.h"));
}