[clang] [Clang] Add __builtin_is_within_lifetime to implement P2641R4's std::is_within_lifetime (PR #91895)
MitalAshok wrote: This is on top of #91894 [P2641R4](https://wg21.link/P2641R4) Currently, this doesn't strictly check "whose complete object's lifetime began within `E`". A bunch of the static_asserts I have for objects under construction should be ill-formed instead of false, but some of them should be true. https://github.com/llvm/llvm-project/pull/91895 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [Clang] Add __builtin_is_within_lifetime to implement P2641R4's std::is_within_lifetime (PR #91895)
// std::is_within_lifetime(static_cast(nullptr));` is fine) + // However, `std::is_within_lifetime` will only take pointer types (allow + // non-const qualified too) if (!ParamTy->isPointerType()) { -S.Diag(TheCall->getArg(0)->getExprLoc(), diag::err_builtin_is_within_lifetime_invalid_arg); +S.Diag(TheCall->getArg(0)->getExprLoc(), + diag::err_builtin_is_within_lifetime_invalid_arg); return ExprError(); } `` https://github.com/llvm/llvm-project/pull/91895 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [Clang] Add __builtin_is_within_lifetime to implement P2641R4's std::is_within_lifetime (PR #91895)
+ int* p = a.allocate(1); + if (__builtin_is_within_lifetime(p)) +return false; + std::construct_at(p); + if (!__builtin_is_within_lifetime(p)) +return false; + std::destroy_at(p); + if (__builtin_is_within_lifetime(p)) +return false; + a.deallocate(p, 1); + if (__builtin_is_within_lifetime(p)) +return false; + return true; +} +static_assert(test_dynamic()); + +constexpr bool self = __builtin_is_within_lifetime(); +// expected-error@-1 {{call to consteval function '__builtin_is_within_lifetime' is not a constant expression}} +// expected-note@-2 {{initializer of 'self' is unknown}} +// expected-note@-3 {{declared here}} +constexpr int external{}; +static_assert(__builtin_is_within_lifetime()); +bool not_constexpr() { +return __builtin_is_within_lifetime(); +} +constexpr struct { + union { +int i; +char c; + }; + mutable int mi; // #x-mi +} x1{ .c = 2 }; +static_assert(!__builtin_is_within_lifetime()); +static_assert(__builtin_is_within_lifetime()); +static_assert(__builtin_is_within_lifetime()); +// expected-error@-1 {{static assertion expression is not an integral constant expression}} +// expected-note@-2 {{read of mutable member 'mi' is not allowed in a constant expression}} +// expected-note@#x-mi {{declared here}} + +constexpr struct { + bool a = __builtin_is_within_lifetime(); + bool b = __builtin_is_within_lifetime(); + bool c = __builtin_is_within_lifetime(this); +} x2; +static_assert(!x2.a); +static_assert(!x2.b); +static_assert(!x2.c); + +struct X3 { + bool a, b, c, d; + consteval X3(); +}; +extern const X3 x3; +consteval X3::X3() : a(__builtin_is_within_lifetime()), b(false), c(__builtin_is_within_lifetime()) { + b = __builtin_is_within_lifetime(); + d = __builtin_is_within_lifetime(); +} +constexpr X3 x3{}; +static_assert(!x3.a); +static_assert(!x3.b); +static_assert(!x3.c); +static_assert(!x3.d); + +constexpr int i = 2; +static_assert(__builtin_is_within_lifetime(const_cast())); +static_assert(__builtin_is_within_lifetime(const_cast())); +static_assert(__builtin_is_within_lifetime(static_cast())); + +constexpr int arr[2]{}; +static_assert(__builtin_is_within_lifetime(arr)); +static_assert(__builtin_is_within_lifetime(arr + 0)); +static_assert(__builtin_is_within_lifetime(arr + 1)); +void f() { + __builtin_is_within_lifetime( + 1); +// expected-error@-1 {{call to consteval function '__builtin_is_within_lifetime' is not a constant expression}} +// expected-error@-2 {{'__builtin_is_within_lifetime' cannot be called with a one-past-the-end pointer}} + __builtin_is_within_lifetime(arr + 2); +// expected-error@-1 {{call to consteval function '__builtin_is_within_lifetime' is not a constant expression}} +// expected-error@-2 {{'__builtin_is_within_lifetime' cannot be called with a one-past-the-end pointer}} +} + +template +consteval bool allow_bad_types_unless_used(bool b, T* p) { + if (b) { +__builtin_is_within_lifetime(p); // #bad_type_used + } + return true; +} +void fn(); +static_assert(allow_bad_types_unless_used(false, )); +void g() { + allow_bad_types_unless_used(true, ); +// expected-error@-1 {{call to consteval function 'allow_bad_types_unless_used' is not a constant expression}} +// expected-error@#bad_type_used {{'__builtin_is_within_lifetime' cannot be called with a function pointer}} +} + +struct OptBool { + union { bool b; char c; }; + + // note: this assumes common implementation properties for bool and char: + // * sizeof(bool) == sizeof(char), and + // * the value representations for true and false are distinct + // from the value representation for 2 + constexpr OptBool() : c(2) { } + constexpr OptBool(bool b) : b(b) { } + + constexpr auto has_value() const -> bool { +if consteval { + return __builtin_is_within_lifetime(); // during constant evaluation, cannot read from c +} else { + return c != 2;// during runtime, must read from c +} + } + + constexpr auto operator*() const -> const bool& { +return b; + } +}; + +constexpr OptBool disengaged; +constexpr OptBool engaged(true); +static_assert(!disengaged.has_value()); +static_assert(engaged.has_value()); +static_assert(*engaged); ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [Clang] Add attribute for consteval builtins; Declare constexpr builtins as constexpr in C++ (PR #91894)
lling a builtin with custom type checking. - if (BuiltinID && Context.BuiltinInfo.hasCustomTypechecking(BuiltinID)) -return CheckBuiltinFunctionCall(FDecl, BuiltinID, TheCall); + if (BuiltinID && Context.BuiltinInfo.hasCustomTypechecking(BuiltinID)) { +ExprResult E = CheckBuiltinFunctionCall(FDecl, BuiltinID, TheCall); +if (!E.isInvalid() && Context.BuiltinInfo.isImmediate(BuiltinID)) + E = CheckForImmediateInvocation(E, FDecl); +return E; + } if (getLangOpts().CUDA) { if (Config) { diff --git a/clang/test/Sema/builtin-redecl.cpp b/clang/test/Sema/builtin-redecl.cpp index 323c63e202883..31409a4d46a65 100644 --- a/clang/test/Sema/builtin-redecl.cpp +++ b/clang/test/Sema/builtin-redecl.cpp @@ -14,13 +14,18 @@ void __builtin_va_copy(double d); // expected-error@+2 {{cannot redeclare builtin function '__builtin_va_end'}} // expected-note@+1 {{'__builtin_va_end' is a builtin with type}} void __builtin_va_end(__builtin_va_list); -// RUN: %clang_cc1 %s -fsyntax-only -verify -// RUN: %clang_cc1 %s -fsyntax-only -verify -x c void __va_start(__builtin_va_list*, ...); + void *__builtin_assume_aligned(const void *, size_t, ...); #ifdef __cplusplus -void *__builtin_assume_aligned(const void *, size_t, ...) noexcept; -#else -void *__builtin_assume_aligned(const void *, size_t, ...); +constexpr void *__builtin_assume_aligned(const void *, size_t, ...); + void *__builtin_assume_aligned(const void *, size_t, ...) noexcept; +constexpr void *__builtin_assume_aligned(const void *, size_t, ...) noexcept; + void *__builtin_assume_aligned(const void *, size_t, ...) throw(); +constexpr void *__builtin_assume_aligned(const void *, size_t, ...) throw(); + +// expected-error@+1 {{constexpr declaration of '__builtin_calloc' follows non-constexpr declaration}} +constexpr void *__builtin_calloc(size_t, size_t); +// expected-note@-1 {{previous declaration is here}} #endif `` https://github.com/llvm/llvm-project/pull/91894 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [Clang] Add attribute for consteval builtins; Declare constexpr builtins as constexpr in C++ (PR #91894)
/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index bb4b116fd73ca..39aa32526d2b1 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -7095,8 +7095,12 @@ ExprResult Sema::BuildResolvedCallExpr(Expr *Fn, NamedDecl *NDecl, } // Bail out early if calling a builtin with custom type checking. - if (BuiltinID && Context.BuiltinInfo.hasCustomTypechecking(BuiltinID)) -return CheckBuiltinFunctionCall(FDecl, BuiltinID, TheCall); + if (BuiltinID && Context.BuiltinInfo.hasCustomTypechecking(BuiltinID)) { +ExprResult E = CheckBuiltinFunctionCall(FDecl, BuiltinID, TheCall); +if (!E.isInvalid() && Context.BuiltinInfo.isImmediate(BuiltinID)) + E = CheckForImmediateInvocation(E, FDecl); +return E; + } if (getLangOpts().CUDA) { if (Config) { diff --git a/clang/test/Sema/builtin-redecl.cpp b/clang/test/Sema/builtin-redecl.cpp index 323c63e202883..31409a4d46a65 100644 --- a/clang/test/Sema/builtin-redecl.cpp +++ b/clang/test/Sema/builtin-redecl.cpp @@ -14,13 +14,18 @@ void __builtin_va_copy(double d); // expected-error@+2 {{cannot redeclare builtin function '__builtin_va_end'}} // expected-note@+1 {{'__builtin_va_end' is a builtin with type}} void __builtin_va_end(__builtin_va_list); -// RUN: %clang_cc1 %s -fsyntax-only -verify -// RUN: %clang_cc1 %s -fsyntax-only -verify -x c void __va_start(__builtin_va_list*, ...); + void *__builtin_assume_aligned(const void *, size_t, ...); #ifdef __cplusplus -void *__builtin_assume_aligned(const void *, size_t, ...) noexcept; -#else -void *__builtin_assume_aligned(const void *, size_t, ...); +constexpr void *__builtin_assume_aligned(const void *, size_t, ...); + void *__builtin_assume_aligned(const void *, size_t, ...) noexcept; +constexpr void *__builtin_assume_aligned(const void *, size_t, ...) noexcept; + void *__builtin_assume_aligned(const void *, size_t, ...) throw(); +constexpr void *__builtin_assume_aligned(const void *, size_t, ...) throw(); + +// expected-error@+1 {{constexpr declaration of '__builtin_calloc' follows non-constexpr declaration}} +constexpr void *__builtin_calloc(size_t, size_t); +// expected-note@-1 {{previous declaration is here}} #endif ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [analyzer] Allow recursive functions to be trivial. (PR #91876)
MitalAshok wrote: You should add a test for mutually recursive functions. I suspect something like this doesn't work: ```c++ int non_trivial(); int f(bool b) { return g(!b) + non_trivial(); } int g(bool b) { return b ? f(b) : 1; } getFieldTrivial().f(true); // expected-warning {{...}} getFieldTrivial().g(true); // expected-warning {{...}} ``` Since when analyzing `f`, `f` enters the cache as trivial, `g` is analyzed and sees `f` in the cache as trivial, so `g` is marked trivial, but then `f` is marked as non-trivial (so `g` should have been marked as non-trivial, but is marked trivial). If that is an issue, one way to do this "properly" would be to create a graph, and a function is non-trivial if it has a path to a non-trivial function (this might be too expensive to implement directly). Or we could special case simple recursion only, by changing `TrivialFunctionAnalysisVisitor` to not call `isTrivialImpl` for the current function only. https://github.com/llvm/llvm-project/pull/91876 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
branch master updated: gnu: Add python-overpass.
This is an automated email from the git hooks/post-receive script. andreas pushed a commit to branch master in repository guix. The following commit(s) were added to refs/heads/master by this push: new 89cd778f6a gnu: Add python-overpass. 89cd778f6a is described below commit 89cd778f6a45cd9b43a4dc1f236dcd0a87af955c Author: Wilko Meyer AuthorDate: Tue Apr 30 21:47:37 2024 +0200 gnu: Add python-overpass. * gnu/packages/geo.scm (python-overpass): New variable. Change-Id: Icd7a66ec6acd2e213bfd6920a1d71c1e0e815695 Signed-off-by: Andreas Enge --- gnu/packages/geo.scm | 25 + 1 file changed, 25 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 9010c2444a..7da0a7d7ef 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2022 Roman Scherer ;;; Copyright © 2022, 2023 Maxim Cournoyer ;;; Copyright © 2022 Denis 'GNUtoo' Carikli +;;; Copyright © 2024 Wilko Meyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -986,6 +987,30 @@ enables you to easily do operations in Python that would otherwise require a spatial database such as PostGIS.") (license license:bsd-3))) +(define-public python-overpass + (package +(name "python-overpass") +(version "0.7") +(source + (origin + (method url-fetch) + (uri (pypi-uri "overpass" version)) + (sha256 +(base32 "0l2n01j0vslag8cf3sp7jif0d4ql6i99fvfv2mgc3ajws69aqzr6" +(build-system pyproject-build-system) +(arguments + ;; tests disabled, as they require network + (list #:tests? #f)) +(propagated-inputs (list python-geojson + python-requests + python-shapely)) +(native-inputs (list python-pytest)) +(home-page "https://github.com/mvexel/overpass-api-python-wrapper;) +(synopsis "Python wrapper for the OpenStreetMap Overpass API") +(description "This package provides python-overpass, a Python wrapper +for the @code{OpenStreetMap} Overpass API.") +(license license:asl2.0))) + (define-public python-ogr2osm (package (name "python-ogr2osm")
[clang] [llvm] [BPF] Fix linking issues in static map initializers (PR #91310)
@@ -1950,8 +1950,22 @@ ConstantLValueEmitter::tryEmitBase(const APValue::LValueBase ) { if (D->hasAttr()) return CGM.GetWeakRefReference(D).getPointer(); -if (auto FD = dyn_cast(D)) - return CGM.GetAddrOfFunction(FD); +if (auto FD = dyn_cast(D)) { + auto *C = CGM.GetAddrOfFunction(FD); + + // we don't normally emit debug info for extern fns referenced via + // variable initialisers; BPF needs it since it generates BTF from + // debug info and bpftool demands BTF for every symbol linked + if (CGM.getTarget().getTriple().isBPF() && FD->getStorageClass() == SC_Extern) { efriedma-quic wrote: Looking at the code again, I guess the ultimate question is whether we want to emit debug info for all external functions/variables, or only functions/variables that are actually referenced. If we want all functions/variables, we want to extend ExternalDeclarations to include them. Maybe put the code in Sema::ActOnFunctionDeclarator, or something like that. If you just want referenced functions/variables, probably the code should be in GetAddrOfFunction() (and something similar for variables). https://github.com/llvm/llvm-project/pull/91310 _______ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [Clang] Added check for unexpanded pack in attribute [[assume]] (PR #91893)
llvmbot wrote: @llvm/pr-subscribers-clang Author: Azmat Yusuf (azmat-y) Changes Added a check for unexpanded parameter pack in attribute [[assume]]. Tested it with expected-error statements from clang fronted. This fixes #91232. @Sirraide --- Full diff: https://github.com/llvm/llvm-project/pull/91893.diff 2 Files Affected: - (modified) clang/lib/Sema/SemaStmtAttr.cpp (+5) - (modified) clang/test/SemaCXX/cxx23-assume.cpp (+5) ``diff diff --git a/clang/lib/Sema/SemaStmtAttr.cpp b/clang/lib/Sema/SemaStmtAttr.cpp index 1c84830b6ddd2..36f8ecadcfab7 100644 --- a/clang/lib/Sema/SemaStmtAttr.cpp +++ b/clang/lib/Sema/SemaStmtAttr.cpp @@ -670,6 +670,11 @@ ExprResult Sema::ActOnCXXAssumeAttr(Stmt *St, const ParsedAttr , } auto *Assumption = A.getArgAsExpr(0); + + if (DiagnoseUnexpandedParameterPack(Assumption)) { +return ExprError(); + } + if (Assumption->getDependence() == ExprDependence::None) { ExprResult Res = BuildCXXAssumeExpr(Assumption, A.getAttrName(), Range); if (Res.isInvalid()) diff --git a/clang/test/SemaCXX/cxx23-assume.cpp b/clang/test/SemaCXX/cxx23-assume.cpp index 8676970de14f6..e67d72ae0a995 100644 --- a/clang/test/SemaCXX/cxx23-assume.cpp +++ b/clang/test/SemaCXX/cxx23-assume.cpp @@ -138,3 +138,8 @@ constexpr int foo() { } static_assert(foo() == 0); + +template +void f() { +[[assume(val)]]; // expected-error {{expression contains unexpanded parameter pack}} +} `` https://github.com/llvm/llvm-project/pull/91893 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [Clang] Added check for unexpanded pack in attribute [[assume]] (PR #91893)
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it is probably because you do not have write permissions for the repository. In which case you can instead tag reviewers by name in a comment by using `@` followed by their GitHub username. If you have received no comments on your PR for a week, you can request a review by "ping"ing the PR by adding a comment “Ping”. The common courtesy "ping" rate is once a week. Please remember that you are asking for valuable time from other developers. If you have further questions, they may be answered by the [LLVM GitHub User Guide](https://llvm.org/docs/GitHub.html). You can also ask questions in a comment on this PR, on the [LLVM Discord](https://discord.com/invite/xS7Z362) or on the [forums](https://discourse.llvm.org/). https://github.com/llvm/llvm-project/pull/91893 _______ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [Clang] Added check for unexpanded pack in attribute [[assume]] (PR #91893)
https://github.com/azmat-y created https://github.com/llvm/llvm-project/pull/91893 Added a check for unexpanded parameter pack in attribute [[assume]]. Tested it with expected-error statements from clang fronted. This fixes #91232. @Sirraide >From cbb35bd010f2d46ae70367549a2838841a55aeb7 Mon Sep 17 00:00:00 2001 From: Azmat Yusuf Date: Sun, 12 May 2024 20:49:14 +0530 Subject: [PATCH] [Clang] Added check for unexpanded pack in attribute [[assume]] --- clang/lib/Sema/SemaStmtAttr.cpp | 5 + clang/test/SemaCXX/cxx23-assume.cpp | 5 + 2 files changed, 10 insertions(+) diff --git a/clang/lib/Sema/SemaStmtAttr.cpp b/clang/lib/Sema/SemaStmtAttr.cpp index 1c84830b6ddd2..36f8ecadcfab7 100644 --- a/clang/lib/Sema/SemaStmtAttr.cpp +++ b/clang/lib/Sema/SemaStmtAttr.cpp @@ -670,6 +670,11 @@ ExprResult Sema::ActOnCXXAssumeAttr(Stmt *St, const ParsedAttr , } auto *Assumption = A.getArgAsExpr(0); + + if (DiagnoseUnexpandedParameterPack(Assumption)) { +return ExprError(); + } + if (Assumption->getDependence() == ExprDependence::None) { ExprResult Res = BuildCXXAssumeExpr(Assumption, A.getAttrName(), Range); if (Res.isInvalid()) diff --git a/clang/test/SemaCXX/cxx23-assume.cpp b/clang/test/SemaCXX/cxx23-assume.cpp index 8676970de14f6..e67d72ae0a995 100644 --- a/clang/test/SemaCXX/cxx23-assume.cpp +++ b/clang/test/SemaCXX/cxx23-assume.cpp @@ -138,3 +138,8 @@ constexpr int foo() { } static_assert(foo() == 0); + +template +void f() { +[[assume(val)]]; // expected-error {{expression contains unexpanded parameter pack}} +} ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
02/11: gnu: tmux: Update to 3.4.
cbaines pushed a commit to branch master in repository guix. commit 0dac1307ccc9a04df49080f3c76b1018268d7d68 Author: Ashish SHUKLA AuthorDate: Wed May 8 14:27:10 2024 +0100 gnu: tmux: Update to 3.4. * gnu/packages/tmux.scm (tmux): Update to 3.4. [native-inputs]: Add bison. Reviewed-by: Dale Mellor Signed-off-by: Christopher Baines Change-Id: I549010a3cf492ffe9cdc9df25b2b4a93c60c6ae1 --- gnu/packages/tmux.scm | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/packages/tmux.scm b/gnu/packages/tmux.scm index 4d9dea2396..96d95da0cb 100644 --- a/gnu/packages/tmux.scm +++ b/gnu/packages/tmux.scm @@ -36,6 +36,7 @@ #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages bash) + #:use-module (gnu packages bison) #:use-module (gnu packages check) #:use-module (gnu packages linux) #:use-module (gnu packages libevent) @@ -45,7 +46,7 @@ (define-public tmux (package (name "tmux") -(version "3.3a") +(version "3.4") (source (origin (method url-fetch) (uri (string-append @@ -53,10 +54,12 @@ version "/tmux-" version ".tar.gz")) (sha256 (base32 - "0gzrrm6imhcp3sr5vw8g71x9n40bbdidwvcdyk2741xx8dw39zg4" + "1ahr7si3akr55hadyms3p36f1pbwavpkbfxpsq55ql5zl3gbh6jm" (build-system gnu-build-system) (inputs (list libevent ncurses)) +(native-inputs + (list bison)) (home-page "https://github.com/tmux/tmux/wiki;) (synopsis "Terminal multiplexer") (description
01/11: gnu: Add m8c.
cbaines pushed a commit to branch master in repository guix. commit 0eaae8e4d442b0337b62d38a0b20649fd5fbbc61 Author: Juliana Sims AuthorDate: Sat Apr 20 11:09:10 2024 -0400 gnu: Add m8c. * gnu/packages/electronics.scm (m8c): New variable. Change-Id: Ibfc2e9364211e24c59d4d9015ab144f0c4ee972c Signed-off-by: Christopher Baines --- gnu/packages/electronics.scm | 41 + 1 file changed, 41 insertions(+) diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index aaf762b02b..df0238c348 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2021 Efraim Flashner ;;; Copyright © 2021 Leo Famulari ;;; Copyright © 2022, 2023 Maxim Cournoyer +;;; Copyright © 2024 Juliana Sims ;;; ;;; This file is part of GNU Guix. ;;; @@ -424,6 +425,46 @@ support for ESD sources.") (home-page "https://xoscope.sourceforge.net/;) (license license:gpl2+))) +(define-public m8c + (package +(name "m8c") +(version "1.7.0") +(source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/laamaa/m8c;) + (commit (string-append "v" version + (file-name (git-file-name name version)) + (sha256 +(base32 "1wsknqgya2vkalbjq6rvmknsdk4lrqkn0z5rpjf4pd5vxgr8qryb" +(build-system gnu-build-system) +(arguments + (list + #:make-flags #~(list (string-append "PREFIX=" #$output)) + #:phases + #~(modify-phases %standard-phases + (delete 'configure)) + #:tests? #f)) ;no tests +(native-inputs (list pkg-config)) +(inputs (list libserialport + sdl2)) +(home-page "https://github.com/laamaa/m8c;) +(synopsis "Cross-platform M8 tracker headless client") +(description + "The @url{https://dirtywave.com/products/m8-tracker,Dirtywave M8 Tracker} +is a portable sequencer and synthesizer, featuring 8 tracks of assignable +instruments such as FM, waveform synthesis, virtual analog, sample playback, and +MIDI output. It is powered by a @url{https://www.pjrc.com/teensy/,Teensy} +micro-controller and inspired by the Gameboy tracker +@url{https://www.littlesounddj.com/lsd/index.php,Little Sound DJ}. m8c is a +client for @url{https://github.com/Dirtywave/M8HeadlessFirmware,M8 Headless} +which allows one to install the M8 firmware on any Teensy.") +(license (list license:cc-by-sa3.0 + license:expat + license:public-domain + license:zlib + (define-public minipro ;; Information needed to fix Makefile (let* ((commit "c181c2cf1619d00a520627d475e3fadb1eea5dac")
09/11: gnu: adns: Update to 1.6.1.
cbaines pushed a commit to branch master in repository guix. commit 8b81fae667619efdcae9f01d25e32c471452e259 Author: Andy Tai AuthorDate: Mon May 6 21:41:01 2024 -0700 gnu: adns: Update to 1.6.1. * gnu/packages/adns.scm (adns): Update to 1.6.1. Change-Id: I1e6d42ab558bba55895efd39d7bb4cd9e5ee7b99 Signed-off-by: Christopher Baines --- gnu/packages/adns.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/adns.scm b/gnu/packages/adns.scm index ead40bce1b..bf07219d17 100644 --- a/gnu/packages/adns.scm +++ b/gnu/packages/adns.scm @@ -34,7 +34,7 @@ (define-public adns (package (name "adns") -(version "1.6.0") +(version "1.6.1") (source (origin (method url-fetch) (uri (list (string-append "mirror://gnu/adns/adns-" @@ -44,7 +44,7 @@ version ".tar.gz"))) (sha256 (base32 -"1pi0xl07pav4zm2jrbrfpv43s1r1q1y12awgak8k7q41m5jp4hpv" +"1k81sjf0yzv6xj35vcxp0ccajxrhhmyly7a57xlbs1kmkdwb6f3i" (build-system gnu-build-system) (arguments ;; Make sure the programs under bin/ fine libadns.so.
11/11: gnu: ruby-gem-hadar: Use git-minimal/pinned.
cbaines pushed a commit to branch master in repository guix. commit 7b2e7ff25a58412757100d401b50f6e39b3da354 Author: Christopher Baines AuthorDate: Mon Apr 29 21:23:07 2024 +0100 gnu: ruby-gem-hadar: Use git-minimal/pinned. This helps reduce the dependencies on git, as I think it's find to build ruby-gem-hadar with a slightly older git, at least during periods when git-minimal/pinned needs updating. * gnu/packages/ruby.scm (ruby-gem-hadar)[propagated-inputs]: Use git-minimal/pinned. Change-Id: I48e7725f8e4956f1a8311df1867d8d441c5cb4c2 --- gnu/packages/ruby.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 0541bb9562..9449e09917 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7817,7 +7817,7 @@ documentation for Ruby code.") (lambda _ (invoke "gem" "build" "gem_hadar.gemspec")) (propagated-inputs - (list git ruby-tins ruby-yard)) + (list git-minimal/pinned ruby-tins ruby-yard)) (synopsis "Library for the development of Ruby gems") (description "This library contains some useful functionality to support the
04/11: gnu: guile-tap: Update to 0.5.1.
cbaines pushed a commit to branch master in repository guix. commit d2b9736c5e4c87af8264304d528c517633a282aa Author: Frank Terbeck AuthorDate: Fri May 3 13:22:23 2024 +0200 gnu: guile-tap: Update to 0.5.1. * gnu/packages/guile-xyz.scm (guile-tap): Update to 0.5.1. [arguments]: Patch bin/tap-harness. Change-Id: Ia8a02400f1d559fcec7eb9861f24a7116928814b Signed-off-by: Christopher Baines --- gnu/packages/guile-xyz.scm | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 24c216c696..efe345aa66 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -6148,7 +6148,7 @@ in two different guises.") (define-public guile-tap (package (name "guile-tap") -(version "0.4.6") +(version "0.5.1") (source (origin (method git-fetch) (uri (git-reference @@ -6157,7 +6157,7 @@ in two different guises.") (file-name (git-file-name name version)) (sha256 (base32 -"04ip5cbvsjjcicsri813f4711yh7db6fvc2px4788rl8p1iqvi6x" +"0yimi9ci5h6wh7bs3ir7p181pwbd2hxlhx7pqq53gr54mnad8qv4" (build-system gnu-build-system) (arguments (list #:phases @@ -6166,7 +6166,9 @@ in two different guises.") (lambda _ (substitute* "Makefile" (("PREFIX = /usr/local") (string-append "PREFIX=" - #$output) + #$output))) + (substitute* "bin/tap-harness" + ((" guile ") (string-append " " (which "guile") " ") (replace 'build (lambda _ (invoke "make")
10/11: gnu: alfa: Don't run tests on riscv64-linux.
cbaines pushed a commit to branch master in repository guix. commit 418710ccc06f27b808c5e485075312ea406e42db Author: Christopher Baines AuthorDate: Wed May 1 10:52:19 2024 +0100 gnu: alfa: Don't run tests on riscv64-linux. As the test suite seems to consume all the disk space. * gnu/packages/astronomy.scm (alfa)[arguments]: Don't run tests on riscv64. Change-Id: Ifa52b8205387c22b386ccad97fd6e69723193a16 --- gnu/packages/astronomy.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 560d5491e7..965d272d41 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -127,6 +127,9 @@ #$output) (string-append "VERSION=" #$version)) + #:tests? (not + ;; The test suite consumes all disk space + (target-riscv64?)) #:phases #~(modify-phases %standard-phases (delete 'configure) (delete 'check)
07/11: gnu: nano: Update to 8.0.
cbaines pushed a commit to branch master in repository guix. commit 8643bb4a82ae4c906e79e3a1e7f60124b3b0d7c3 Author: Andy Tai AuthorDate: Wed May 1 09:04:53 2024 -0700 gnu: nano: Update to 8.0. * gnu/packages/text-editors.scm (nano): Update to 8.0. Change-Id: I2312dd5140fee4d8cc42f622f733c616d7b39550 Signed-off-by: Christopher Baines --- gnu/packages/text-editors.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index b62efabe6e..300230b76c 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -626,13 +626,13 @@ OpenBSD team.") (define-public nano (package (name "nano") -(version "7.2") +(version "8.0") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/nano/nano-" version ".tar.xz")) (sha256 - (base32 "09j5gb44yiv18fvn0iy17jnl9d5lh3gkry4kqv776a5xd0kl9ww6" + (base32 "1i4ski9l06w3ra4z1nf2ml4bignm073hk8jhxqrnncrp1vy46zy1" (build-system gnu-build-system) (inputs (list gettext-minimal ncurses))
branch master updated (56980ea500 -> 7b2e7ff25a)
cbaines pushed a change to branch master in repository guix. from 56980ea500 gnu: python-xcffib: Update to 1.4.0. new 0eaae8e4d4 gnu: Add m8c. new 0dac1307cc gnu: tmux: Update to 3.4. new ca571f4259 gnu: Add python-vdf. new d2b9736c5e gnu: guile-tap: Update to 0.5.1. new 069e4d86b8 gnu: emacs-suneater-theme: Update to 2.5.2. new 986ee0c66c doc: Update NixOS wiki url to the official wiki. new 8643bb4a82 gnu: nano: Update to 8.0. new 3843820d5d gnu: emacs-eldev: Update to 1.10. new 8b81fae667 gnu: adns: Update to 1.6.1. new 418710ccc0 gnu: alfa: Don't run tests on riscv64-linux. new 7b2e7ff25a gnu: ruby-gem-hadar: Use git-minimal/pinned. The 11 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: doc/guix.texi | 2 +- gnu/packages/adns.scm | 4 ++-- gnu/packages/astronomy.scm| 3 +++ gnu/packages/electronics.scm | 41 + gnu/packages/emacs-xyz.scm| 8 gnu/packages/guile-xyz.scm| 8 +--- gnu/packages/python-xyz.scm | 18 ++ gnu/packages/ruby.scm | 2 +- gnu/packages/text-editors.scm | 4 ++-- gnu/packages/tmux.scm | 7 +-- 10 files changed, 82 insertions(+), 15 deletions(-)
03/11: gnu: Add python-vdf.
cbaines pushed a commit to branch master in repository guix. commit ca571f4259df82500c687effcdb7d11904a52e6c Author: Giacomo Leidi via Guix-patches via AuthorDate: Wed Apr 17 10:34:44 2024 +0100 gnu: Add python-vdf. * gnu/packages/python-xyz.scm (python-vdf): New variable. Reviewed-by: Steve George Signed-off-by: Christopher Baines Change-Id: Ie8a14292b9c9937d22f011ac078562e81abd6b36 --- gnu/packages/python-xyz.scm | 18 ++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 70687883c2..557c6d5815 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6979,6 +6979,24 @@ text styles of documentation.") "Pygments is a syntax highlighting package written in Python.") (license license:bsd-2))) +(define-public python-vdf + (package +(name "python-vdf") +(version "3.4") +(source + (origin + (method url-fetch) + (uri (pypi-uri "vdf" version)) + (sha256 +(base32 + "1bz2gn04pl6rj2mawlzlirz1ygg4rdypq0pxbyg018873vs1jm7x" +(build-system pyproject-build-system) +(home-page "https://github.com/ValvePython/vdf;) +(synopsis "Work with Valve's VDF text format") +(description "This package provides @code{python-vdf}, a library for +working with Valve's VDF text format.") +(license license:expat))) + (define-public python-pygments-github-lexers (package (name "python-pygments-github-lexers")
06/11: doc: Update NixOS wiki url to the official wiki.
cbaines pushed a commit to branch master in repository guix. commit 986ee0c66c470c900db1dccadcaa092a6d0905ca Author: Picnoir AuthorDate: Thu May 9 09:15:50 2024 +0200 doc: Update NixOS wiki url to the official wiki. nixos.wiki was created by a community member a long time ago. It turned out to be very useful to the community, it became an official service last month hosted on the NixOS.org domain name. To ease the long term maintainance among other things. See more details at https://github.com/NixOS/foundation/issues/113 * doc/guix.texi (Nix service): Change nixos.wiki to wiki.nixos.org. Change-Id: Ia95074fbfad494e8ceb5c2cdb3faab23f3604882 Signed-off-by: Christopher Baines --- doc/guix.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index 1c1e0164e7..ce1a06747c 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -40669,7 +40669,7 @@ After @command{guix system reconfigure} configure Nix for your user: @itemize @item Add a Nix channel and update it. See -@url{https://nixos.wiki/wiki/Nix_channels, Nix channels} for more +@url{https://wiki.nixos.org/wiki/Nix_channels, Nix channels} for more information about the available channels. If you would like to use the unstable Nix channel you can do this by running:
08/11: gnu: emacs-eldev: Update to 1.10.
cbaines pushed a commit to branch master in repository guix. commit 3843820d5d735ae5f91335ee0ba942822daecbc1 Author: Suhail Singh AuthorDate: Fri May 3 10:46:18 2024 -0400 gnu: emacs-eldev: Update to 1.10. * gnu/packages/emacs-xyz.scm (emacs-eldev): Update to 1.10. Change-Id: Iafaf10e545920b424fc709def4ebfc6c831cf76f Signed-off-by: Christopher Baines --- gnu/packages/emacs-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index f6f455dad0..9e3bd5ae64 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -23757,7 +23757,7 @@ according to a parsing expression grammar.") (define-public emacs-eldev (package (name "emacs-eldev") -(version "1.9.1") +(version "1.10") (source (origin (method git-fetch) @@ -23766,7 +23766,7 @@ according to a parsing expression grammar.") (commit version))) (file-name (git-file-name name version)) (sha256 -(base32 "1v0jwzwq0xpih8m4aymz90fdfvypkiqczh0ip5jg4kcvzikliw3f" +(base32 "02yks6nmw725b4ng97pbw3b8rh60hzysplzpgxr7czq2wdlll7zp" (build-system emacs-build-system) (arguments (list
05/11: gnu: emacs-suneater-theme: Update to 2.5.2.
cbaines pushed a commit to branch master in repository guix. commit 069e4d86b871199754c15e002af6aca7d4a348c5 Author: Fredrik Salomonsson AuthorDate: Sun May 5 22:19:43 2024 + gnu: emacs-suneater-theme: Update to 2.5.2. * gnu/packages/emacs-xyz.scm (emacs-suneater-theme): Update to 2.5.2. Change-Id: I09ddb510e59d461b7f383a400ef8b7cfbeb19714 Signed-off-by: Christopher Baines --- gnu/packages/emacs-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index ab26609303..f6f455dad0 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -2103,7 +2103,7 @@ Apprentice and Sourcerer.") (define-public emacs-suneater-theme (package (name "emacs-suneater-theme") -(version "2.4.0") +(version "2.5.2") (source (origin (method git-fetch) @@ -2112,7 +2112,7 @@ Apprentice and Sourcerer.") (commit version))) (sha256 (base32 - "1j216w9c2psynlsl8gdmnya5a60cyx100ibm15zyyaav75wccn5j")) + "1501kj933717jw9prx03x1k8n520z7a268bl03m3m82qn5hjq0ad")) (file-name (git-file-name name version (build-system emacs-build-system) (home-page "https://git.sr.ht/~plattfot/suneater-theme;)
[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [polly] [test]: fix filecheck annotation typos (PR #91854)
https://github.com/arsenm commented: amdgpu changes lgtm https://github.com/llvm/llvm-project/pull/91854 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [Analyzer][CFG] Correctly handle rebuilt default arg and default init expression (PR #91879)
per kind"); - bool IsTemporary = false; - if (const auto *MTE = dyn_cast(ArgE)) { -ArgE = MTE->getSubExpr(); -IsTemporary = true; - } - - std::optional ConstantVal = svalBuilder.getConstantVal(ArgE); - if (!ConstantVal) -ConstantVal = UnknownVal(); - - const LocationContext *LCtx = Pred->getLocationContext(); - for (const auto I : PreVisit) { -ProgramStateRef State = I->getState(); -State = State->BindExpr(S, LCtx, *ConstantVal); -if (IsTemporary) - State = createTemporaryRegionIfNeeded(State, LCtx, -cast(S), -cast(S)); -Bldr2.generateNode(S, I, State); + ExplodedNodeSet Tmp; + StmtNodeBuilder Bldr2(CheckedSet, Tmp, *currBldrCtx); + + for (auto *I : CheckedSet) { +ProgramStateRef state = (*I).getState(); +const LocationContext *LCtx = (*I).getLocationContext(); +SVal Val = state->getSVal(ArgE, LCtx); +state = state->BindExpr(S, LCtx, Val); +Bldr2.generateNode(S, I, state); } getCheckerManager().runCheckersForPostStmt(Dst, Tmp, S, *this); _______ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[jenkinsci/jenkins] 6130d2: Update dependency globals to v15.2.0 (#9264)
Branch: refs/heads/master Home: https://github.com/jenkinsci/jenkins Commit: 6130d2f398836feed755b14cc67d7d24c707907a https://github.com/jenkinsci/jenkins/commit/6130d2f398836feed755b14cc67d7d24c707907a Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: 2024-05-12 (Sun, 12 May 2024) Changed paths: M war/package.json M war/yarn.lock Log Message: --- Update dependency globals to v15.2.0 (#9264) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/jenkins/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/master/e6a5d3-6130d2%40github.com.
[clang] 17daa20 - [Clang][CWG1815] Support lifetime extension of temporary created by aggregate initialization using a default member initializer (#87933)
't cause an assertion failure. -struct A { int & = 0; }; // expected-note 2{{default member initializer}} +struct A { int & = 0; }; struct B { A x, y; }; -B b = {}; // expected-warning 2{{lifetime extension of temporary created by aggregate initialization using a default member initializer is not yet supported}} +B b = {}; // expected-no-diagnostics } diff --git a/clang/test/SemaCXX/eval-crashes.cpp b/clang/test/SemaCXX/eval-crashes.cpp index 017df977b26b7..a06f60f71e9c7 100644 --- a/clang/test/SemaCXX/eval-crashes.cpp +++ b/clang/test/SemaCXX/eval-crashes.cpp @@ -25,11 +25,9 @@ namespace pr33140_0b { } namespace pr33140_2 { - // FIXME: The declaration of 'b' below should lifetime-extend two int - // temporaries. - struct A { int & = 0; }; // expected-note 2{{initializing field 'r' with default member initializer}} + struct A { int & = 0; }; struct B { A x, y; }; - B b = {}; // expected-warning 2{{lifetime extension of temporary created by aggregate initialization using a default member initializer is not yet supported}} + B b = {}; } namespace pr33140_3 { diff --git a/clang/www/cxx_dr_status.html b/clang/www/cxx_dr_status.html index 12ab59224e82e..92fdcf5556ede 100755 --- a/clang/www/cxx_dr_status.html +++ b/clang/www/cxx_dr_status.html @@ -10698,7 +10698,7 @@ C++ defect report implementation status https://cplusplus.github.io/CWG/issues/1815.html;>1815 CD4 Lifetime extension in aggregate initialization -No +Clang 19 https://cplusplus.github.io/CWG/issues/1816.html;>1816 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [Clang][CWG1815] Support lifetime extension of temporary created by aggregate initialization using a default member initializer (PR #87933)
https://github.com/yronglin closed https://github.com/llvm/llvm-project/pull/87933 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[jenkinsci/jenkins] e6a5d3: Update Yarn to v4.2.2 (#9262)
Branch: refs/heads/master Home: https://github.com/jenkinsci/jenkins Commit: e6a5d3e404c1c03ab85390de15a50d1509b3ebef https://github.com/jenkinsci/jenkins/commit/e6a5d3e404c1c03ab85390de15a50d1509b3ebef Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: 2024-05-12 (Sun, 12 May 2024) Changed paths: M war/package.json M war/pom.xml Log Message: --- Update Yarn to v4.2.2 (#9262) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alexander Brandes To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/jenkins/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/master/ad571f-e6a5d3%40github.com.
[clang] [X86][vectorcall] Pass built types byval when xmm0~6 exhausted (PR #91846)
https://github.com/efriedma-quic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/91846 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [Clang][CWG1815] Support lifetime extension of temporary created by aggregate initialization using a default member initializer (PR #87933)
yronglin wrote: > > I'd like to proposal a separate PR for static analyzer. #91879 WDYT? > > That sounds good to me. Thanks for your confirmation! If you don’t have any concerns, I'd like to land this PR. 朗 https://github.com/llvm/llvm-project/pull/87933 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [llvm] [X86][Driver] Do not add `-evex512` for `-march=native` when the target doesn't support AVX512 (PR #91694)
FireBurn wrote: No worries, it's fixed now, llvm, nodejs and libreoffice are all compiling fine again https://github.com/llvm/llvm-project/pull/91694 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [Analyzer][CFG] Correctly handle rebuilt default arg and default init expression (PR #91879)
@@ -2433,6 +2429,30 @@ CFGBlock *CFGBuilder::VisitChildren(Stmt *S) { return B; } +CFGBlock *CFGBuilder::VisitCXXDefaultArgExpr(CXXDefaultArgExpr *Arg, + AddStmtChoice asc) { + if (Arg->hasRewrittenInit()) { +if (asc.alwaysAdd(*this, Arg)) { + autoCreateBlock(); + appendStmt(Block, Arg); +} +return VisitStmt(Arg->getExpr(), asc); + } + return VisitStmt(Arg, asc); yronglin wrote: Thanks a lot for your review! > I think it'd be useful to keep some of the old comment here: we can't add the > default argument if it's not rewritten because we could end up with the same > expression appearing multiple times. Agree 100%, keep the old comment here can make things more clear. > Actually, are we safe from that even if the default argument is rewritten? Do > we guarantee to recreate all subexpressions in that case? Not exactly, The rebuild implementation is the following, it's ignores `LambdaExpr`, `BlockExpr` and `CXXThisExpr`, And `EnsureImmediateInvocationInDefaultArgs`’s name may need to be refine. https://github.com/llvm/llvm-project/blob/78b3a00418ce6da0426a261a64a77608d0264fe5/clang/lib/Sema/SemaExpr.cpp#L5707-L5723 https://github.com/llvm/llvm-project/pull/91879 _______ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] Pass QualifiedRenameRule strings by reference to reduce copies (PR #69848)
https://github.com/JoeLoser approved this pull request. https://github.com/llvm/llvm-project/pull/69848 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [Clang][CWG1815] Support lifetime extension of temporary created by aggregate initialization using a default member initializer (PR #87933)
zygoloid wrote: > I'd like to proposal a separate PR for static analyzer. #91879 WDYT? That sounds good to me. https://github.com/llvm/llvm-project/pull/87933 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [Analyzer][CFG] Correctly handle rebuilt default arg and default init expression (PR #91879)
@@ -2433,6 +2429,30 @@ CFGBlock *CFGBuilder::VisitChildren(Stmt *S) { return B; } +CFGBlock *CFGBuilder::VisitCXXDefaultArgExpr(CXXDefaultArgExpr *Arg, + AddStmtChoice asc) { + if (Arg->hasRewrittenInit()) { +if (asc.alwaysAdd(*this, Arg)) { + autoCreateBlock(); + appendStmt(Block, Arg); +} +return VisitStmt(Arg->getExpr(), asc); + } + return VisitStmt(Arg, asc); zygoloid wrote: Actually, are we safe from that even if the default argument is rewritten? Do we guarantee to recreate all subexpressions in that case? https://github.com/llvm/llvm-project/pull/91879 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [Analyzer][CFG] Correctly handle rebuilt default arg and default init expression (PR #91879)
@@ -2433,6 +2429,30 @@ CFGBlock *CFGBuilder::VisitChildren(Stmt *S) { return B; } +CFGBlock *CFGBuilder::VisitCXXDefaultArgExpr(CXXDefaultArgExpr *Arg, + AddStmtChoice asc) { + if (Arg->hasRewrittenInit()) { +if (asc.alwaysAdd(*this, Arg)) { + autoCreateBlock(); + appendStmt(Block, Arg); +} +return VisitStmt(Arg->getExpr(), asc); + } + return VisitStmt(Arg, asc); zygoloid wrote: I think it'd be useful to keep some of the old comment here: we can't add the default argument if it's not rewritten because we could end up with the same expression appearing multiple times. https://github.com/llvm/llvm-project/pull/91879 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang-tools-extra] [WIP][clang-tidy] Ignore `if consteval` in else-after-return (PR #91588)
@@ -0,0 +1,17 @@ +// RUN: %check_clang_tidy -std=c++20 %s readability-else-after-return %t 5chmidti wrote: While `consteval` was added in C++20, `if consteval` is a C++23 feature. Please use `-std=c++23` https://en.cppreference.com/w/cpp/language/if#Consteval_if https://github.com/llvm/llvm-project/pull/91588 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang-tools-extra] [WIP][clang-tidy] Ignore `if consteval` in else-after-return (PR #91588)
https://github.com/5chmidti commented: Please add an entry to the release notes here: https://github.com/llvm/llvm-project/blob/502e77df1fc4aa859db6709e14e93af6207e4dc4/clang-tools-extra/docs/ReleaseNotes.rst?plain=1#L176 do note that the entries are sorted by their check names. Otherwise looks good. https://github.com/llvm/llvm-project/pull/91588 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang-tools-extra] [WIP][clang-tidy] Ignore `if consteval` in else-after-return (PR #91588)
https://github.com/5chmidti edited https://github.com/llvm/llvm-project/pull/91588 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [clang] Disallow VLA type compound literals (PR #91891)
https://github.com/J-MR-T edited https://github.com/llvm/llvm-project/pull/91891 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [clang] Disallow VLA type compound literals (PR #91891)
https://github.com/J-MR-T edited https://github.com/llvm/llvm-project/pull/91891 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [clang] Disallow VLA type compound literals (PR #91891)
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it is probably because you do not have write permissions for the repository. In which case you can instead tag reviewers by name in a comment by using `@` followed by their GitHub username. If you have received no comments on your PR for a week, you can request a review by "ping"ing the PR by adding a comment “Ping”. The common courtesy "ping" rate is once a week. Please remember that you are asking for valuable time from other developers. If you have further questions, they may be answered by the [LLVM GitHub User Guide](https://llvm.org/docs/GitHub.html). You can also ask questions in a comment on this PR, on the [LLVM Discord](https://discord.com/invite/xS7Z362) or on the [forums](https://discourse.llvm.org/). https://github.com/llvm/llvm-project/pull/91891 _______ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [clang] Disallow VLA type compound literals (PR #91891)
b9e41861 100644 --- a/clang/test/C/C2x/n2900_n3011.c +++ b/clang/test/C/C2x/n2900_n3011.c @@ -27,8 +27,14 @@ void test(void) { compat-warning {{use of an empty initializer is incompatible with C standards before C23}} int vla[i] = {}; // compat-warning {{use of an empty initializer is incompatible with C standards before C23}} \ pedantic-warning {{use of an empty initializer is a C23 extension}} + // C99 6.5.2.5 Compound literals constraint 1: The type name shall specify an + // object type or an array of unknown size, but not a variable length array + // type. int *compound_literal_vla = (int[i]){}; // compat-warning {{use of an empty initializer is incompatible with C standards before C23}} \ - pedantic-warning {{use of an empty initializer is a C23 extension}} + pedantic-warning {{use of an empty initializer is a C23 extension}}\ + compat-error {{compound literal has variable-length array type}} \ + pedantic-error {{compound literal has variable-length array type}}\ + struct T { int i; diff --git a/clang/test/C/C2x/n2900_n3011_2.c b/clang/test/C/C2x/n2900_n3011_2.c index eb15fbf905c86..ab659d636d155 100644 --- a/clang/test/C/C2x/n2900_n3011_2.c +++ b/clang/test/C/C2x/n2900_n3011_2.c @@ -76,22 +76,6 @@ void test_zero_size_vla() { // CHECK-NEXT: call void @llvm.memset.p0.i64(ptr {{.*}} %[[VLA]], i8 0, i64 %[[BYTES_TO_COPY]], i1 false) } -void test_compound_literal_vla() { - int num_elts = 12; - int *compound_literal_vla = (int[num_elts]){}; - // CHECK: define {{.*}} void @test_compound_literal_vla - // CHECK-NEXT: entry: - // CHECK-NEXT: %[[NUM_ELTS_PTR:.+]] = alloca i32 - // CHECK-NEXT: %[[COMP_LIT_VLA:.+]] = alloca ptr - // CHECK-NEXT: %[[COMP_LIT:.+]] = alloca i32 - // CHECK-NEXT: store i32 12, ptr %[[NUM_ELTS_PTR]] - // CHECK-NEXT: %[[NUM_ELTS:.+]] = load i32, ptr %[[NUM_ELTS_PTR]] - // CHECK-NEXT: %[[NUM_ELTS_EXT:.+]] = zext i32 %[[NUM_ELTS]] to i64 - // CHECK-NEXT: %[[BYTES_TO_COPY:.+]] = mul nuw i64 %[[NUM_ELTS_EXT]], 4 - // CHECK-NEXT: call void @llvm.memset.p0.i64(ptr {{.*}} %[[COMP_LIT]], i8 0, i64 %[[BYTES_TO_COPY]], i1 false) - // CHECK-NEXT: store ptr %[[COMP_LIT]], ptr %[[COMP_LIT_VLA]] -} - void test_nested_structs() { struct T t1 = { 1, {} }; struct T t2 = { 1, { 2, {} } }; diff --git a/clang/test/Sema/compound-literal.c b/clang/test/Sema/compound-literal.c index a64b6f9e5dfa4..b845ff317225e 100644 --- a/clang/test/Sema/compound-literal.c +++ b/clang/test/Sema/compound-literal.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -fblocks -pedantic %s +// RUN: %clang_cc1 -fsyntax-only -verify -fblocks -pedantic -Wno-comment %s // REQUIRES: LP64 struct foo { int a, b; }; @@ -29,7 +29,7 @@ int main(int argc, char **argv) { struct Incomplete; // expected-note{{forward declaration of 'struct Incomplete'}} struct Incomplete* I1 = &(struct Incomplete){1, 2, 3}; // expected-error {{variable has incomplete type}} void IncompleteFunc(unsigned x) { - struct Incomplete* I2 = (struct foo[x]){1, 2, 3}; // expected-error {{variable-sized object may not be initialized}} + struct Incomplete* I2 = (struct foo[x]){1, 2, 3}; // expected-error {{compound literal has variable-length array type}} (void){1,2,3}; // expected-error {{variable has incomplete type}} (void(void)) { 0 }; // expected-error{{illegal initializer type 'void (void)'}} } @@ -42,3 +42,14 @@ int (^block)(int) = ^(int i) { int *array = (int[]) {i, i + 2, i + 4}; return array[i]; }; + +// C99 6.5.2.5 Compound literals constraint 1: The type name shall specify an object type or an array of unknown size, but not a variable length array type. +// So check that VLA type compound literals are rejected (see https://github.com/llvm/llvm-project/issues/89835). +void vla(int n) { + int size = 5; + (void)(int[size]){}; // expected-warning {{use of an empty initializer is a C23 extension}} \ + expected-error {{compound literal has variable-length array type}} + (void)(int[size]){1}; // expected-error {{compound literal has variable-length array type}} + (void)(int[size]){1,2,3}; // expected-error {{compound literal has variable-length array type}} + (void)(int[size]){1,2,3,4,5}; // expected-error {{compound literal has variable-length array type}} +} ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[llvm-branch-commits] [clang] release/18.x: [Clang][Sema] Revise the transformation of CTAD parameters of nested class templates (#91628) (PR #91890)
char *]}} // expected-note@#INIT_LIST_INNER_INVALID {{candidate function template not viable: requires 1 argument, but 2 were provided}} // expected-note@#INIT_LIST_INNER_INVALID {{candidate function template not viable: requires 0 arguments, but 2 were provided}} + +namespace GH88142 { + +template struct X { + template struct Y { +template Y(T) {} + }; + + template Y(T) -> Y; +}; + +X::Y y(42); + +} // namespace PR88142 _______ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [clang] release/18.x: [Clang][Sema] Revise the transformation of CTAD parameters of nested class templates (#91628) (PR #91890)
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (llvmbot) Changes Backport 8c852ab57932 Requested by: @zyn0217 --- Full diff: https://github.com/llvm/llvm-project/pull/91890.diff 2 Files Affected: - (modified) clang/lib/Sema/SemaTemplate.cpp (+19-6) - (modified) clang/test/SemaTemplate/nested-implicit-deduction-guides.cpp (+14) ``diff diff --git a/clang/lib/Sema/SemaTemplate.cpp b/clang/lib/Sema/SemaTemplate.cpp index b619f5d729e86..a12a64939c464 100644 --- a/clang/lib/Sema/SemaTemplate.cpp +++ b/clang/lib/Sema/SemaTemplate.cpp @@ -2404,9 +2404,6 @@ struct ConvertConstructorToDeductionGuideTransform { Args.addOuterRetainedLevel(); } -if (NestedPattern) - Args.addOuterRetainedLevels(NestedPattern->getTemplateDepth()); - FunctionProtoTypeLoc FPTL = CD->getTypeSourceInfo()->getTypeLoc() .getAsAdjusted(); assert(FPTL && "no prototype for constructor declaration"); @@ -2526,11 +2523,27 @@ struct ConvertConstructorToDeductionGuideTransform { //-- The types of the function parameters are those of the constructor. for (auto *OldParam : TL.getParams()) { - ParmVarDecl *NewParam = - transformFunctionTypeParam(OldParam, Args, MaterializedTypedefs); - if (NestedPattern && NewParam) + ParmVarDecl *NewParam = OldParam; + // Given + // template struct C { + // template struct D { + // template D(U, V); + // }; + // }; + // First, transform all the references to template parameters that are + // defined outside of the surrounding class template. That is T in the + // above example. + if (NestedPattern) { NewParam = transformFunctionTypeParam(NewParam, OuterInstantiationArgs, MaterializedTypedefs); +if (!NewParam) + return QualType(); + } + // Then, transform all the references to template parameters that are + // defined at the class template and the constructor. In this example, + // they're U and V, respectively. + NewParam = + transformFunctionTypeParam(NewParam, Args, MaterializedTypedefs); if (!NewParam) return QualType(); ParamTypes.push_back(NewParam->getType()); diff --git a/clang/test/SemaTemplate/nested-implicit-deduction-guides.cpp b/clang/test/SemaTemplate/nested-implicit-deduction-guides.cpp index 38b6706595a11..f289dc0452868 100644 --- a/clang/test/SemaTemplate/nested-implicit-deduction-guides.cpp +++ b/clang/test/SemaTemplate/nested-implicit-deduction-guides.cpp @@ -84,3 +84,17 @@ nested_init_list::concept_fail nil_invalid{1, ""}; // expected-note@#INIT_LIST_INNER_INVALID {{candidate template ignored: substitution failure [with F = const char *]: constraints not satisfied for class template 'concept_fail' [with F = const char *]}} // expected-note@#INIT_LIST_INNER_INVALID {{candidate function template not viable: requires 1 argument, but 2 were provided}} // expected-note@#INIT_LIST_INNER_INVALID {{candidate function template not viable: requires 0 arguments, but 2 were provided}} + +namespace GH88142 { + +template struct X { + template struct Y { +template Y(T) {} + }; + + template Y(T) -> Y; +}; + +X::Y y(42); + +} // namespace PR88142 `` https://github.com/llvm/llvm-project/pull/91890 _______ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [clang] release/18.x: [Clang][Sema] Revise the transformation of CTAD parameters of nested class templates (#91628) (PR #91890)
llvmbot wrote: @zyn0217 What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/91890 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [clang] release/18.x: [Clang][Sema] Revise the transformation of CTAD parameters of nested class templates (#91628) (PR #91890)
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/91890 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [clang] release/18.x: [Clang][Sema] Revise the transformation of CTAD parameters of nested class templates (#91628) (PR #91890)
s template 'concept_fail' [with F = const char *]}} // expected-note@#INIT_LIST_INNER_INVALID {{candidate function template not viable: requires 1 argument, but 2 were provided}} // expected-note@#INIT_LIST_INNER_INVALID {{candidate function template not viable: requires 0 arguments, but 2 were provided}} + +namespace GH88142 { + +template struct X { + template struct Y { +template Y(T) {} + }; + + template Y(T) -> Y; +}; + +X::Y y(42); + +} // namespace PR88142 _______ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[jenkinsci/dingtalk-plugin] 0920d8: chore(deps): bump org.jenkins-ci.plugins:plugin fr...
Branch: refs/heads/main Home: https://github.com/jenkinsci/dingtalk-plugin Commit: 0920d8bedb34662c4c3e6194d5546ca685e7f653 https://github.com/jenkinsci/dingtalk-plugin/commit/0920d8bedb34662c4c3e6194d5546ca685e7f653 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: 2024-05-12 (Sun, 12 May 2024) Changed paths: M pom.xml Log Message: --- chore(deps): bump org.jenkins-ci.plugins:plugin from 4.81 to 4.82 (#278) Bumps [org.jenkins-ci.plugins:plugin](https://github.com/jenkinsci/plugin-pom) from 4.81 to 4.82. - [Release notes](https://github.com/jenkinsci/plugin-pom/releases) - [Changelog](https://github.com/jenkinsci/plugin-pom/blob/master/CHANGELOG.md) - [Commits](https://github.com/jenkinsci/plugin-pom/compare/plugin-4.81...plugin-4.82) --- updated-dependencies: - dependency-name: org.jenkins-ci.plugins:plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/dingtalk-plugin/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/dingtalk-plugin/push/refs/heads/main/3648e2-0920d8%40github.com.
[jenkinsci/unity3d-plugin] 5d8b88: Update parent pom and necessary modifications for ...
Branch: refs/heads/main Home: https://github.com/jenkinsci/unity3d-plugin Commit: 5d8b888b3b526b9bd46600c4f5b731f87e0c5d23 https://github.com/jenkinsci/unity3d-plugin/commit/5d8b888b3b526b9bd46600c4f5b731f87e0c5d23 Author: Bob Du Date: 2024-05-12 (Sun, 12 May 2024) Changed paths: M pom.xml M src/main/java/org/jenkinsci/plugins/unity3d/Unity3dInstallation.java M src/main/resources/index.jelly M src/main/resources/org/jenkinsci/plugins/unity3d/Unity3dBuilder/config.jelly M src/test/java/org/jenkinsci/plugins/unity3d/io/PipeTest.java M src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/org.jenkinsci.plugins.unity3d.Unity3dBuilder.xml M src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorExceptionWithCustomLogFile/org.jenkinsci.plugins.unity3d.Unity3dBuilder.xml M src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testExpectADifferentExitCode/jobs/test_unity3d/config.xml M src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testExpectADifferentExitCode/org.jenkinsci.plugins.unity3d.Unity3dBuilder.xml Log Message: --- Update parent pom and necessary modifications for compatibility (#23) Signed-off-by: Bob Du To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/unity3d-plugin/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/unity3d-plugin/push/refs/heads/main/a6766a-5d8b88%40github.com.
[clang] [llvm] [X86][Driver] Do not add `-evex512` for `-march=native` when the target doesn't support AVX512 (PR #91694)
phoebewang wrote: > You'll be probably building 18.1.6 with 18.1.5... and that's when you'll > notice the issue. I'm just about finished building 18.1.5 with your patch. So > hopefully all those issues will be gone. I'll report back Okay... This is a combined problem which I never thought before. Sorry for the inconvenience! https://github.com/llvm/llvm-project/pull/91694 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[jenkinsci/unity3d-plugin] d79237: JENKINS-22166 give a bit more time for the piping ...
Branch: refs/heads/main Home: https://github.com/jenkinsci/unity3d-plugin Commit: d792376afd67579f313043e7c701cf2559df02bd https://github.com/jenkinsci/unity3d-plugin/commit/d792376afd67579f313043e7c701cf2559df02bd Author: Jerome Lacoste Date: 2014-03-20 (Thu, 20 Mar 2014) Changed paths: M pom.xml M src/main/java/org/jenkinsci/plugins/unity3d/Unity3dBuilder.java A src/test/java/org/jenkinsci/plugins/unity3d/IntegrationTests.java A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/config.xml A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/config.xml A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/Assets/Editor.meta A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/Assets/Editor/Builder.cs A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/Assets/Editor/Builder.cs.meta A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/Assets/Editor/FileSystemUtil.cs A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/Assets/Editor/FileSystemUtil.cs.meta A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/Assets/Editor/Ionic.Zip.dll A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/Assets/Editor/Ionic.Zip.dll.meta A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/Assets/Editor/StringTemplate.dll A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/Assets/Editor/StringTemplate.dll.meta A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/Assets/Editor/antlr.runtime.dll A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/Assets/Editor/antlr.runtime.dll.meta A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/ProjectSettings/AudioManager.asset A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/ProjectSettings/DynamicsManager.asset A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/ProjectSettings/EditorBuildSettings.asset A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/ProjectSettings/EditorSettings.asset A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/ProjectSettings/GraphicsSettings.asset A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/ProjectSettings/InputManager.asset A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/ProjectSettings/NavMeshLayers.asset A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/ProjectSettings/NetworkManager.asset A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/ProjectSettings/Physics2DSettings.asset A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/ProjectSettings/ProjectSettings.asset A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/ProjectSettings/QualitySettings.asset A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/ProjectSettings/TagManager.asset A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/jobs/test_unity3d/workspace/ProjectSettings/TimeManager.asset A src/test/resources/org/jenkinsci/plugins/unity3d/IntegrationTests/testEditorException/org.jenkinsci.plugins.unity3d.Unity3dBuilder.xml Log Message: --- JENKINS-22166 give a bit more time for the piping to flush the console properly. Add integration tests Commit: c6810b12a83f7c23c0a422c4f5ec0db2d3f1b6ec https://github.com/jenkinsci/unity3d-plugin/commit/c6810b12a83f7c23c0a422c4f5ec0db2d3f1b6ec Author: Jerome Lacoste Date: 2014-03-20 (Thu, 20 Mar 2014) Changed paths: M
[clang] [clang-tools-extra] [compiler-rt] [lldb] [llvm] [mlir] [openmp] [polly] fix(python): fix comparison to None (PR #91857)
https://github.com/mtrofin approved this pull request. LGTM for the `ctx_profile` part. https://github.com/llvm/llvm-project/pull/91857 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[Lldb-commits] [clang] [clang-tools-extra] [compiler-rt] [lldb] [llvm] [mlir] [openmp] [polly] fix(python): fix comparison to None (PR #91857)
https://github.com/mtrofin approved this pull request. LGTM for the `ctx_profile` part. https://github.com/llvm/llvm-project/pull/91857 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
[jenkinsci/webhook-step-plugin] cb638c: Bump io.jenkins.tools.bom:bom-2.426.x (#249)
Branch: refs/heads/master Home: https://github.com/jenkinsci/webhook-step-plugin Commit: cb638c65519e77661c203fdd02d4d20ef60f2220 https://github.com/jenkinsci/webhook-step-plugin/commit/cb638c65519e77661c203fdd02d4d20ef60f2220 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: 2024-05-12 (Sun, 12 May 2024) Changed paths: M pom.xml Log Message: --- Bump io.jenkins.tools.bom:bom-2.426.x (#249) To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/webhook-step-plugin/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/webhook-step-plugin/push/refs/heads/master/e14510-cb638c%40github.com.
[jenkinsci/webhook-step-plugin]
Branch: refs/heads/dependabot/maven/master/io.jenkins.tools.bom-bom-2.426.x-3041.ve87ce2cdf223 Home: https://github.com/jenkinsci/webhook-step-plugin To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/webhook-step-plugin/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/webhook-step-plugin/push/refs/heads/dependabot/maven/master/io.jenkins.tools.bom-bom-2.426.x-3041.ve87ce2cdf223/86cbb5-00%40github.com.
[clang] [llvm] [X86][Driver] Do not add `-evex512` for `-march=native` when the target doesn't support AVX512 (PR #91694)
FireBurn wrote: You'll be probably building 18.1.6 with 18.1.5... and that's when you'll notice the issue. I'm just about finished building 18.1.5 with your patch. So hopefully all those issues will be gone. I'll report back https://github.com/llvm/llvm-project/pull/91694 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [llvm] [X86][Driver] Do not add `-evex512` for `-march=native` when the target doesn't support AVX512 (PR #91694)
phoebewang wrote: @FireBurn Sorry, I just noticed #91719. The above comments were based on the issue #91076. I didn't look at the source, but the command line doesn't have an AVX512 option. So I'm assuming the code may related function multi-versioning with manually specified target attributes regarding to AVX512 features. The reason is the same as #91719, but the scenarios may be more common in practice. The defect in previous patch does expose a known issue with the design of EVEX512, which we have noted in https://clang.llvm.org/docs/UsersManual.html#x86 In a word, when user uses target attributes with AVX512 features, they should add an explicit `evex512` or `no-evex512` for robustness since LLVM 18. Missing it may result in some unexpected codegen or error in some corner case. https://github.com/llvm/llvm-project/pull/91694 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang-tools-extra] [WIP][clang-tidy] Ignore `if consteval` in else-after-return (PR #91588)
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra @llvm/pr-subscribers-clang-tidy Author: Jover (JoverZhang) Changes Fixes #91561. --- Full diff: https://github.com/llvm/llvm-project/pull/91588.diff 2 Files Affected: - (modified) clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp (+2-2) - (added) clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-consteval.cpp (+17) ``diff diff --git a/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp b/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp index 1e85caf688355..2b185e7594add 100644 --- a/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp +++ b/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp @@ -113,7 +113,7 @@ static bool containsDeclInScope(const Stmt *Node) { } static void removeElseAndBrackets(DiagnosticBuilder , ASTContext , - const Stmt *Else, SourceLocation ElseLoc) { + const Stmt *Else, SourceLocation ElseLoc) { auto Remap = [&](SourceLocation Loc) { return Context.getSourceManager().getExpansionLoc(Loc); }; @@ -172,7 +172,7 @@ void ElseAfterReturnCheck::registerMatchers(MatchFinder *Finder) { breakStmt().bind(InterruptingStr), cxxThrowExpr().bind(InterruptingStr))); Finder->addMatcher( compoundStmt( - forEach(ifStmt(unless(isConstexpr()), + forEach(ifStmt(unless(isConstexpr()), unless(isConsteval()), hasThen(stmt( anyOf(InterruptsControlFlow, compoundStmt(has(InterruptsControlFlow), diff --git a/clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-consteval.cpp b/clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-consteval.cpp new file mode 100644 index 0..6235d8623ca7b --- /dev/null +++ b/clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-consteval.cpp @@ -0,0 +1,17 @@ +// RUN: %check_clang_tidy -std=c++20 %s readability-else-after-return %t + +// Consteval if is an exception to the rule, we cannot remove the else. +void f() { + if (sizeof(int) > 4) { +return; + } else { +return; + } + // CHECK-MESSAGES: [[@LINE-3]]:5: warning: do not use 'else' after 'return' + + if consteval { +return; + } else { +return; + } +} `` https://github.com/llvm/llvm-project/pull/91588 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang-tools-extra] [WIP][clang-tidy] Ignore `if consteval` in else-after-return (PR #91588)
https://github.com/JoverZhang ready_for_review https://github.com/llvm/llvm-project/pull/91588 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[leaf-commits] [packages] package repository for binary package files. branch master updated. c4a40cf1d84fd9260324eb07d3467eaa2f21f6df
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "package repository for binary package files.". The branch, master has been updated via c4a40cf1d84fd9260324eb07d3467eaa2f21f6df (commit) from 64b9b9ec0a9b35ec3fdbc844673f1ec11525450b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit c4a40cf1d84fd9260324eb07d3467eaa2f21f6df Author: kapeka Date: Sun May 12 16:46:21 2024 +0200 update latest to 7.3.1-rc1 --- Summary of changes: latest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- package repository for binary package files. ___ leaf-git-commits mailing list leaf-git-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-git-commits
[clang-tools-extra] [WIP][clang-tidy] Ignore `if consteval` in else-after-return (PR #91588)
JoverZhang wrote: > Thanks for your patch! Would you be able to add a test case for this please? Yes, thanks. I added a test case. https://github.com/llvm/llvm-project/pull/91588 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang-tools-extra] [WIP][clang-tidy] Ignore `if consteval` in else-after-return (PR #91588)
https://github.com/JoverZhang updated https://github.com/llvm/llvm-project/pull/91588 >From 19bf94ca3c093a6904482eab599f8366cad1384e Mon Sep 17 00:00:00 2001 From: Jover Zhang Date: Thu, 9 May 2024 20:56:51 +0800 Subject: [PATCH 1/2] [clang-tidy] Ignore `if consteval` in else-after-return --- .../clang-tidy/readability/ElseAfterReturnCheck.cpp | 4 1 file changed, 4 insertions(+) diff --git a/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp b/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp index 1e85caf688355..3ee09b2e6442c 100644 --- a/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp +++ b/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp @@ -317,6 +317,10 @@ void ElseAfterReturnCheck::check(const MatchFinder::MatchResult ) { return; } + if (If->isConsteval()) { +return; + } + DiagnosticBuilder Diag = diag(ElseLoc, WarningMessage) << ControlFlowInterruptor << SourceRange(ElseLoc); removeElseAndBrackets(Diag, *Result.Context, Else, ElseLoc); >From 2a394ddde92b23f9407ca74e597b569bb01da35f Mon Sep 17 00:00:00 2001 From: Jover Zhang Date: Sun, 12 May 2024 22:40:14 +0800 Subject: [PATCH 2/2] Add test case --- .../readability/ElseAfterReturnCheck.cpp| 8 ++-- .../else-after-return-if-consteval.cpp | 17 + 2 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-consteval.cpp diff --git a/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp b/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp index 3ee09b2e6442c..2b185e7594add 100644 --- a/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp +++ b/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp @@ -113,7 +113,7 @@ static bool containsDeclInScope(const Stmt *Node) { } static void removeElseAndBrackets(DiagnosticBuilder , ASTContext , - const Stmt *Else, SourceLocation ElseLoc) { + const Stmt *Else, SourceLocation ElseLoc) { auto Remap = [&](SourceLocation Loc) { return Context.getSourceManager().getExpansionLoc(Loc); }; @@ -172,7 +172,7 @@ void ElseAfterReturnCheck::registerMatchers(MatchFinder *Finder) { breakStmt().bind(InterruptingStr), cxxThrowExpr().bind(InterruptingStr))); Finder->addMatcher( compoundStmt( - forEach(ifStmt(unless(isConstexpr()), + forEach(ifStmt(unless(isConstexpr()), unless(isConsteval()), hasThen(stmt( anyOf(InterruptsControlFlow, compoundStmt(has(InterruptsControlFlow), @@ -317,10 +317,6 @@ void ElseAfterReturnCheck::check(const MatchFinder::MatchResult ) { return; } - if (If->isConsteval()) { -return; - } - DiagnosticBuilder Diag = diag(ElseLoc, WarningMessage) << ControlFlowInterruptor << SourceRange(ElseLoc); removeElseAndBrackets(Diag, *Result.Context, Else, ElseLoc); diff --git a/clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-consteval.cpp b/clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-consteval.cpp new file mode 100644 index 0..6235d8623ca7b --- /dev/null +++ b/clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-consteval.cpp @@ -0,0 +1,17 @@ +// RUN: %check_clang_tidy -std=c++20 %s readability-else-after-return %t + +// Consteval if is an exception to the rule, we cannot remove the else. +void f() { + if (sizeof(int) > 4) { +return; + } else { +return; + } + // CHECK-MESSAGES: [[@LINE-3]]:5: warning: do not use 'else' after 'return' + + if consteval { +return; + } else { +return; + } +} ___________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang-tools-extra] [WIP][clang-tidy] Ignore `if consteval` in else-after-return (PR #91588)
https://github.com/JoverZhang updated https://github.com/llvm/llvm-project/pull/91588 >From 19bf94ca3c093a6904482eab599f8366cad1384e Mon Sep 17 00:00:00 2001 From: Jover Zhang Date: Thu, 9 May 2024 20:56:51 +0800 Subject: [PATCH 1/2] [clang-tidy] Ignore `if consteval` in else-after-return --- .../clang-tidy/readability/ElseAfterReturnCheck.cpp | 4 1 file changed, 4 insertions(+) diff --git a/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp b/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp index 1e85caf688355..3ee09b2e6442c 100644 --- a/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp +++ b/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp @@ -317,6 +317,10 @@ void ElseAfterReturnCheck::check(const MatchFinder::MatchResult ) { return; } + if (If->isConsteval()) { +return; + } + DiagnosticBuilder Diag = diag(ElseLoc, WarningMessage) << ControlFlowInterruptor << SourceRange(ElseLoc); removeElseAndBrackets(Diag, *Result.Context, Else, ElseLoc); >From 2a394ddde92b23f9407ca74e597b569bb01da35f Mon Sep 17 00:00:00 2001 From: Jover Zhang Date: Sun, 12 May 2024 22:40:14 +0800 Subject: [PATCH 2/2] Add test case --- .../readability/ElseAfterReturnCheck.cpp| 8 ++-- .../else-after-return-if-consteval.cpp | 17 + 2 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-consteval.cpp diff --git a/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp b/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp index 3ee09b2e6442c..2b185e7594add 100644 --- a/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp +++ b/clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp @@ -113,7 +113,7 @@ static bool containsDeclInScope(const Stmt *Node) { } static void removeElseAndBrackets(DiagnosticBuilder , ASTContext , - const Stmt *Else, SourceLocation ElseLoc) { + const Stmt *Else, SourceLocation ElseLoc) { auto Remap = [&](SourceLocation Loc) { return Context.getSourceManager().getExpansionLoc(Loc); }; @@ -172,7 +172,7 @@ void ElseAfterReturnCheck::registerMatchers(MatchFinder *Finder) { breakStmt().bind(InterruptingStr), cxxThrowExpr().bind(InterruptingStr))); Finder->addMatcher( compoundStmt( - forEach(ifStmt(unless(isConstexpr()), + forEach(ifStmt(unless(isConstexpr()), unless(isConsteval()), hasThen(stmt( anyOf(InterruptsControlFlow, compoundStmt(has(InterruptsControlFlow), @@ -317,10 +317,6 @@ void ElseAfterReturnCheck::check(const MatchFinder::MatchResult ) { return; } - if (If->isConsteval()) { -return; - } - DiagnosticBuilder Diag = diag(ElseLoc, WarningMessage) << ControlFlowInterruptor << SourceRange(ElseLoc); removeElseAndBrackets(Diag, *Result.Context, Else, ElseLoc); diff --git a/clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-consteval.cpp b/clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-consteval.cpp new file mode 100644 index 0..6235d8623ca7b --- /dev/null +++ b/clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-consteval.cpp @@ -0,0 +1,17 @@ +// RUN: %check_clang_tidy -std=c++20 %s readability-else-after-return %t + +// Consteval if is an exception to the rule, we cannot remove the else. +void f() { + if (sizeof(int) > 4) { +return; + } else { +return; + } + // CHECK-MESSAGES: [[@LINE-3]]:5: warning: do not use 'else' after 'return' + + if consteval { +return; + } else { +return; + } +} ___________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[Lldb-commits] [lldb] [lldb] Fixed the test TestQuoting (PR #91886)
https://github.com/slydiman updated https://github.com/llvm/llvm-project/pull/91886 >From f6135c1b825afd9fe733b845dfd12ffe3c162840 Mon Sep 17 00:00:00 2001 From: Dmitry Vasilyev Date: Sun, 12 May 2024 18:08:50 +0400 Subject: [PATCH 1/2] [lldb] Fixed the test TestQuoting os.path.join() uses the path separator of the host OS by default. outfile_arg will be incorrect in case of Windows host and Linux target. Use lldbutil.append_to_process_working_directory() instead. --- lldb/test/API/commands/settings/quoting/TestQuoting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/test/API/commands/settings/quoting/TestQuoting.py b/lldb/test/API/commands/settings/quoting/TestQuoting.py index 393f4be3c8242..d6246a5309c5d 100644 --- a/lldb/test/API/commands/settings/quoting/TestQuoting.py +++ b/lldb/test/API/commands/settings/quoting/TestQuoting.py @@ -51,8 +51,8 @@ def expect_args(self, args_in, args_out): outfile = self.getBuildArtifact(filename) if lldb.remote_platform: -outfile_arg = os.path.join( -lldb.remote_platform.GetWorkingDirectory(), filename +outfile_arg = lldbutil.append_to_process_working_directory( +self, filename ) else: outfile_arg = outfile >From ff85c4d9cb0c749fe75be1493dd22b7f7c0de9be Mon Sep 17 00:00:00 2001 From: Dmitry Vasilyev Date: Sun, 12 May 2024 18:35:12 +0400 Subject: [PATCH 2/2] Updated the formatting by darker --- lldb/test/API/commands/settings/quoting/TestQuoting.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lldb/test/API/commands/settings/quoting/TestQuoting.py b/lldb/test/API/commands/settings/quoting/TestQuoting.py index d6246a5309c5d..60ad4e0a4 100644 --- a/lldb/test/API/commands/settings/quoting/TestQuoting.py +++ b/lldb/test/API/commands/settings/quoting/TestQuoting.py @@ -51,9 +51,7 @@ def expect_args(self, args_in, args_out): outfile = self.getBuildArtifact(filename) if lldb.remote_platform: -outfile_arg = lldbutil.append_to_process_working_directory( -self, filename -) +outfile_arg = lldbutil.append_to_process_working_directory(self, filename) else: outfile_arg = outfile ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
[Lldb-commits] [lldb] [lldb][Windows] Enforce exec permission using Platform::Install() from Windows host (PR #91887)
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dmitry Vasilyev (slydiman) Changes Target::Install() set 0700 permissions for the main executable file. Platform::Install() just copies permissions from the source. But the permission eFilePermissionsUserExecute is missing on the Windows host. A lot of tests failed in case of Windows host and Linux target because of this issue. There is no API to provide the exec flag. This patch set the permission eFilePermissionsUserExecute for all files installed via Platform::Install() from the Windows host. It fixes a lot of tests in case of Windows host and Linux target. --- Full diff: https://github.com/llvm/llvm-project/pull/91887.diff 1 Files Affected: - (modified) lldb/source/Target/Platform.cpp (+4) ``diff diff --git a/lldb/source/Target/Platform.cpp b/lldb/source/Target/Platform.cpp index 4af4aa68ccd01..0e7739b3712d7 100644 --- a/lldb/source/Target/Platform.cpp +++ b/lldb/source/Target/Platform.cpp @@ -1227,6 +1227,10 @@ Status Platform::PutFile(const FileSpec , const FileSpec , if (permissions == 0) permissions = lldb::eFilePermissionsFileDefault; +#if defined(_WIN32) + permissions |= lldb::eFilePermissionsUserExecute; +#endif + lldb::user_id_t dest_file = OpenFile( destination, File::eOpenOptionCanCreate | File::eOpenOptionWriteOnly | File::eOpenOptionTruncate | File::eOpenOptionCloseOnExec, `` https://github.com/llvm/llvm-project/pull/91887 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
[Lldb-commits] [lldb] [lldb][Windows] Enforce exec permission using Platform::Install() from Windows host (PR #91887)
https://github.com/slydiman created https://github.com/llvm/llvm-project/pull/91887 Target::Install() set 0700 permissions for the main executable file. Platform::Install() just copies permissions from the source. But the permission eFilePermissionsUserExecute is missing on the Windows host. A lot of tests failed in case of Windows host and Linux target because of this issue. There is no API to provide the exec flag. This patch set the permission eFilePermissionsUserExecute for all files installed via Platform::Install() from the Windows host. It fixes a lot of tests in case of Windows host and Linux target. >From 94f75bd21aac412b9971ccc8dc8382e4a75dc1cd Mon Sep 17 00:00:00 2001 From: Dmitry Vasilyev Date: Sun, 12 May 2024 18:29:09 +0400 Subject: [PATCH] [lldb][Windows] Enforce exec permission using Platform::Install() from Windows host Target::Install() set 0700 permissions for the main executable file. Platform::Install() just copies permissions from the source. But the permission eFilePermissionsUserExecute is missing on the Windows host. A lot of tests failed in case of Windows host and Linux target because of this issue. There is no API to provide the exec flag. This patch set the permission eFilePermissionsUserExecute for all files installed via Platform::Install() from the Windows host. It fixes a lot of tests in case of Windows host and Linux target. --- lldb/source/Target/Platform.cpp | 4 1 file changed, 4 insertions(+) diff --git a/lldb/source/Target/Platform.cpp b/lldb/source/Target/Platform.cpp index 4af4aa68ccd01..0e7739b3712d7 100644 --- a/lldb/source/Target/Platform.cpp +++ b/lldb/source/Target/Platform.cpp @@ -1227,6 +1227,10 @@ Status Platform::PutFile(const FileSpec , const FileSpec , if (permissions == 0) permissions = lldb::eFilePermissionsFileDefault; +#if defined(_WIN32) + permissions |= lldb::eFilePermissionsUserExecute; +#endif + lldb::user_id_t dest_file = OpenFile( destination, File::eOpenOptionCanCreate | File::eOpenOptionWriteOnly | File::eOpenOptionTruncate | File::eOpenOptionCloseOnExec, ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
[Lldb-commits] [lldb] [lldb] Fixed the test TestQuoting (PR #91886)
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r 1d6bf0ca29322b08e8b50681d440e7182441b025...f6135c1b825afd9fe733b845dfd12ffe3c162840 lldb/test/API/commands/settings/quoting/TestQuoting.py `` View the diff from darker here. ``diff --- TestQuoting.py 2024-05-12 14:08:50.00 + +++ TestQuoting.py 2024-05-12 14:13:04.914847 + @@ -49,13 +49,11 @@ filename = SettingsCommandTestCase.output_file_name outfile = self.getBuildArtifact(filename) if lldb.remote_platform: -outfile_arg = lldbutil.append_to_process_working_directory( -self, filename -) +outfile_arg = lldbutil.append_to_process_working_directory(self, filename) else: outfile_arg = outfile self.runCmd("process launch -- %s %s" % (outfile_arg, args_in)) `` https://github.com/llvm/llvm-project/pull/91886 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
[Lldb-commits] [lldb] [lldb] Fixed the test TestQuoting (PR #91886)
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dmitry Vasilyev (slydiman) Changes os.path.join() uses the path separator of the host OS by default. outfile_arg will be incorrect in case of Windows host and Linux target. Use lldbutil.append_to_process_working_directory() instead. --- Full diff: https://github.com/llvm/llvm-project/pull/91886.diff 1 Files Affected: - (modified) lldb/test/API/commands/settings/quoting/TestQuoting.py (+2-2) ``diff diff --git a/lldb/test/API/commands/settings/quoting/TestQuoting.py b/lldb/test/API/commands/settings/quoting/TestQuoting.py index 393f4be3c8242..d6246a5309c5d 100644 --- a/lldb/test/API/commands/settings/quoting/TestQuoting.py +++ b/lldb/test/API/commands/settings/quoting/TestQuoting.py @@ -51,8 +51,8 @@ def expect_args(self, args_in, args_out): outfile = self.getBuildArtifact(filename) if lldb.remote_platform: -outfile_arg = os.path.join( -lldb.remote_platform.GetWorkingDirectory(), filename +outfile_arg = lldbutil.append_to_process_working_directory( +self, filename ) else: outfile_arg = outfile `` https://github.com/llvm/llvm-project/pull/91886 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
[Lldb-commits] [lldb] [lldb] Fixed the test TestQuoting (PR #91886)
https://github.com/slydiman created https://github.com/llvm/llvm-project/pull/91886 os.path.join() uses the path separator of the host OS by default. outfile_arg will be incorrect in case of Windows host and Linux target. Use lldbutil.append_to_process_working_directory() instead. >From f6135c1b825afd9fe733b845dfd12ffe3c162840 Mon Sep 17 00:00:00 2001 From: Dmitry Vasilyev Date: Sun, 12 May 2024 18:08:50 +0400 Subject: [PATCH] [lldb] Fixed the test TestQuoting os.path.join() uses the path separator of the host OS by default. outfile_arg will be incorrect in case of Windows host and Linux target. Use lldbutil.append_to_process_working_directory() instead. --- lldb/test/API/commands/settings/quoting/TestQuoting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/test/API/commands/settings/quoting/TestQuoting.py b/lldb/test/API/commands/settings/quoting/TestQuoting.py index 393f4be3c8242..d6246a5309c5d 100644 --- a/lldb/test/API/commands/settings/quoting/TestQuoting.py +++ b/lldb/test/API/commands/settings/quoting/TestQuoting.py @@ -51,8 +51,8 @@ def expect_args(self, args_in, args_out): outfile = self.getBuildArtifact(filename) if lldb.remote_platform: -outfile_arg = os.path.join( -lldb.remote_platform.GetWorkingDirectory(), filename +outfile_arg = lldbutil.append_to_process_working_directory( +self, filename ) else: outfile_arg = outfile ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
[clang] [clang][NFC] Remove class layout scissor (PR #89055)
https://github.com/urnathan closed https://github.com/llvm/llvm-project/pull/89055 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] 1d6bf0c - [clang][NFC] Remove class layout scissor (#89055)
Author: Nathan Sidwell Date: 2024-05-12T09:45:00-04:00 New Revision: 1d6bf0ca29322b08e8b50681d440e7182441b025 URL: https://github.com/llvm/llvm-project/commit/1d6bf0ca29322b08e8b50681d440e7182441b025 DIFF: https://github.com/llvm/llvm-project/commit/1d6bf0ca29322b08e8b50681d440e7182441b025.diff LOG: [clang][NFC] Remove class layout scissor (#89055) PR #87090 amended `accumulateBitfields` to do the correct clipping. The scissor is no longer necessary and `checkBitfieldClipping` can compute its location directly when needed. Added: Modified: clang/lib/CodeGen/CGRecordLayoutBuilder.cpp Removed: diff --git a/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp b/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp index 868b1ab98e048..5169be204c14d 100644 --- a/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp +++ b/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp @@ -75,7 +75,7 @@ struct CGRecordLowering { // sentinel member type that ensures correct rounding. struct MemberInfo { CharUnits Offset; -enum InfoKind { VFPtr, VBPtr, Field, Base, VBase, Scissor } Kind; +enum InfoKind { VFPtr, VBPtr, Field, Base, VBase } Kind; llvm::Type *Data; union { const FieldDecl *FD; @@ -197,7 +197,7 @@ struct CGRecordLowering { const CXXRecordDecl *Query) const; void calculateZeroInit(); CharUnits calculateTailClippingOffset(bool isNonVirtualBaseType) const; - void checkBitfieldClipping() const; + void checkBitfieldClipping(bool isNonVirtualBaseType) const; /// Determines if we need a packed llvm struct. void determinePacked(bool NVBaseType); /// Inserts padding everywhere it's needed. @@ -299,8 +299,8 @@ void CGRecordLowering::lower(bool NVBaseType) { accumulateVBases(); } llvm::stable_sort(Members); + checkBitfieldClipping(NVBaseType); Members.push_back(StorageInfo(Size, getIntNType(8))); - checkBitfieldClipping(); determinePacked(NVBaseType); insertPadding(); Members.pop_back(); @@ -894,8 +894,6 @@ CGRecordLowering::calculateTailClippingOffset(bool isNonVirtualBaseType) const { } void CGRecordLowering::accumulateVBases() { - Members.push_back(MemberInfo(calculateTailClippingOffset(false), - MemberInfo::Scissor, nullptr, RD)); for (const auto : RD->vbases()) { const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); if (BaseDecl->isEmpty()) @@ -950,18 +948,19 @@ void CGRecordLowering::calculateZeroInit() { } // Verify accumulateBitfields computed the correct storage representations. -void CGRecordLowering::checkBitfieldClipping() const { +void CGRecordLowering::checkBitfieldClipping(bool IsNonVirtualBaseType) const { #ifndef NDEBUG + auto ScissorOffset = calculateTailClippingOffset(IsNonVirtualBaseType); auto Tail = CharUnits::Zero(); for (const auto : Members) { -// Only members with data and the scissor can cut into tail padding. -if (!M.Data && M.Kind != MemberInfo::Scissor) +// Only members with data could possibly overlap. +if (!M.Data) continue; assert(M.Offset >= Tail && "Bitfield access unit is not clipped"); -Tail = M.Offset; -if (M.Data) - Tail += getSize(M.Data); +Tail = M.Offset + getSize(M.Data); +assert((Tail <= ScissorOffset || M.Offset >= ScissorOffset) && + "Bitfield straddles scissor offset"); } #endif } _______ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[leaf-commits] [packages] package repository for binary package files. branch 7.3.1-rc1 created. 715f49fde4b9495ad1ed65f49f0be038c1b9ce4a
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "package repository for binary package files.". The branch, 7.3.1-rc1 has been created at 715f49fde4b9495ad1ed65f49f0be038c1b9ce4a (commit) - Log - commit 715f49fde4b9495ad1ed65f49f0be038c1b9ce4a Author: kapeka Date: Sun May 12 15:13:05 2024 +0200 ./release-to-git.sh committed branch 7.3.1-rc1 --- hooks/post-receive -- package repository for binary package files. ___ leaf-git-commits mailing list leaf-git-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-git-commits
[jenkinsci/jenkins] ad571f: Clean up file parameter tests (#9260)
Branch: refs/heads/master Home: https://github.com/jenkinsci/jenkins Commit: ad571f8dec181369de350432cbdaafcf1d01fa47 https://github.com/jenkinsci/jenkins/commit/ad571f8dec181369de350432cbdaafcf1d01fa47 Author: Basil Crow Date: 2024-05-12 (Sun, 12 May 2024) Changed paths: M core/src/main/java/hudson/model/FileParameterValue.java A test/src/test/java/hudson/model/FileParameterValuePersistenceTest.java M test/src/test/java/hudson/model/QueueTest.java Log Message: --- Clean up file parameter tests (#9260) To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/jenkins/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/master/144e6b-ad571f%40github.com.
[jenkinsci/jenkins] 144e6b: Update dependency css-minimizer-webpack-plugin to ...
Branch: refs/heads/master Home: https://github.com/jenkinsci/jenkins Commit: 144e6b1a98fd23cac66f393a0f6c026865357645 https://github.com/jenkinsci/jenkins/commit/144e6b1a98fd23cac66f393a0f6c026865357645 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: 2024-05-12 (Sun, 12 May 2024) Changed paths: M war/package.json M war/yarn.lock Log Message: --- Update dependency css-minimizer-webpack-plugin to v7 (#9255) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/jenkins/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/master/a8ceeb-144e6b%40github.com.
[jenkinsci/jenkins]
Branch: refs/renovate/branches/renovate/globals-15.x Home: https://github.com/jenkinsci/jenkins To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/jenkins/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/renovate/branches/renovate/globals-15.x/05000f-00%40github.com.
[jenkinsci/jenkins] 0f3717: Update dependency globals to v15.2.0
Branch: refs/heads/renovate/globals-15.x Home: https://github.com/jenkinsci/jenkins Commit: 0f3717dce97116042579e2676b1b00129f4ad889 https://github.com/jenkinsci/jenkins/commit/0f3717dce97116042579e2676b1b00129f4ad889 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: 2024-05-12 (Sun, 12 May 2024) Changed paths: M war/package.json M war/yarn.lock Log Message: --- Update dependency globals to v15.2.0 To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/jenkins/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/renovate/globals-15.x/00-0f3717%40github.com.
[jenkinsci/jenkins] 05000f: Update dependency globals to v15.2.0
Branch: refs/renovate/branches/renovate/globals-15.x Home: https://github.com/jenkinsci/jenkins Commit: 05000f9c79375c49c573651f7fea667fdbcb24e4 https://github.com/jenkinsci/jenkins/commit/05000f9c79375c49c573651f7fea667fdbcb24e4 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: 2024-05-12 (Sun, 12 May 2024) Changed paths: M war/package.json M war/yarn.lock Log Message: --- Update dependency globals to v15.2.0 To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/jenkins/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/renovate/branches/renovate/globals-15.x/00-05000f%40github.com.
[jenkinsci/jenkins] 85ea17: Update yarn in war/pom.xml
Branch: refs/heads/renovate/yarn-monorepo Home: https://github.com/jenkinsci/jenkins Commit: 85ea17b246db8d1e37c5e0af020d4bd42963d6e2 https://github.com/jenkinsci/jenkins/commit/85ea17b246db8d1e37c5e0af020d4bd42963d6e2 Author: Alexander Brandes Date: 2024-05-12 (Sun, 12 May 2024) Changed paths: M war/pom.xml Log Message: --- Update yarn in war/pom.xml Signed-off-by: Alexander Brandes To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/jenkins/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/renovate/yarn-monorepo/89eb25-85ea17%40github.com.
[clang] [llvm] [X86][Driver] Do not add `-evex512` for `-march=native` when the target doesn't support AVX512 (PR #91694)
phoebewang wrote: > @tstellar Can a note be added somewhere about this? Folks upgrading to > llvm-18.1.6 will get errors unless they drop -march=native if they were on > 18.1.5 Although I agree we should add a note, I don't think this patch affects much. The problem only coccurs when combining `-march=native` with AVX512 options on a non AVX512 target. This actually is not a valid scenario. The compiled binary will contain AVX512 instruction which crashes it on the target. It violates the intention of using `-march=native`. I also don't see where the error from with 18.1.6. If there were errors, it should come from 18.1.5. https://github.com/llvm/llvm-project/pull/91694 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[leaf-commits] [bering-uclibc] Repository for Bering-uClibc. annotated tag v7.3.1-rc1 created. v7.3.1-rc1
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Repository for Bering-uClibc.". The annotated tag, v7.3.1-rc1 has been created at a9a3c7c41906bef3ed9db5565c4f17947d4aaa8a (tag) tagging 306d0c1e1fda6981c79cdae1560a04810b0acb69 (commit) replaces v7.3.1-beta1 tagged by kapeka on Sun May 12 15:11:01 2024 +0200 - Log - Release of LEAF Bering-uClibc 7.3.1-rc1 Andrew Denisenko (3): redirector: fix redirect url in header redirector: add option to specify redirect code (302 or 511) at: update to 3.2.5 John Sager (1): Addition of nftables repo kapeka (16): tor: updated to upstream version 0.4.8.11 seperate libnftables from the utils package nftables Revert "Addition of nftables repo" libarchive: updated to upstream version 3.7.3 Merge branch 'nftables-test' remove outdated nftbales test version nftables: new package(s) with nft util and libnftables dmidecode: updated to upstream version 3.6 nano: updated to upstream version 8.0 rsync: updated to upstream version 3.3.0 libpng: updated to upstream version 1.6.43 libmicrohttpd: updated to upstream version 1.0.1 libcap-ng: updated to upstream version 0.8.5 lighttpd: updated to upstream version 1.4.76 easyrsa: update sha digest to a trusted one (sha256) initrd: bump to 7.3.1-rc1 --- hooks/post-receive -- Repository for Bering-uClibc. _______ leaf-git-commits mailing list leaf-git-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-git-commits
[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [polly] [test]: fix filecheck annotation typos (PR #91854)
@@ -109,16 +109,16 @@ CHECK-NEXT: 0x000e: [DW_RLE_offset_pair ]: {{.*}}[0x[[RANGELIST_OFFSET_STAR CHECK-NEXT: 0x0011: [DW_RLE_end_of_list ] CHECK: .debug_names contents: -CHECK-NEX:T Name Index @ 0x0 { -CHECK-NEX:T Header { -CHECK-NEX:T Length: 0x7C -CHECK-NEX:T Format: DWARF32 -CHECK-NEX:T Version: 5 -CHECK-NEX:T CU count: 1 -CHECK-NEX:T Local TU count: 0 -CHECK-NEX:T Foreign TU count: 0 -CHECK-NEX:T Bucket count: 3 -CHECK-NEX:T Name count: 3 -CHECK-NEX:T Abbreviations table size: 0xD -CHECK-NEX:T Augmentation: 'LLVM0700' -CHECK-NEX:T } +CHECK-NEXT: Name Index @ 0x0 { +CHECK-NEXT: Header { +CHECK-NEXT: Length: 0x7C klensy wrote: actual `Length: 0x80 ` https://github.com/llvm/llvm-project/pull/91854 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [polly] [test]: fix filecheck annotation typos (PR #91854)
@@ -1,6 +1,6 @@ // RUN: llvm-mc -filetype=asm -triple powerpc-ibm-aix-xcoff %s | FileCheck %s -// CHECK-label: .csect .text[PR],2 klensy wrote: actual: `.csect ..text..[PR],5` https://github.com/llvm/llvm-project/pull/91854 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [llvm] [X86][Driver] Do not add `-evex512` for `-march=native` when the target doesn't support AVX512 (PR #91694)
FireBurn wrote: @tstellar Can a note be added somewhere about this? Folks upgrading to llvm-18.1.6 will get errors unless they drop -march=native if they were on 18.1.5 https://github.com/llvm/llvm-project/pull/91694 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[leaf-commits] [bering-uclibc] Repository for Bering-uClibc. branch master updated. v7.3.1-beta1-20-g306d0c1e1f
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Repository for Bering-uClibc.". The branch, master has been updated via 306d0c1e1fda6981c79cdae1560a04810b0acb69 (commit) via 7f7ed02d5276a27b319bdad5aea7c0dcb28251b6 (commit) via 1c92fc63fc35bd195a989f49365a0e741adfe169 (commit) from 96e0356233577154438dd6504c335c09a447c918 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 306d0c1e1fda6981c79cdae1560a04810b0acb69 Author: kapeka Date: Sat May 11 15:18:43 2024 +0200 initrd: bump to 7.3.1-rc1 commit 7f7ed02d5276a27b319bdad5aea7c0dcb28251b6 Author: kapeka Date: Sat May 11 15:17:19 2024 +0200 easyrsa: update sha digest to a trusted one (sha256) Thx to marko for spotting this. commit 1c92fc63fc35bd195a989f49365a0e741adfe169 Author: kapeka Date: Fri May 10 16:29:02 2024 +0200 lighttpd: updated to upstream version 1.4.76 --- Summary of changes: repo/easyrsa/buildtool.cfg | 4 ++-- repo/easyrsa/buildtool.mk| 10 ++ repo/initrd/buildtool.cfg| 2 +- repo/lighttpd/buildtool.cfg | 2 +- repo/lighttpd/buildtool.mk | 1 + repo/lighttpd/lighttpd-1.4.75.tar.xz | Bin 1102080 -> 0 bytes repo/lighttpd/lighttpd-1.4.76.tar.xz | Bin 0 -> 847132 bytes 7 files changed, 11 insertions(+), 8 deletions(-) delete mode 100644 repo/lighttpd/lighttpd-1.4.75.tar.xz create mode 100644 repo/lighttpd/lighttpd-1.4.76.tar.xz hooks/post-receive -- Repository for Bering-uClibc. ___ leaf-git-commits mailing list leaf-git-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-git-commits
[clang] [llvm] [mlir] [Clang][CodeGen] Start migrating away from assuming the Default AS is 0 (PR #88182)
https://github.com/AlexVlx edited https://github.com/llvm/llvm-project/pull/88182 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [llvm] [mlir] [Clang][CodeGen] Start migrating away from assuming the Default AS is 0 (PR #88182)
https://github.com/AlexVlx commented: > Please fix the commit message before you merge; otherwise LGTM For the commit message I was thinking something along the following lines: `At the moment, Clang is rather liberal in assuming that 0 (and by extension unqualified) is always a safe default. This does not work for targets that actually use a different value for the default / generic AS (for example, the SPIRV that obtains from HIPSPV or SYCL). This patch is a first, fairly safe step towards trying to clear things up by querying a modules default AS from the target, rather than assuming it's 0, alongside fixing a few places where things break / we encode the 0 AS assumption. A bunch of existing tests are extended to check for non-zero default AS usage.` https://github.com/llvm/llvm-project/pull/88182 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[Qemu-commits] [qemu/qemu] 9f07e4: target/i386: remove PCOMMIT from TCG, deprecate pr...
tests/tcg/i386/test-i386.c Log Message: --- Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging * target/i386: miscellaneous changes, mostly TCG-related * fix --without-default-devices build * fix --without-default-devices qtests on s390x and arm # -BEGIN PGP SIGNATURE- # # iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmY+JWIUHHBib256aW5p # QHJlZGhhdC5jb20ACgkQv/vSX3jHroOGmwf+JKY/i7ihXvfINQIRSKaz+H7KM3Br # BGv/iXj4hrRA+zflcZswwoWmPrkrXM3J5JqGG6zTqqhGne+fRKt60KBFwn+lRaMY # n48icR4zOSaEcGKBOFKs9CB1JgL7SWMe+fZ8d02amYlIZ005af0d69ACenF9r/oX # pTxYIrR90FdZStbF4Yl0G5CzMLBdHZd/b6bMNmbefVPv3/d2zuL7VgqLX3y3J0ee # ASYkYjn8Wpda4KX9s2rvH9ENXj80Q7EqhuDvoBlyK72/2lE5aTojbUiyGB4n5AuX # 5OHA+0HEpuCXXToijOeDXD1NDOk9E5DP8cEwwZfZ2gjWKjja0U6OODGLVw== # =woTe # -END PGP SIGNATURE- # gpg: Signature made Fri 10 May 2024 03:47:14 PM CEST # gpg:using RSA key F13338574B662389866C7682BFFBD25F78C7AE83 # gpg:issuer "pbonz...@redhat.com" # gpg: Good signature from "Paolo Bonzini " [full] # gpg: aka "Paolo Bonzini " [full] * tag 'for-upstream' of https://gitlab.com/bonzini/qemu: (27 commits) configs: disable emulators that require it if libfdt is not found hw/xtensa: require libfdt kconfig: express dependency of individual boards on libfdt kconfig: allow compiling out QEMU device tree code per target meson: move libfdt together with other dependencies meson: pick libfdt from common_ss when building target-specific files tests/qtest: arm: fix operation in a build without any boards or devices i386: select correct components for no-board build hw/i386: move rtc-reset-reinjection command out of hw/rtc hw/i386: split x86.c in multiple parts i386: pc: remove unnecessary MachineClass overrides i386: correctly select code in hw/i386 that depends on other components xen: register legacy backends via xen_backend_init xen: initialize legacy backends from xen_bus_init() tests/qtest: s390x: fix operation in a build without any boards or devices s390x: select correct components for no-board build s390: move css_migration_enabled from machine to css.c s390_flic: add migration-enabled property s390x: move s390_cpu_addr2state to target/s390x/sigp.c sh4: select correct components for no-board build ... Signed-off-by: Richard Henderson Compare: https://github.com/qemu/qemu/compare/dafec285bdbf...936007019678 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications
[Lldb-commits] [clang] [clang-tools-extra] [compiler-rt] [lldb] [llvm] [mlir] [openmp] [polly] fix(python): fix comparison to None (PR #91857)
https://github.com/ftynse approved this pull request. LGTM for the MLIR part. Please seek approval from relevant reviewers for all other subprojects. https://github.com/llvm/llvm-project/pull/91857 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
[clang] [clang-tools-extra] [compiler-rt] [lldb] [llvm] [mlir] [openmp] [polly] fix(python): fix comparison to None (PR #91857)
https://github.com/ftynse approved this pull request. LGTM for the MLIR part. Please seek approval from relevant reviewers for all other subprojects. https://github.com/llvm/llvm-project/pull/91857 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[Lldb-commits] [lldb] [llvm] [lldb] Refactor string manipulation in Debugger.cpp (#91209) (PR #91880)
https://github.com/JOE1994 closed https://github.com/llvm/llvm-project/pull/91880 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
[Lldb-commits] [lldb] [llvm] [lldb] Refactor string manipulation in Debugger.cpp (#91209) (PR #91880)
JOE1994 wrote: A new user already asked to be assigned to work on #91209 2 days ago in the comments. **I think that user deserves an opportunity to work on the issue**. Next time when you see a **"good first issue"** which a new user had already asked to get assigned to, please assign it to the new user. https://github.com/llvm/llvm-project/pull/91880 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
[jenkinsci/design-library-plugin]
Branch: refs/tags/303.v6b_23c12334c9 Home: https://github.com/jenkinsci/design-library-plugin To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/design-library-plugin/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/design-library-plugin/push/refs/tags/303.v6b_23c12334c9/00-6b23c1%40github.com.
[jenkinsci/design-library-plugin] 6b23c1: Add build/weather symbols docs (#326)
Branch: refs/heads/master Home: https://github.com/jenkinsci/design-library-plugin Commit: 6b23c12334c999ec3b3a33e88d4b46646642d393 https://github.com/jenkinsci/design-library-plugin/commit/6b23c12334c999ec3b3a33e88d4b46646642d393 Author: Jan Faracik <43062514+janfara...@users.noreply.github.com> Date: 2024-05-12 (Sun, 12 May 2024) Changed paths: M src/main/resources/io/jenkins/plugins/designlibrary/Symbols/index.jelly M src/main/resources/io/jenkins/plugins/designlibrary/Symbols/index.properties M src/main/resources/scss/abstracts/_mixins.scss M src/main/resources/scss/components/_component-sample.scss A src/main/webapp/Symbols/symbol-status.jelly A src/main/webapp/Symbols/symbol-weather.jelly Log Message: --- Add build/weather symbols docs (#326) To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/design-library-plugin/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/design-library-plugin/push/refs/heads/master/1eb681-6b23c1%40github.com.
[jenkinsci/azure-ad-plugin] 5fd019: Provide correct key discovery url for sovereign cl...
Branch: refs/heads/master Home: https://github.com/jenkinsci/azure-ad-plugin Commit: 5fd019a39b18c3c6e606742f860e0f7156db8b4e https://github.com/jenkinsci/azure-ad-plugin/commit/5fd019a39b18c3c6e606742f860e0f7156db8b4e Author: Tim Jacomb <21194782+ti...@users.noreply.github.com> Date: 2024-05-12 (Sun, 12 May 2024) Changed paths: M .run/azure-ad [hpi_run].run.xml M src/main/java/com/microsoft/jenkins/azuread/AzureEnvironment.java M src/main/java/com/microsoft/jenkins/azuread/AzureSecurityRealm.java M src/main/java/com/microsoft/jenkins/azuread/Utils.java Log Message: --- Provide correct key discovery url for sovereign clouds (#571) To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/azure-ad-plugin/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/azure-ad-plugin/push/refs/heads/master/cef0bc-5fd019%40github.com.
branch master updated: gnu: python-xcffib: Update to 1.4.0.
This is an automated email from the git hooks/post-receive script. efraim pushed a commit to branch master in repository guix. The following commit(s) were added to refs/heads/master by this push: new 56980ea500 gnu: python-xcffib: Update to 1.4.0. 56980ea500 is described below commit 56980ea500a1db3c8586972b8abfaf5c4e24f82d Author: Efraim Flashner AuthorDate: Sun May 12 10:53:35 2024 +0300 gnu: python-xcffib: Update to 1.4.0. * gnu/packages/python-xyz.scm (python-xcffib): Update to 1.4.0. [arguments]: Remove obsolete 'install-doc phase. Remove trailing #t from phases. Change-Id: I1b68ddffb2620938042384b9b9a0d444ad05bb0a --- gnu/packages/python-xyz.scm | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index acd2e694a7..70687883c2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10940,14 +10940,14 @@ ManimPango is internally used in Manim to render (non-LaTeX) text.") (define-public python-xcffib (package (name "python-xcffib") -(version "0.11.1") +(version "1.4.0") (source (origin (method url-fetch) (uri (pypi-uri "xcffib" version)) (sha256 (base32 -"0nkglsm9nbhv238iagmmsjcz6lf1yfdvp5kmspphdj385vz9r50j" +"095na8zk75829c6ahxw658jh4g4qxx115g4a32p7b36kzq6w0xxr" (build-system python-build-system) (inputs (list libxcb)) @@ -10964,16 +10964,7 @@ ManimPango is internally used in Manim to render (non-LaTeX) text.") (let ((libxcb (assoc-ref inputs "libxcb"))) (substitute* '("xcffib/__init__.py") (("soname = ctypes.util.find_library.*xcb.*") - (string-append "soname = \"" libxcb "/lib/libxcb.so\"\n"))) - #t))) - (add-after 'install 'install-doc - (lambda* (#:key outputs #:allow-other-keys) - (let ((doc (string-append (assoc-ref outputs "out") "/share" - "/doc/" ,name "-" ,version))) - (mkdir-p doc) - (copy-file "README.md" - (string-append doc "/README.md")) - #t)) + (string-append "soname = \"" libxcb "/lib/libxcb.so\"\n") (home-page "https://github.com/tych0/xcffib;) (synopsis "XCB Python bindings") (description
[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [polly] [test]: fix filecheck annotation typos (PR #91854)
@@ -382,7 +382,7 @@ void foo18() { // CHECK-NEXT: [[A:%.*a.*]] = getelementptr inbounds [[STRUCT_G]], ptr [[G]], i32 0, i32 0 // CHECK-NEXT: store i32 2, ptr [[A]], align 4 // CHECK-NEXT: [[F:%.*f.*]] = getelementptr inbounds [[STRUCT_G]], ptr [[G]], i32 0, i32 1 -// CHECk-NEXT: call void @{{.*F.*}}(ptr noundef nonnull align 1 dereferenceable(1)) [[F]], ie32 noundef 1) +// CHECK-NEXT: call void @_ZN1FC1Ei(ptr noundef nonnull align 1 dereferenceable(1) [[F]], i32 noundef 1) klensy wrote: Added literal function name instead of `@{{.*F.*}}` (FileCheck tried to substitute `F` var regex?); wrong parentheses; `ie32` instead of i32; https://github.com/llvm/llvm-project/pull/91854 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[clang] [libclc] [llvm] [openmp] [Clang] `__attribute__((assume))` refactor (PR #84934)
rjodinchr wrote: > > It has nothing to do with OpenMP. The goal was just to get something in the > > llvm IR that we could check for. The `assume` attribute allows us to pass a > > string that we can then check in a llvm pass. > > Could you investigate whether 'annotate' would do what you want? IIRC, the > point of it is to just pass a string onto the AST/IR. At the moment, I did not manage to have annotation working. It's because annotation is an indirect link to the function. Thus it does not stick around when I link modules. Maybe the easiest way would be to add a real attribute for clspv? https://github.com/llvm/llvm-project/pull/84934 _______ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[Lldb-commits] [lldb] [lldb] Fix redundant condition in Target.cpp (PR #91882)
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff 63224d717108d927e998da8a67050a6cc5dd74a2 9b4160975efe059f39a842689b1f750a10453203 -- lldb/source/Target/Target.cpp `` View the diff from clang-format here. ``diff diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp index fe87728a33..afc9506d3d 100644 --- a/lldb/source/Target/Target.cpp +++ b/lldb/source/Target/Target.cpp @@ -841,14 +841,14 @@ static bool CheckIfWatchpointsSupported(Target *target, Status ) { if (!num_supported_hardware_watchpoints) return true; - // If num_supported_hardware_watchpoints is zero, set an - //error message and return false. + // If num_supported_hardware_watchpoints is zero, set an + // error message and return false. error.SetErrorStringWithFormat( "Target supports (%u) hardware watchpoint slots.\n", *num_supported_hardware_watchpoints); return false; - + return true; } `` https://github.com/llvm/llvm-project/pull/91882 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits