From 1102122639293331d8f5fdc61290080012554de0 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Fri, 14 Mar 2025 15:14:30 -0700 Subject: [PATCH] ThunkGen: Fixes compiling with LLVM 20 API has changed slightly. Fixes #4407 --- ThunkLibs/Generator/gen.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ThunkLibs/Generator/gen.cpp b/ThunkLibs/Generator/gen.cpp index b9199f6f7..420e9c15d 100644 --- a/ThunkLibs/Generator/gen.cpp +++ b/ThunkLibs/Generator/gen.cpp @@ -812,7 +812,11 @@ bool GenerateThunkLibsActionFactory::runInvocation(std::shared_ptr= 20 + Compiler.createDiagnostics(Compiler.getVirtualFileSystem(), DiagConsumer, false); +#else Compiler.createDiagnostics(DiagConsumer, false); +#endif if (!Compiler.hasDiagnostics()) { return false; }