LLVM/project c961174clang-tools-extra/clangd FindSymbols.cpp SemanticHighlighting.cpp, clang-tools-extra/clangd/test symbol-tags.test

[clangd] Add support for additional symbol tags proposed for LSP 3.18 (#167536)

Implements support for symbol tags proposed for LSP 3.18 in
https://github.com/microsoft/language-server-protocol/pull/2003,
in the `documentSymbols` and `workspace/symbols` requests.

Fixes https://github.com/clangd/clangd/issues/2123.

---------

Co-authored-by: chouzz <zhouhua258 at outlook.com>
Co-authored-by: Dimitri Ratz <dimitri.ratz at thinkdigital.cc>
DeltaFile
+200-1clang-tools-extra/clangd/FindSymbols.cpp
+41-134clang-tools-extra/clangd/SemanticHighlighting.cpp
+85-0clang-tools-extra/clangd/test/symbol-tags.test
+69-0clang-tools-extra/clangd/unittests/FindSymbolsTests.cpp
+44-12clang-tools-extra/clangd/Protocol.h
+22-0clang-tools-extra/clangd/FindSymbols.h
+461-1472 files not shown
+472-1498 files

LLVM/project 700b5f1llvm/test/CodeGen/AArch64 round-fptosi-sat-scalar.ll round-fptoui-sat-scalar.ll

[AArch64] Add test coverage for roundeven + float-to-int conversions (#173515)

Split off from https://github.com/llvm/llvm-project/pull/170018, which
was becoming a bit of a rats' nest.

This PR:
- Cleans up the `arm64-cvt-simd-fptoi.ll`, `round-conv.ll`,
`round-fptosi-sat-scalar.ll`, and `round-fptoui-sat-scalar.ll`
regression tests, removing `nounwind readnone` annotations from the
rounding function calls. These were changed in #171288 to be LLVM
intrinsics instead of libcalls, so we no longer need to annotate them in
order for them to be compiled to native instructions. I've also removed
the declaration blocks at the end of the files, since they're no longer
necessary.

- Adds `roundeven` tests to the 4 regression tests mentioned above, to
go along with the other rounding functions currently tested.

- Changes `round-conv.ll` to have autogenerated CHECK lines/assertions,

    [8 lines not shown]
DeltaFile
+909-116llvm/test/CodeGen/AArch64/round-fptosi-sat-scalar.ll
+833-106llvm/test/CodeGen/AArch64/round-fptoui-sat-scalar.ll
+388-16llvm/test/CodeGen/AArch64/arm64-cvt-simd-fptoi.ll
+265-135llvm/test/CodeGen/AArch64/round-conv.ll
+2,395-3734 files

LLVM/project e028b21llvm/test/CodeGen/AArch64 arm64-vcvt-fptoi.ll

[AArch64] Add tests for vector rounding + float-to-int conversions (#173516)

Right now we only have tests for the scalar versions of these
intrinsics.
DeltaFile
+2,462-0llvm/test/CodeGen/AArch64/arm64-vcvt-fptoi.ll
+2,462-01 files

FreeBSD/ports 13abbb0net-im/flare distinfo Makefile.crates

net-im/flare: Update 0.18.0 => 0.18.1

Changelog:
https://gitlab.com/schmiddi-on-mobile/flare/-/releases/0.18.1

PR:             292644
Reported by:    Yusuf Yaman <nxjoseph at protonmail.com> (maintainer)
DeltaFile
+5-5net-im/flare/distinfo
+2-2net-im/flare/Makefile.crates
+1-1net-im/flare/Makefile
+8-83 files

LLVM/project af0964f.github/workflows prune-unused-branches.py

fix

Created using spr 1.3.7
DeltaFile
+1-1.github/workflows/prune-unused-branches.py
+1-11 files

LLVM/project 1ec48dbllvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.960bit.ll

rebase

Created using spr 1.3.7
DeltaFile
+47,697-51,378llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+14,474-16,242llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+16,328-12,881llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+13,036-14,705llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
+11,668-13,311llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.832bit.ll
+10,558-11,908llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.768bit.ll
+113,761-120,425986 files not shown
+263,133-237,200992 files

LLVM/project 11f64e9llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeHelper.cpp

[AMDGPU] Silence a warning (NFC)

llvm-project/llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp:686:7:
 error: unused variable 'DstTy' [-Werror,-Wunused-variable]
  LLT DstTy = MRI.getType(Dst);
      ^
1 error generated.
DeltaFile
+1-2llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeHelper.cpp
+1-21 files

LLVM/project 8a94708clang/lib/Sema SemaDeclAttr.cpp, clang/test/PlatformSpecific/xrOS/Sema infer-ios-availability.c infer-unavailable-from-missing-ios-availability-mapping.c

Infer visionOS availability from iOS availability (#176990)

Automatically infer and apply availability or unavailable attributes for
visionOS based on the corresponding iOS availability of the same
declaration using the version mapping information provided in
SDKSettings.json.

rdar://162148639
DeltaFile
+117-0clang/test/PlatformSpecific/xrOS/Sema/infer-ios-availability.c
+93-0clang/lib/Sema/SemaDeclAttr.cpp
+21-0clang/test/PlatformSpecific/xrOS/Sema/Inputs/XROS.sdk/SDKSettings.json
+12-0clang/test/PlatformSpecific/xrOS/Sema/infer-unavailable-from-missing-ios-availability-mapping.c
+243-04 files

GhostBSD/build 8008c9a. build.sh, packages drivers common

Default GhostBSD to XLibre (#259)

* Update build and packages for xlibre transition

- Replace xorg-minimal with xlibre-minimal in common packages.
- Adjust build script for xlibre driver handling.
- Change xf86 input and video drivers to xlibre equivalents.

* Update vital packages and simplify version

- Replace `xorg-minimal` with `xlibre-minimal` in common packages.
- Simplify version setting logic in `build.sh`.
DeltaFile
+8-8packages/drivers
+2-4build.sh
+1-1packages/common
+1-1packages/vital/common
+12-144 files

NetBSD/pkgsrc 7hCpGMpgraphics/evas Makefile

   evas: tweak PLIST.cserve on NetBSD

   shm_open(3) was added over ten years ago, so we can reasonably expect
   this is present in any supported NetBSD release. (On the other hand,
   pkgtools/mksandbox does not create a /var/shm, so untweaked pbulk
   environments can choke on this. Might as well drop the cruft here.)
VersionDeltaFile
1.32+1-4graphics/evas/Makefile
+1-41 files

LLVM/project 33c301eclang-tools-extra/clang-tidy/llvm UseRangesCheck.cpp, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Add replace_ to llvm-use-ranges (#177457)

Also sort the list of known algorithm wrappers.
DeltaFile
+32-17clang-tools-extra/clang-tidy/llvm/UseRangesCheck.cpp
+20-4clang-tools-extra/test/clang-tidy/checkers/llvm/use-ranges.cpp
+9-5clang-tools-extra/docs/clang-tidy/checks/llvm/use-ranges.rst
+4-0clang-tools-extra/docs/ReleaseNotes.rst
+65-264 files

LLVM/project c0227b6llvm/lib/Target/RISCV RISCVInstrInfoY.td, llvm/lib/Target/RISCV/AsmParser RISCVAsmParser.cpp

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.8-beta.1

[skip ci]
DeltaFile
+229-0llvm/test/MC/RISCV/rvy/rvy-valid-mode-independent.s
+172-0llvm/lib/Target/RISCV/RISCVInstrInfoY.td
+55-0llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+49-0llvm/test/MC/RISCV/rvy/rvy-invalid-mode-independent.s
+29-0llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
+23-0llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
+557-07 files not shown
+572-013 files

LLVM/project e3e34a5llvm/lib/Target/RISCV RISCVInstrInfoY.td RISCVFeatures.td, llvm/lib/Target/RISCV/AsmParser RISCVAsmParser.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.8-beta.1
DeltaFile
+239-0llvm/test/MC/RISCV/rvy/rvy-valid-mode-independent.s
+192-0llvm/lib/Target/RISCV/RISCVInstrInfoY.td
+55-0llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+49-0llvm/test/MC/RISCV/rvy/rvy-invalid-mode-independent.s
+44-0llvm/test/MC/RISCV/rvy/rvy-valid-zyhybrid.s
+28-1llvm/lib/Target/RISCV/RISCVFeatures.td
+607-18 files not shown
+682-814 files

FreeNAS/freenas 12ac522tests functions.py

NAS-139429 / 26.04 / Ignore warnings in the ssh calls for CI testing. (#18091)

We often see these spurious failures in CI tests:
`E AssertionError: Warning: Permanently added '10.220.38.181' (ED25519)
to the list of known hosts.`

This small change eliminates those.
DeltaFile
+2-0tests/functions.py
+2-01 files

LLVM/project 705a940llvm/lib/Target/RISCV RISCVFeatures.td, llvm/test/CodeGen/RISCV attributes.ll features-info.ll

rebase after cap-mode removal

Created using spr 1.3.8-beta.1
DeltaFile
+5-18llvm/test/MC/RISCV/rvy/rvy-valid-mode-independent.s
+0-15llvm/lib/Target/RISCV/RISCVFeatures.td
+2-0llvm/test/CodeGen/RISCV/attributes.ll
+0-1llvm/test/CodeGen/RISCV/features-info.ll
+7-344 files

LLVM/project 078bc61llvm/lib/Target/RISCV RISCVFeatures.td, llvm/test/CodeGen/RISCV attributes.ll features-info.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.8-beta.1

[skip ci]
DeltaFile
+0-15llvm/lib/Target/RISCV/RISCVFeatures.td
+2-0llvm/test/CodeGen/RISCV/attributes.ll
+0-1llvm/test/CodeGen/RISCV/features-info.ll
+2-163 files

LLVM/project b038b0allvm/lib/Target/AMDGPU R600Processors.td AMDGPUSubtarget.h

[NFCI][AMDGPU] Add `FeatureMadMacF32Insts` to all R600 processors

In this way, we don't need to use a custom getter in `hasMadMacF32Insts`.
DeltaFile
+10-4llvm/lib/Target/AMDGPU/R600Processors.td
+1-10llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
+11-142 files

GhostBSD/build 318194dcommon_config autologin.sh, desktop_config plasma.sh mate_oem.sh

Merge branch 'master' into xlibre
DeltaFile
+95-30desktop_config/plasma.sh
+3-14packages/vital/plasma
+1-14packages/plasma
+6-7common_config/autologin.sh
+2-2desktop_config/mate_oem.sh
+2-1packages/vital/mate
+109-684 files not shown
+114-6910 files

LLVM/project 6f69979llvm/test/CodeGen/RISCV attributes.ll

update one more test

Created using spr 1.3.8-beta.1
DeltaFile
+2-0llvm/test/CodeGen/RISCV/attributes.ll
+2-01 files

FreeNAS/freenas f2024dbtests functions.py

Ignore warnings in the ssh calls for CI testing.
This eliminates reports such as: AssertionError: Warning: Permanently added '<IP address>' (ED25519) to the list of known hosts.
DeltaFile
+2-0tests/functions.py
+2-01 files

DragonFlyBSD/src edf314csys/dev/netif/ix ixgbe_osdep.h

ix(4): No need to include <machine/clock.h>

Also remove the obsolete comment about DELAY() macro, which is actually
declared in <sys/systm.h>.
DeltaFile
+0-2sys/dev/netif/ix/ixgbe_osdep.h
+0-21 files

DragonFlyBSD/src 45c654dshare/man/man9 idr.9, sys/libkern linux_idr.c

libkern: Change idr_replace() return value to align with Linux

The Linux implementation of idr_replace() returns -ENOENT when the `id`
could not be found.  Change our implementation to do the same to be
compatible with Linux's.

In addition, Linux's documentation says idr_replace() would return
-EINVAL if the given pointer was not valid [1].  This should be checked
in the future.

[1] https://www.kernel.org/doc/html/v4.20/core-api/idr.html#c.idr_replace
DeltaFile
+1-7share/man/man9/idr.9
+1-1sys/libkern/linux_idr.c
+2-82 files

DragonFlyBSD/src ea417d7sys/kern subr_kobj.c

kern: Replace '0' with 'NULL' for pointer types in subr_kobj.c
DeltaFile
+6-6sys/kern/subr_kobj.c
+6-61 files

DragonFlyBSD/src ad574d2sys/libkern linux_idr.c

libkern: Tweak the comment of idr_alloc() to match the code

While there, apply some code style tweaks.
DeltaFile
+5-4sys/libkern/linux_idr.c
+5-41 files

HardenedBSD/src 03a7a1asys/amd64/include ifunc.h, sys/i386/include ifunc.h

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+34-6sys/x86/x86/local_apic.c
+5-0sys/i386/include/ifunc.h
+0-5sys/netlink/ktest_netlink_message_writer.c
+5-0sys/amd64/include/ifunc.h
+1-1sys/netlink/ktest_netlink_message_writer.h
+45-125 files

HardenedBSD/src c80c367sys/amd64/include ifunc.h, sys/i386/include ifunc.h

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+34-6sys/x86/x86/local_apic.c
+5-0sys/amd64/include/ifunc.h
+5-0sys/i386/include/ifunc.h
+0-5sys/netlink/ktest_netlink_message_writer.c
+1-1sys/netlink/ktest_netlink_message_writer.h
+45-125 files

HardenedBSD/ports 3537948devel/arduino Makefile, graphics/darktable Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+10-2graphics/darktable/Makefile
+10-0net/wireguard-tools/files/wireguard_lite.in
+3-3devel/arduino/Makefile
+23-53 files

LLVM/project f53fe86llvm/lib/Transforms/Vectorize VPlanConstruction.cpp

[Vectorize] Silence a warning (NFC)

/llvm-project/llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp:1533:11:
 error: unused variable 'FindIVSelect' [-Werror,-Wunused-variable]
    auto *FindIVSelect = findUserOf<Instruction::Select>(FindIVCmp);
          ^
1 error generated.
DeltaFile
+2-1llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp
+2-11 files

LLVM/project 599c273llvm/lib/Transforms/Scalar LoopFuse.cpp, llvm/test/Transforms/LoopFusion pr115279.ll

[LoopFusion] Forget cached SCEV values after the fusion (#177455)

This patch fixes the issue #115279. After the fusion, some of the cached
SCEV values such as the induction variable may not be valid anymore and
need to be forgotten.
DeltaFile
+53-0llvm/test/Transforms/LoopFusion/pr115279.ll
+4-0llvm/lib/Transforms/Scalar/LoopFuse.cpp
+57-02 files

GhostBSD/build 2a591fadesktop_config plasma.sh, packages xfce

Added missing `gbi` to the XFCE package list. (#258)

* Added missing `gbi` to the XFCE package list.

* Fixed ShellCheck warning
DeltaFile
+10-6desktop_config/plasma.sh
+1-0packages/xfce
+11-62 files