Skip to content

Commit

Permalink
Update LLVM version to 19.1.2 and fix code formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
magic-akari committed Oct 16, 2024
1 parent d2f4c7d commit 5e3ff45
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "MinSizeRel")
endif()

set(LLVM_VERSION "19.1.0")
set(LLVM_VERSION "19.1.2")

FetchContent_Declare(llvm_project
URL "https://github.com/llvm/llvm-project/releases/download/llvmorg-${LLVM_VERSION}/llvm-project-${LLVM_VERSION}.src.tar.xz"
URL_HASH SHA256=5042522b49945bc560ff9206f25fb87980a9b89b914193ca00d961511ff0673c
URL_HASH SHA256=3666f01fc52d8a0b0da83e107d74f208f001717824be0b80007f529453aa1e19
TLS_VERIFY TRUE
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
)
Expand Down
4 changes: 2 additions & 2 deletions test_data/main.cs.snap
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ public class Button : ContentControl, ICommandSource, IClickableControl {

if (change.Property == CommandProperty) {
if (((ILogical)this).IsAttachedToLogicalTree) {
var (oldValue, newValue) = change.GetOldAndNewValue < ICommand ? > ();
var (oldValue, newValue) = change.GetOldAndNewValue < ICommand ?>();
if (oldValue is ICommand oldCommand) {
oldCommand.CanExecuteChanged -= CanExecuteChanged;
}
Expand Down Expand Up @@ -444,7 +444,7 @@ public class Button : ContentControl, ICommandSource, IClickableControl {
} else if (change.Property == IsPressedProperty) {
UpdatePseudoClasses();
} else if (change.Property == FlyoutProperty) {
var (oldFlyout, newFlyout) = change.GetOldAndNewValue < FlyoutBase ? > ();
var (oldFlyout, newFlyout) = change.GetOldAndNewValue < FlyoutBase ?>();

// If flyout is changed while one is already open, make sure we
// close the old one first
Expand Down
2 changes: 1 addition & 1 deletion test_data/main.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -52320,7 +52320,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
type: Type;
declarations: IndexSignatureDeclaration[];
}
> ();
>();
for (const declaration of (indexSymbol.declarations as
IndexSignatureDeclaration[])) {
if (declaration.parameters.length === 1 &&
Expand Down

0 comments on commit 5e3ff45

Please sign in to comment.