[clang] [Clang][Driver] Revise Cygwin ToolChain to call linker directly (PR #147960)

2025-07-15 Thread via cfe-commits
@@ -1504,6 +1506,7 @@ void ToolChain::AddCXXStdlibLibArgs(const ArgList &Args, switch (Type) { case ToolChain::CST_Libcxx: CmdArgs.push_back("-lc++"); +CmdArgs.push_back("-lc++abi"); tyan0 wrote: OK. I've removed that. Instead, I've made cygwin lib

[clang] [clang] Fix a crash when dynamic_cast-ing to a `final` class (PR #148088)

2025-07-15 Thread Oliver Hunt via cfe-commits
@@ -2341,8 +2341,15 @@ llvm::Value *CodeGenFunction::EmitDynamicCast(Address ThisAddr, } else if (IsExact) { // If the destination type is effectively final, this pointer points to the // right type if and only if its vptr has the right value. -Value = CGM.getCXX

[clang] Fix an issue where we erroneously diagnose a `[[noreturn]]` function with `warn_suggest_noreturn_function` (PR #148695)

2025-07-15 Thread Corentin Jabot via cfe-commits
https://github.com/cor3ntin closed https://github.com/llvm/llvm-project/pull/148695 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix an issue where we erroneously diagnose a `[[noreturn]]` function with `warn_suggest_noreturn_function` (PR #148695)

2025-07-15 Thread Corentin Jabot via cfe-commits
cor3ntin wrote: > It seems that #148552 has fixed this issue. Indeed. We appreciate the work you put in the PR though, thanks :) https://github.com/llvm/llvm-project/pull/148695 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llv

[clang] [llvm] [CodeGen] Fix VNInfo mapping in LiveRange::assign (PR #148790)

2025-07-15 Thread via cfe-commits
https://github.com/pzzp created https://github.com/llvm/llvm-project/pull/148790 Ensure segments use the correct copied VNInfos when assigning from another LiveRange. >From 85c7d8edebcdd5a50f01db6c51f96189a5e2a729 Mon Sep 17 00:00:00 2001 From: pzzp Date: Fri, 28 Feb 2025 10:46:12 +0800 Subject

[clang] [clang] Reduce the small vector size for DeclTypeInfo. (PR #148788)

2025-07-15 Thread Corentin Jabot via cfe-commits
https://github.com/cor3ntin approved this pull request. https://github.com/llvm/llvm-project/pull/148788 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Check if clang::FieldDecl has constant-integer bit width before getting the width (PR #148692)

2025-07-15 Thread Corentin Jabot via cfe-commits
cor3ntin wrote: Can you add tests (and a release note) Thanks! https://github.com/llvm/llvm-project/pull/148692 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Reduce the size of ParsedAttributesView and AttributePool (PR #148726)

2025-07-15 Thread Corentin Jabot via cfe-commits
https://github.com/cor3ntin approved this pull request. https://github.com/llvm/llvm-project/pull/148726 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [CodeGen] Fix VNInfo mapping in LiveRange::assign (PR #148790)

2025-07-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-regalloc Author: None (pzzp) Changes Ensure segments use the correct copied VNInfos when assigning from another LiveRange. --- Full diff: https://github.com/llvm/llvm-project/pull/148790.diff 1 Files Affected: - (modified) llvm/include/llvm/Code

[clang] [llvm] [CodeGen] Fix VNInfo mapping in LiveRange::assign (PR #148790)

2025-07-15 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm commented: Testcase? https://github.com/llvm/llvm-project/pull/148790 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] acf07dc - [Clang] Do not treat Foo -> const Foo conversion sequences as perfect (#148613)

2025-07-15 Thread via cfe-commits
Author: Corentin Jabot Date: 2025-07-15T09:18:25+02:00 New Revision: acf07dc77cba07d67c85e120c2eb8094438572e9 URL: https://github.com/llvm/llvm-project/commit/acf07dc77cba07d67c85e120c2eb8094438572e9 DIFF: https://github.com/llvm/llvm-project/commit/acf07dc77cba07d67c85e120c2eb8094438572e9.diff

[clang] [Clang] Do not treat Foo -> const Foo conversion sequences as perfect (PR #148613)

2025-07-15 Thread Corentin Jabot via cfe-commits
https://github.com/cor3ntin closed https://github.com/llvm/llvm-project/pull/148613 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] clang-format: Add IncludeSortKey option (PR #137840)

2025-07-15 Thread Daan De Meyer via cfe-commits
https://github.com/DaanDeMeyer updated https://github.com/llvm/llvm-project/pull/137840 >From bb71b52f8a5abc67ca4df4b85e407450fd518f8e Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Tue, 29 Apr 2025 18:26:36 +0200 Subject: [PATCH] clang-format: Add IgnoreExtension option to SortIncludesOpt

[clang] [llvm] [clang][python][test] Move python binding tests to lit framework (PR #148802)

2025-07-15 Thread Jannick Kremer via cfe-commits
https://github.com/DeinAlptraum created https://github.com/llvm/llvm-project/pull/148802 As discussed in PR #142353, the current testsuite of the `clang` Python bindings has several issues: - It `libclang.so` cannot be loaded into `python` to run the testsuite, the whole `ninja check-all` abo

[clang] [llvm] [clang][python][test] Move python binding tests to lit framework (PR #148802)

2025-07-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Jannick Kremer (DeinAlptraum) Changes As discussed in PR #142353, the current testsuite of the `clang` Python bindings has several issues: - It `libclang.so` cannot be loaded into `python` to run the testsuite, the whole `ninja check-all

[clang] [llvm] [clang][python][test] Move python binding tests to lit framework (PR #148802)

2025-07-15 Thread Jannick Kremer via cfe-commits
DeinAlptraum wrote: Next attempt after https://github.com/llvm/llvm-project/pull/146844. The only change is, that I added a `UNSUPPORTED` directive for s390x after the discussion on that PR. (see comment https://github.com/llvm/llvm-project/pull/146844#issuecomment-3048291798) https://github.c

[clang] 2943673 - [NFC][-Wunsafe-buffer-usage] Refactor safe pattern check for pointer-size pairs (#145626)

2025-07-15 Thread via cfe-commits
Author: Ziqing Luo Date: 2025-07-15T16:48:20+08:00 New Revision: 29436737baf8675ec98c8f738e291acb44eacd85 URL: https://github.com/llvm/llvm-project/commit/29436737baf8675ec98c8f738e291acb44eacd85 DIFF: https://github.com/llvm/llvm-project/commit/29436737baf8675ec98c8f738e291acb44eacd85.diff LO

[clang] [NFC][-Wunsafe-buffer-usage] Refactor safe pattern check for pointer-size pairs (PR #145626)

2025-07-15 Thread Ziqing Luo via cfe-commits
https://github.com/ziqingluo-90 closed https://github.com/llvm/llvm-project/pull/145626 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [clang][python][test] Move python binding tests to lit framework (PR #146844)

2025-07-15 Thread Jannick Kremer via cfe-commits
DeinAlptraum wrote: I couldn't reproduce the issue when cross-compiling for s390x with my system GCC (15.1.1): ```bash cmake -G Ninja -B build -S llvm -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ \ -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=True \ '-DLLVM_LIT_ARGS='"'"'-v -j

[clang] [llvm] [RISCV] Implement Builtins for XAndesBFHCvt extension. (PR #148804)

2025-07-15 Thread Jim Lin via cfe-commits
https://github.com/tclin914 created https://github.com/llvm/llvm-project/pull/148804 XAndesBFHCvt provides two builtins functions for converting between float and bf16. Users can use them to convert bf16 values loaded from memory to float, perform arithmetic operations, then convert them back

[clang] ad1cbc0 - [clang] Attempt to fix build after c592b61f

2025-07-15 Thread Jan Svoboda via cfe-commits
Author: Jan Svoboda Date: 2025-07-15T12:57:32-07:00 New Revision: ad1cbc020493b39266f7b259737bf5c7ad0a3d56 URL: https://github.com/llvm/llvm-project/commit/ad1cbc020493b39266f7b259737bf5c7ad0a3d56 DIFF: https://github.com/llvm/llvm-project/commit/ad1cbc020493b39266f7b259737bf5c7ad0a3d56.diff L

[clang] AMDGPU: Implement builtins for gfx1250 wmma instructions (PR #148991)

2025-07-15 Thread Changpeng Fang via cfe-commits
https://github.com/changpeng updated https://github.com/llvm/llvm-project/pull/148991 >From 074800e1906bcce1cc0110c759a6d141ce4ea322 Mon Sep 17 00:00:00 2001 From: Changpeng Fang Date: Tue, 15 Jul 2025 16:37:20 -0700 Subject: [PATCH 1/2] AMDGPU: Implement builtins for gfx1250 wmma instructions

[clang] [Sema] Remove unnecessary casts (NFC) (PR #148871)

2025-07-15 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/148871 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 91ee01f - [Sema] Remove unnecessary casts (NFC) (#148871)

2025-07-15 Thread via cfe-commits
Author: Kazu Hirata Date: 2025-07-15T16:51:08-07:00 New Revision: 91ee01fda8b8801805708a51bba90796da376ae7 URL: https://github.com/llvm/llvm-project/commit/91ee01fda8b8801805708a51bba90796da376ae7 DIFF: https://github.com/llvm/llvm-project/commit/91ee01fda8b8801805708a51bba90796da376ae7.diff L

[clang] [CIR] Upstream CompoundLiteralExpr for Scalar (PR #148943)

2025-07-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Amr Hesham (AmrDeveloper) Changes Upstream CompoundLiteralExpr for Scalar as a prerequisite for CompoundLiteralExpr for ComplexType --- Full diff: https://github.com/llvm/llvm-project/pull/148943.diff 5 Files Affected: - (modified) cla

[clang] [CIR] Upstream CompoundLiteralExpr for Scalar (PR #148943)

2025-07-15 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangir Author: Amr Hesham (AmrDeveloper) Changes Upstream CompoundLiteralExpr for Scalar as a prerequisite for CompoundLiteralExpr for ComplexType --- Full diff: https://github.com/llvm/llvm-project/pull/148943.diff 5 Files Affected: - (modified) c

[clang] 52432b0 - [clang][NFC] Updated incorrect llvm-unreachable message in getOpenMPSimpleClauseType() (#148056)

2025-07-15 Thread via cfe-commits
Author: David Pagan Date: 2025-07-15T12:51:28-07:00 New Revision: 52432b02a9bdc234d1038ed2e72afe28779ca031 URL: https://github.com/llvm/llvm-project/commit/52432b02a9bdc234d1038ed2e72afe28779ca031 DIFF: https://github.com/llvm/llvm-project/commit/52432b02a9bdc234d1038ed2e72afe28779ca031.diff L

[clang] [clang][NFC] Updated incorrect llvm-unreachable message in getOpenMPSimpleClauseType() (PR #148056)

2025-07-15 Thread David Pagan via cfe-commits
https://github.com/ddpagan closed https://github.com/llvm/llvm-project/pull/148056 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Check if clang::FieldDecl has constant-integer bit width before getting the width (PR #148692)

2025-07-15 Thread Corentin Jabot via cfe-commits
https://github.com/cor3ntin approved this pull request. https://github.com/llvm/llvm-project/pull/148692 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Speed up `misc-header-include-cycle` (PR #148757)

2025-07-15 Thread Victor Chernyakin via cfe-commits
@@ -85,36 +81,26 @@ class CyclicDependencyCallbacks : public PPCallbacks { if (FileType != clang::SrcMgr::C_User) return; -llvm::StringRef FileName = llvm::sys::path::filename(FilePath); -NextToEnter = {FileID(), FileName, Range.getBegin()}; +NextToEnter

[clang] [CUDA] add wrapper header for libc++'s __utlility/declval.h (PR #148918)

2025-07-15 Thread Artem Belevich via cfe-commits
https://github.com/Artem-B updated https://github.com/llvm/llvm-project/pull/148918 >From ea1949d13608ac948ab34d1eeb073decdd11e2a3 Mon Sep 17 00:00:00 2001 From: Artem Belevich Date: Tue, 15 Jul 2025 11:10:40 -0700 Subject: [PATCH 1/2] [CUDA] add wrapper header for libc++'s __utlility/declval.

[clang] [clang][CodeGen] Set `dead_on_return` on indirect pointer arguments (PR #148159)

2025-07-15 Thread John McCall via cfe-commits
https://github.com/rjmccall approved this pull request. Thanks, that LGTM. Looks like you have a merge conflict to resolve, but otherwise this is ready to go. https://github.com/llvm/llvm-project/pull/148159 ___ cfe-commits mailing list cfe-commits@li

[clang] [clang-tools-extra] [lldb] [llvm] [clang][modules] Serialize `CodeGenOptions` (PR #146422)

2025-07-15 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building `clang-tools-extra,clang,lldb,llvm` at step 5 "compile-openmp". Full details are available at: https://lab.llvm.org/buildbot/#/builders/10/builds/

[clang] [clang-tools-extra] [lldb] [llvm] [clang][modules] Serialize `CodeGenOptions` (PR #146422)

2025-07-15 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-cmake-x86_64-avx512-linux` running on `avx512-intel64` while building `clang-tools-extra,clang,lldb,llvm` at step 6 "build stage 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/133/builds/196

[clang] [clang-tools-extra] [lldb] [llvm] [clang][modules] Serialize `CodeGenOptions` (PR #146422)

2025-07-15 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-hip-vega20` running on `hip-vega20-0` while building `clang-tools-extra,clang,lldb,llvm` at step 3 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/123/builds/23431 Here is the relev

[clang] [clang-tools-extra] [lldb] [llvm] [clang][modules] Serialize `CodeGenOptions` (PR #146422)

2025-07-15 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `clang-tools-extra,clang,lldb,llvm` at step 5 "build-unified-tree". Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/b

[clang] [clang-tools-extra] [lldb] [llvm] [clang][modules] Serialize `CodeGenOptions` (PR #146422)

2025-07-15 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `hip-third-party-libs-test` running on `ext_buildbot_hw_05-hip-docker` while building `clang-tools-extra,clang,lldb,llvm` at step 4 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/206/builds

[clang] [CIR] Upstream CompoundLiteralExpr for Scalar (PR #148943)

2025-07-15 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper created https://github.com/llvm/llvm-project/pull/148943 Upstream CompoundLiteralExpr for Scalar as a prerequisite for CompoundLiteralExpr for ComplexType >From 12eae63493a66a2f780ed846ce0fbc0df6de00ce Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Tue, 15 J

[clang] [Clang][attr] Add 'kcfi_salt' attribute (PR #141846)

2025-07-15 Thread Kees Cook via cfe-commits
@@ -3643,6 +3643,64 @@ make the function's CFI jump table canonical. See :ref:`the CFI documentation }]; } +def KCFISaltDocs : Documentation { + let Category = DocCatFunction; + let Content = [{ kees wrote: Please add a "Heading" and "Label" here so that

[clang] [Analyzer] support parenthesized list initialization (PR #148988)

2025-07-15 Thread Balazs Benics via cfe-commits
https://github.com/steakhal commented: Looks good on the technical side. I have some questions mostly about code reuse. https://github.com/llvm/llvm-project/pull/148988 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-

[clang] [Analyzer] support parenthesized list initialization (PR #148988)

2025-07-15 Thread Balazs Benics via cfe-commits
https://github.com/steakhal edited https://github.com/llvm/llvm-project/pull/148988 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Analyzer] support parenthesized list initialization (PR #148988)

2025-07-15 Thread Balazs Benics via cfe-commits
@@ -1233,3 +1233,34 @@ void ExprEngine::VisitAttributedStmt(const AttributedStmt *A, getCheckerManager().runCheckersForPostStmt(Dst, EvalSet, A, *this); } + +void ExprEngine::VisitCXXParenListInitExpr(const CXXParenListInitExpr *E, +

[clang] [Analyzer] support parenthesized list initialization (PR #148988)

2025-07-15 Thread Balazs Benics via cfe-commits
@@ -1233,3 +1233,34 @@ void ExprEngine::VisitAttributedStmt(const AttributedStmt *A, getCheckerManager().runCheckersForPostStmt(Dst, EvalSet, A, *this); } + +void ExprEngine::VisitCXXParenListInitExpr(const CXXParenListInitExpr *E, +

[clang] [Analyzer] support parenthesized list initialization (PR #148988)

2025-07-15 Thread Balazs Benics via cfe-commits
@@ -1233,3 +1233,34 @@ void ExprEngine::VisitAttributedStmt(const AttributedStmt *A, getCheckerManager().runCheckersForPostStmt(Dst, EvalSet, A, *this); } + +void ExprEngine::VisitCXXParenListInitExpr(const CXXParenListInitExpr *E, +

[clang] [Analyzer] support parenthesized list initialization (PR #148988)

2025-07-15 Thread Balazs Benics via cfe-commits
@@ -1233,3 +1233,34 @@ void ExprEngine::VisitAttributedStmt(const AttributedStmt *A, getCheckerManager().runCheckersForPostStmt(Dst, EvalSet, A, *this); } + +void ExprEngine::VisitCXXParenListInitExpr(const CXXParenListInitExpr *E, +

[clang] AMDGPU: Remove "gws" from the “read-only” target feature list (PR #148141)

2025-07-15 Thread Changpeng Fang via cfe-commits
https://github.com/changpeng updated https://github.com/llvm/llvm-project/pull/148141 >From c9cf9873e35205f9715acd545680713c0dd912aa Mon Sep 17 00:00:00 2001 From: Changpeng Fang Date: Fri, 11 Jul 2025 01:04:04 -0700 Subject: [PATCH 1/3] =?UTF-8?q?AMDGPU:=20Remove=20"gws"=20from=20the=20?= =?U

[clang] [Analyzer] support parenthesized list initialization (PR #148988)

2025-07-15 Thread Arseniy Zaostrovnykh via cfe-commits
@@ -1233,3 +1233,34 @@ void ExprEngine::VisitAttributedStmt(const AttributedStmt *A, getCheckerManager().runCheckersForPostStmt(Dst, EvalSet, A, *this); } + +void ExprEngine::VisitCXXParenListInitExpr(const CXXParenListInitExpr *E, +

[clang] 8710387 - Thread Safety Analysis: Fix pointer handling of variables with deprecated attributes (#148974)

2025-07-15 Thread via cfe-commits
Author: Marco Elver Date: 2025-07-16T08:45:45+02:00 New Revision: 871038759afb491c16fb2cd14b78e51e410efbf3 URL: https://github.com/llvm/llvm-project/commit/871038759afb491c16fb2cd14b78e51e410efbf3 DIFF: https://github.com/llvm/llvm-project/commit/871038759afb491c16fb2cd14b78e51e410efbf3.diff L

[clang] Thread Safety Analysis: Fix pointer handling of variables with deprecated attributes (PR #148974)

2025-07-15 Thread Marco Elver via cfe-commits
https://github.com/melver closed https://github.com/llvm/llvm-project/pull/148974 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Analyzer] support parenthesized list initialization (PR #148988)

2025-07-15 Thread Arseniy Zaostrovnykh via cfe-commits
https://github.com/necto edited https://github.com/llvm/llvm-project/pull/148988 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] Revert "Move python binding tests to lit framework" (PR #149012)

2025-07-15 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-fast` running on `sanitizer-buildbot4` while building `.github,clang` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/169/builds/13025 Here is the relevan

[clang] [Analyzer] support parenthesized list initialization (PR #148988)

2025-07-15 Thread Balazs Benics via cfe-commits
steakhal wrote: > I don't know much about the static analyzer, but perhaps Aaron can do a > better review? I didn't see anything questionable however. Moved this to the Static Analyzer folks. https://github.com/llvm/llvm-project/pull/148988 ___ cfe-c

[clang] [AArch64][FMV] Enable PAuth and BTI hardening of resolver functions (PR #141573)

2025-07-15 Thread Anton Korobeynikov via cfe-commits
https://github.com/asl demilestoned https://github.com/llvm/llvm-project/pull/141573 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PAuth] Use different discriminators for __int128_t / __uint128_t / _BitInt(n) (PR #140276)

2025-07-15 Thread Anton Korobeynikov via cfe-commits
https://github.com/asl demilestoned https://github.com/llvm/llvm-project/pull/140276 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][ptrauth] Add support for querying the ptrauth schema of a type (PR #138482)

2025-07-15 Thread Anton Korobeynikov via cfe-commits
https://github.com/asl demilestoned https://github.com/llvm/llvm-project/pull/138482 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][PAC] add support for options parameter to __ptrauth (PR #136828)

2025-07-15 Thread Anton Korobeynikov via cfe-commits
https://github.com/asl demilestoned https://github.com/llvm/llvm-project/pull/136828 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][attr] Add 'kcfi_salt' attribute (PR #141846)

2025-07-15 Thread Kees Cook via cfe-commits
https://github.com/kees commented: I think the docs look good, and other than what Aaron noted for needed Sema tests, the other tests look like what I'd expect. I've run this on an updated Linux kernel with added tests for using `kcfi_salt` and CFI correctly trips. https://github.com/llvm/llv

[clang] [Clang][attr] Add 'kcfi_salt' attribute (PR #141846)

2025-07-15 Thread Kees Cook via cfe-commits
@@ -0,0 +1,190 @@ +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -fsanitize=kcfi -o - %s | FileCheck %s +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -fsanitize=kcfi -x c++ -o - %s | FileCheck %s --check-prefixes=CHECK,MEMBER +// RUN: %clang_cc

[clang] [llvm] [clang][python][test] Move python binding tests to lit framework (PR #148802)

2025-07-15 Thread Jannick Kremer via cfe-commits
DeinAlptraum wrote: @ZequanWu thanks for the report! Reverted in #149012 for now https://github.com/llvm/llvm-project/pull/148802 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Allow constexpr-unknown values pre C++23 (PR #129646)

2025-07-15 Thread A. Jiang via cfe-commits
Timm =?utf-8?q?Bäder?= Message-ID: In-Reply-To: https://github.com/frederick-vs-ja updated https://github.com/llvm/llvm-project/pull/129646 >From 54c3e72e2c3b507ecf8cd65c15b9e137ba7331c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Tue, 4 Mar 2025 06:29:31 +0100 Subject

<    1   2   3   4   5