Removed -Wsequence-point (Synonym for -Wunsequenced) from Linux as it is enabled by default
#rb none
#rnx
#preflight 62841106114e08fa2f3ebdfe
[CL 20251810 by joe kirchoff in ue5-main branch]
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Merging common clang warnings to ClangToolChain base class. Moved all warnings to overridden functions out of GetCompileArguments_Global
Removed -Wsequence-point (Synonym for -Wunsequenced) from Linux as it is enabled by default
#rb none
#rnx
#preflight 6283e6e04316db80d1a3d973
[CL 20249554 by joe kirchoff in ue5-main branch]
Removed -Wsequence-point (Synonym for -Wunsequenced) from Linux as it is enabled by default
#rb none
#rnx
#preflight 6283e6e04316db80d1a3d973
[CL 20248654 by Joe Kirchoff in ue5-main branch]
#rb brandon.schaefer
#rb chris.babcock
#preflight 627ad0017e5f24d1ede6d5d0
#preflight 627ada7a0a5817c9d91562c0
#rnx
* Move ClangVersion variables to base class and share function to check version. A separate change will add a virtual function for parsing the clang version for each toolchain as to not add complexity to this change.
* GetCppStandardCompileArgument: Used by all, no differences
* GetCompileArguments_CPP: Used by all. Switch & Apple are overridden
* GetCompileArguments_C: Used by all, no differences
* GetCompileArguments_MM: Used by Linux & Apple. Apple is overridden.
* GetCompileArguments_M: Used by Linux & Apple. Apple is overridden.
* GetCompileArguments_CPP: Used by all. Switch & Apple are overridden.
* GetRTTIFlag: Used by Linux & Apple, no differences.
[CL 20131754 by Joe Kirchoff in ue5-main branch]
#rb jonathan.adamczewski
#preflight 626984b40d4ac78d717f075b
Initial testing has shown this PCH flag improves clang compile time by up to 20%
This flag is the default for clang-cl so it already applies to windows clang builds. Other clang based platforms will be supported as additional testing is done.
https://reviews.llvm.org/D69585
Linux UnrealEditor Development:
- Before Total CPU Time: 114072.34375 s
- Before UBT Run Time: 00:26:05
- After Total CPU Time: 86165.671875 s
- After UBT Run Time: 00:20:43
Total CPU Time improvement 24.46%
UBT Run Time improvement 20.58%
Linux UnrealGame Development:
- Before Total CPU Time: 23445.140625 s
- Before UBT Run Time: 00:09:13
- After Total CPU Time: 18492.71875 s
- After UBT Run Time: 00:07:52
Total CPU Time improvement 21.12%
UBT Run Time improvement 13.56%
[CL 19943838 by Joe Kirchoff in ue5-main branch]
This flag validates pch inputs using content only when the mtime check fails, allowing the build to not fail if the content does not actually differ.
#rb jonathan.adamczewski
#rnx
#preflight 6268708c820fbeb9a434bc28
[CL 19931628 by Joe Kirchoff in ue5-main branch]