Skip to content

Commit c12afed

Browse files
updated clang llvm version to v20 (JeanPhilippeKernel#460)
1 parent e34f808 commit c12afed

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Before building, make sure your setup is correct :
2626
- Install [Python](https://www.python.org/ftp/python/3.12.4/python-3.12.4-amd64.exe)
2727
- Install [CMake](https://cmake.org/download/) 3.20 or later.
2828
- Install [DOTNET SDK 8](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) as a VS Build Tool component (if using a standalone implementation, you might need to create a symlink between your custom installation location and the expected location: `C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Sdks\Microsoft.NET.Sdk\Sdk`)
29-
- Install [LLVM](https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.8/LLVM-18.1.8-win64.exe)
29+
- Install [LLVM](https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.7/LLVM-20.1.7-win64.exe)
3030

3131

3232
### Setup macOS machine
@@ -59,7 +59,7 @@ Before building, make sure your setup is correct :
5959
- Install ClangFormat through Homebrew:
6060
```bash
6161
brew update
62-
brew install clang-format@18
62+
brew install llvm@20
6363
```
6464

6565
## Building the engine & launcher

ZEngine/ZEngine/Logging/Logger.cpp

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ namespace ZEngine::Logging
6666
auto handlers_view = handlers.view();
6767
for (const auto& handler : handlers_view)
6868
{
69-
handler.second(LogMessage{
69+
handler.second(
70+
LogMessage{
7071
.Color = {0.0f, 1.0f, 0.0f, 1.0f},
7172
.Message = msg
7273
});
@@ -89,7 +90,8 @@ namespace ZEngine::Logging
8990
auto handlers_view = handlers.view();
9091
for (const auto& handler : handlers_view)
9192
{
92-
handler.second(LogMessage{
93+
handler.second(
94+
LogMessage{
9395
.Color = {0.5f, 0.5f, 0.5f, 1.0f},
9496
.Message = msg
9597
});
@@ -112,7 +114,8 @@ namespace ZEngine::Logging
112114
auto handlers_view = handlers.view();
113115
for (const auto& handler : handlers_view)
114116
{
115-
handler.second(LogMessage{
117+
handler.second(
118+
LogMessage{
116119
.Color = {1.0f, 0.5f, 0.0f, 1.0f},
117120
.Message = msg
118121
});
@@ -135,7 +138,8 @@ namespace ZEngine::Logging
135138
auto handlers_view = handlers.view();
136139
for (const auto& handler : handlers_view)
137140
{
138-
handler.second(LogMessage{
141+
handler.second(
142+
LogMessage{
139143
.Color = {1.0f, 0.0f, 0.0f, 1.0f},
140144
.Message = msg
141145
});
@@ -158,7 +162,8 @@ namespace ZEngine::Logging
158162
auto handlers_view = handlers.view();
159163
for (const auto& handler : handlers_view)
160164
{
161-
handler.second(LogMessage{
165+
handler.second(
166+
LogMessage{
162167
.Color = {1.0f, 0.0f, 1.0f, 1.0f},
163168
.Message = msg
164169
});

ZEngine/ZEngine/ZEngineDef.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
if (!(condition)) \
2929
{ \
3030
ZENGINE_CORE_CRITICAL(message) \
31-
assert(condition&& message); \
31+
assert(condition && message); \
3232
ZENGINE_DEBUG_BREAK() \
3333
} \
3434
}

repoConfiguration.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"Url": "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
2121
},
2222
"LLVM": {
23-
"Version": "18.1.8",
24-
"MaximumVersion": "18.2.1"
23+
"Version": "20.1.7",
24+
"MaximumVersion": "20.2.0"
2525
}
2626
}
2727
}

0 commit comments

Comments
 (0)