[clang] [FMV][AArch64][clang] Emit fmv-features metadata in LLVM IR. (PR #118544)

2024-12-03 Thread Jon Roelofs via cfe-commits
https://github.com/jroelofs approved this pull request. The patch itself LGTM though, despite my gripes on the current prioritization rule. https://github.com/llvm/llvm-project/pull/118544 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https:

[clang] [llvm] [AArch64] Implement FP8 SVE Intrinsics for narrowing conversions (PR #118124)

2024-12-03 Thread via cfe-commits
https://github.com/CarolineConcatto edited https://github.com/llvm/llvm-project/pull/118124 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AArch64] Implement FP8 SVE Intrinsics for narrowing conversions (PR #118124)

2024-12-03 Thread via cfe-commits
@@ -0,0 +1,33 @@ +// REQUIRES: aarch64-registered-target + +// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -target-feature +bf16 -verify -emit-llvm %s CarolineConcatto wrote: I think @SpencerAbson asked on the previous PR, but just in c

[clang] 9791f25 - [clang][sema] Add support and documentation for `__has_extension(c_fixed_enum)` (#117507)

2024-12-03 Thread via cfe-commits
Author: Aidan Goldfarb Date: 2024-12-03T13:39:17-05:00 New Revision: 9791f258079a4334c61c64cb62d9746a3db2c25c URL: https://github.com/llvm/llvm-project/commit/9791f258079a4334c61c64cb62d9746a3db2c25c DIFF: https://github.com/llvm/llvm-project/commit/9791f258079a4334c61c64cb62d9746a3db2c25c.diff

[clang] [clang] Add source range to 'use of undeclared identifier' diagnostics (PR #117671)

2024-12-03 Thread Aaron Ballman via cfe-commits
Timm =?utf-8?q?Bäder?= Message-ID: In-Reply-To: https://github.com/AaronBallman edited https://github.com/llvm/llvm-project/pull/117671 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit

[clang] [Driver][Fuchsia] Avoid "argument unused" warnings (PR #118416)

2024-12-03 Thread Roland McGrath via cfe-commits
https://github.com/frobtech updated https://github.com/llvm/llvm-project/pull/118416 >From 5a039fa6003a7612ddc6603192a121d92d3903cc Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 2 Dec 2024 13:33:47 -0800 Subject: [PATCH] [Driver][Fuchsia] Avoid "argument unused" warnings There shoul

[clang-tools-extra] [NFC] Fix potential underflow constant. (PR #118528)

2024-12-03 Thread Zahira Ammarguellat via cfe-commits
https://github.com/zahiraam ready_for_review https://github.com/llvm/llvm-project/pull/118528 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [NFC] Fix potential underflow constant. (PR #118528)

2024-12-03 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: Zahira Ammarguellat (zahiraam) Changes If the range for `llvm::any_of` is empty, `Idx` will be `0` and an underflow might occur when computing `Idx-1`. --- Full diff: https://github.com/llvm/llvm-project/pull/118528.diff 1 Files Af

[clang] [Clang] Permit noescape on non-pointer types (PR #117344)

2024-12-03 Thread Eli Friedman via cfe-commits
efriedma-quic wrote: I'm not sure I understand the intended meaning here. Is noescape on a struct argument supposed to recursively apply to every pointer field of the struct? If that's the intended meaning, should we restrict this to structs that have pointer fields? https://github.com/llvm

[clang] [Clang] Enable -fpointer-tbaa by default. (PR #117244)

2024-12-03 Thread Florian Hahn via cfe-commits
fhahn wrote: > > ping :) @AaronBallman WDYT re making this clear in the release notes (also > > that there's an easy way to disable) + the ongoing work in parallel for the > > type sanitizer? > > I think it's a reasonable experiment to try. > > I would call it a potentially breaking change be

[clang] [ASTMatchers] AST matcher support for ObjC pointers (PR #117021)

2024-12-03 Thread Rashmi Mudduluru via cfe-commits
https://github.com/t-rasmud closed https://github.com/llvm/llvm-project/pull/117021 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Fix typo in ItaniumRecordLayoutBuilder API (PR #118563)

2024-12-03 Thread Younan Zhang via cfe-commits
@@ -818,7 +818,7 @@ class ItaniumRecordLayoutBuilder { void setSize(CharUnits NewSize) { Size = Context.toBits(NewSize); } void setSize(uint64_t NewSize) { Size = NewSize; } - CharUnits getAligment() const { return Alignment; } + CharUnits getAlignment() const { return A

[clang] [Clang] Don't add top-level const qualifiers to captured function types (PR #118050)

2024-12-03 Thread Younan Zhang via cfe-commits
https://github.com/zyn0217 updated https://github.com/llvm/llvm-project/pull/118050 >From 92b8a28eb7664b3cac6a8039834b099b010af3ed Mon Sep 17 00:00:00 2001 From: Younan Zhang Date: Fri, 29 Nov 2024 13:19:30 +0800 Subject: [PATCH 1/2] [Clang] Don't add top-level const qualifiers to captured fun

[clang] [llvm] [X86] Enhance kCFI type IDs with a 3-bit arity indicator. (PR #117121)

2024-12-03 Thread Ramon de C Valle via cfe-commits
rcvalle wrote: I'm still trying to understand why a collision with a function of different arity is riskier than a collision with a function of the same arity, as there are so many factors that can account for it, such as: * What registers that attacker has control of. * How the registers that

[clang-tools-extra] [clangd] Re-land "support outgoing calls in call hierarchy" (PR #117673)

2024-12-03 Thread Nathan Ridge via cfe-commits
@@ -163,7 +163,7 @@ class Checker { unsigned ErrCount = 0; Checker(llvm::StringRef File, const ClangdLSPServer::Options &Opts) - : File(File), Opts(Opts) {} + : File(File), Opts(Opts), Index(/*SupportContainedRefs=*/false) {} HighCommander4 wrote

[clang-tools-extra] [clangd] Re-land "support outgoing calls in call hierarchy" (PR #117673)

2024-12-03 Thread Nathan Ridge via cfe-commits
HighCommander4 wrote: Updated to remove the default arguments. Thanks for the reviews! https://github.com/llvm/llvm-project/pull/117673 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [analysis] support mutation analysis for pointee wip (PR #118593)

2024-12-03 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 created https://github.com/llvm/llvm-project/pull/118593 None >From 04e220ec2c16c65a3c785a586653ea4bc47337f5 Mon Sep 17 00:00:00 2001 From: Congcong Cai Date: Tue, 3 Dec 2024 23:31:32 +0800 Subject: [PATCH] [analysis] support mutation analysis for pointee wip --

<    1   2   3   4   5   6