Skip to content

Commit

Permalink
chore: Update LLVM version to 17.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
magic-akari committed Jul 20, 2024
1 parent ade8b6a commit 87c5600
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "MinSizeRel")
endif()

set(LLVM_VERSION "16.0.6")
set(LLVM_VERSION "17.0.1")

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=ce5e71081d17ce9e86d7cbcfa28c4b04b9300f8fb7e78422b1feb6bc52c3028e
URL_HASH SHA256=b0e42aafc01ece2ca2b42e3526f54bebc4b1f1dc8de6e34f46a0446a13e882b9
TLS_VERIFY TRUE
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
)
Expand Down
12 changes: 6 additions & 6 deletions test_data/main.c.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2348,7 +2348,7 @@ static inline BOOL is_math_mode(JSContext *ctx) {
#define JS_ATOM_MAX ((1U << 30) - 1)

/* return the max count from the hash size */
#define JS_ATOM_COUNT_RESIZE(n) ((n)*2)
#define JS_ATOM_COUNT_RESIZE(n) ((n) * 2)

static inline BOOL __JS_AtomIsConst(JSAtom v) {
#if defined(DUMP_LEAKS) && DUMP_LEAKS > 1
Expand Down Expand Up @@ -12353,7 +12353,7 @@ js_unary_arith_slow(JSContext *ctx, JSValue *sp, OPCodeEnum op) {
goto exception;
break;
default:
handle_float64 : {
handle_float64: {
double d;
if (is_math_mode(ctx))
goto handle_bigint;
Expand Down Expand Up @@ -19364,7 +19364,7 @@ dump_token(JSParseState *s, const JSToken *token) {
printf("number: %.14g\n", d);
} break;
case TOK_IDENT:
dump_atom : {
dump_atom: {
char buf[ATOM_GET_STR_BUF_SIZE];
printf("ident: '%s'\n",
JS_AtomGetStr(s->ctx, buf, sizeof(buf), token->u.ident.atom));
Expand Down Expand Up @@ -20097,7 +20097,7 @@ redo:
case '8':
case '9':
/* number */
parse_number : {
parse_number: {
JSValue ret;
const uint8_t *p1;
int flags, radix;
Expand Down Expand Up @@ -20608,7 +20608,7 @@ redo:
case '8':
case '9':
/* number */
parse_number : {
parse_number: {
JSValue ret;
int flags, radix;
if (!s->ext_json) {
Expand Down Expand Up @@ -23551,7 +23551,7 @@ static __exception int js_parse_postfix_expr(JSParseState *s, int parse_flags) {
goto parse_regexp;
case '/':
s->buf_ptr--;
parse_regexp : {
parse_regexp: {
JSValue str;
int ret, backtrace_flags;
if (!s->ctx->compile_regexp)
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

0 comments on commit 87c5600

Please sign in to comment.