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

2025-05-09 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt updated https://github.com/llvm/llvm-project/pull/136828 >From 8d42eca9da4afd53b9d51fda5a8d285ed2cdeb72 Mon Sep 17 00:00:00 2001 From: Oliver Hunt Date: Wed, 30 Apr 2025 22:26:59 -0700 Subject: [PATCH 1/2] [clang][PAC] add support for options parameter to __ptrauth T

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

2025-05-09 Thread Oliver Hunt via cfe-commits
@@ -8350,14 +8350,16 @@ static void HandleNeonVectorTypeAttr(QualType &CurType, const ParsedAttr &Attr, /// Handle the __ptrauth qualifier. static void HandlePtrAuthQualifier(ASTContext &Ctx, QualType &T, const ParsedAttr &Attr, Sema &S) { -

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

2025-05-09 Thread Oliver Hunt via cfe-commits
@@ -8373,10 +8375,140 @@ static void HandlePtrAuthQualifier(ASTContext &Ctx, QualType &T, IsAddressDiscriminated); IsInvalid |= !S.checkPointerAuthDiscriminatorArg( ExtraDiscriminatorArg, PointerAuthDiscArgKind::Extra,

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

2025-05-09 Thread Oliver Hunt via cfe-commits
@@ -1735,8 +1735,8 @@ def warn_pragma_unroll_cuda_value_in_parens : Warning< "argument to '#pragma unroll' should not be in parentheses in CUDA C/C++">, InGroup; -def err_ptrauth_qualifier_bad_arg_count : Error< - "'__ptrauth' qualifier must take between 1 and 3 arguments

[clang] [clang] Warn about deprecated volatile-qualified return types (PR #137899)

2025-05-09 Thread via cfe-commits
https://github.com/cor3ntin closed https://github.com/llvm/llvm-project/pull/137899 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 0b9c63d - [clang] Warn about deprecated volatile-qualified return types (#137899)

2025-05-09 Thread via cfe-commits
Author: halbi2 Date: 2025-05-10T08:03:20+02:00 New Revision: 0b9c63dfe91309935d607f701bed90a739ad47f0 URL: https://github.com/llvm/llvm-project/commit/0b9c63dfe91309935d607f701bed90a739ad47f0 DIFF: https://github.com/llvm/llvm-project/commit/0b9c63dfe91309935d607f701bed90a739ad47f0.diff LOG: [

[clang] [clang] Warn about deprecated volatile-qualified return types (PR #137899)

2025-05-09 Thread via cfe-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/137899 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-

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

2025-05-09 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt updated https://github.com/llvm/llvm-project/pull/136828 >From 8d42eca9da4afd53b9d51fda5a8d285ed2cdeb72 Mon Sep 17 00:00:00 2001 From: Oliver Hunt Date: Wed, 30 Apr 2025 22:26:59 -0700 Subject: [PATCH] [clang][PAC] add support for options parameter to __ptrauth This P

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

2025-05-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen @llvm/pr-subscribers-clang Author: Oliver Hunt (ojhunt) Changes [clang][PAC] add support for options parameter to __ptrauth This PR adds support for an 'options' parameter for the __ptrauth qualifier. The initial version only exposes the

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

2025-05-09 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt ready_for_review 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][PAC] add support for options parameter to __ptrauth (PR #136828)

2025-05-09 Thread Oliver Hunt via cfe-commits
@@ -65,6 +65,17 @@ enum class PointerAuthenticationMode : unsigned { SignAndAuth }; +static constexpr llvm::StringLiteral PointerAuthenticationOptionStrip = "strip"; ojhunt wrote: @cor3ntin @AaronBallman is there a better/more idiomatic way of doing these?

[clang] 98d68e4 - [clang][bytecode][NFC] Remove unused function (#139355)

2025-05-09 Thread via cfe-commits
Author: Timm Baeder Date: 2025-05-10T07:57:44+02:00 New Revision: 98d68e49f73efab7126a34fa2469a590e832afa4 URL: https://github.com/llvm/llvm-project/commit/98d68e49f73efab7126a34fa2469a590e832afa4 DIFF: https://github.com/llvm/llvm-project/commit/98d68e49f73efab7126a34fa2469a590e832afa4.diff L

[clang] [clang][bytecode][NFC] Remove unused function (PR #139355)

2025-05-09 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/139355 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix crash with invalid VLA in a type trait (PR #138543)

2025-05-09 Thread Shafik Yaghmour via cfe-commits
@@ -41,3 +41,17 @@ void func(int expr) { int array[sizeof(Ty) ? sizeof(Ty{}) : sizeof(int)]; int old_style_assert[expr ? Ty::one : Ty::Neg_one]; // We don't diagnose as a VLA until instantiation } + +namespace GH138444 { +struct S { // expected-note {{candidate con

[clang-tools-extra] [clangd] Add tweak to add pure virtual overrides (PR #139348)

2025-05-09 Thread Marco Maia via cfe-commits
marcogmaia wrote: @HighCommander4 could you please take a look here, or forward it to anyone who can? https://github.com/llvm/llvm-project/pull/139348 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listi

[clang] [clang][bytecode][NFC] Remove unused function (PR #139355)

2025-05-09 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/139355 None >From a7aba9984f3a01d07d8e90c64bea7d9c9fd328a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sat, 10 May 2025 07:19:37 +0200 Subject: [PATCH] [clang][bytecode][NFC] Remove unused func

[clang] [clang][bytecode][NFC] Remove unused function (PR #139355)

2025-05-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/139355.diff 2 Files Affected: - (modified) clang/lib/AST/ByteCode/Interp.cpp (-9) - (modified) clang/lib/AST/ByteCode/Interp.h (-3) ``d

[clang] [clang-format] Fix a bug in annotating binary operator && (PR #138633)

2025-05-09 Thread Pierre Jolivet via cfe-commits
prj- wrote: @owenca, I actually think that this introduced a regression that was previously fixed in the nightly snapshot of `clang-format-21`. With `clang-format-20`: ``` $ cat foo.cpp template using invoke_result_t = typename std::result_of::type; $ clang-format-20 foo.cpp template using inv

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

2025-05-09 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt updated https://github.com/llvm/llvm-project/pull/136828 >From 6f161d3699cac269f74376dc02697a7242b5 Mon Sep 17 00:00:00 2001 From: Oliver Hunt Date: Wed, 30 Apr 2025 22:26:59 -0700 Subject: [PATCH] [clang][PAC] add support for options parameter to __ptrauth This P

[clang] [StaticAnalyzer] Remove redundant calls to std::unique_ptr::get (NFC) (PR #139353)

2025-05-09 Thread Shilei Tian via cfe-commits
https://github.com/shiltian approved this pull request. https://github.com/llvm/llvm-project/pull/139353 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [StaticAnalyzer] Remove redundant calls to std::unique_ptr::get (NFC) (PR #139353)

2025-05-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/139353.diff 5 Files Affected: - (modified) clang/lib/StaticAnalyzer/Checkers/CheckPlacementNew.cpp (+1-1) - (modified) clang/lib/StaticAnaly

[clang] [StaticAnalyzer] Remove redundant calls to std::unique_ptr::get (NFC) (PR #139353)

2025-05-09 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/139353 None >From b2e1ad4dde2e1a2ef56e47d7c86e86271c264521 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 25 Mar 2025 00:24:37 -0700 Subject: [PATCH] [StaticAnalyzer] Remove redundant calls to std::uniq

[clang] 3f42d34 - [clang][PAC] add ptrauth intptr test (#139338)

2025-05-09 Thread via cfe-commits
Author: Oliver Hunt Date: 2025-05-09T16:38:42-07:00 New Revision: 3f42d34c03096af4f026db2dbe049bbb20f0fddc URL: https://github.com/llvm/llvm-project/commit/3f42d34c03096af4f026db2dbe049bbb20f0fddc DIFF: https://github.com/llvm/llvm-project/commit/3f42d34c03096af4f026db2dbe049bbb20f0fddc.diff L

[clang] [clang][unittests] Fix a leak in SearchPathTest (PR #139335)

2025-05-09 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka approved this pull request. https://github.com/llvm/llvm-project/pull/139335 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clangd] Add tweak to add pure virtual overrides (PR #139348)

2025-05-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra @llvm/pr-subscribers-clangd Author: Marco Maia (marcogmaia) Changes This PR solves the following: - https://github.com/clangd/clangd/issues/1037 - https://github.com/clangd/clangd/issues/2240 --- Patch is 24.57 KiB, truncated to 20.0

[clang] 6a1d3ea - [clang-format] Handle Java record (#139215)

2025-05-09 Thread via cfe-commits
Author: Owen Pan Date: 2025-05-09T18:05:16-07:00 New Revision: 6a1d3ea57d344b96be352ae3203ed621359445b3 URL: https://github.com/llvm/llvm-project/commit/6a1d3ea57d344b96be352ae3203ed621359445b3 DIFF: https://github.com/llvm/llvm-project/commit/6a1d3ea57d344b96be352ae3203ed621359445b3.diff LOG:

[clang-tools-extra] [clangd] Add tweak to add pure virtual overrides (PR #139348)

2025-05-09 Thread via cfe-commits
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

[clang-tools-extra] [clangd] Add tweak to add pure virtual overrides (PR #139348)

2025-05-09 Thread Marco Maia via cfe-commits
https://github.com/marcogmaia created https://github.com/llvm/llvm-project/pull/139348 This PR solves the following: - https://github.com/clangd/clangd/issues/1037 - https://github.com/clangd/clangd/issues/2240 >From 76503bd8f5618b710e2909d1303de5d34723 Mon Sep 17 00:00:00 2001 From: Marco

[clang] [CIR] Cleanup support for C functions (PR #136854)

2025-05-09 Thread Iris Shi via cfe-commits
https://github.com/el-ev updated https://github.com/llvm/llvm-project/pull/136854 >From 2350ca543f77d91c05db3d985f72e2cb10be3292 Mon Sep 17 00:00:00 2001 From: Iris Shi <0...@owo.li> Date: Thu, 8 May 2025 23:40:15 +0800 Subject: [PATCH] [CIR] Cleanup support for C functions --- clang/lib/CIR/C

[clang-tools-extra] Add check 'modernize-use-enum-class' (PR #138282)

2025-05-09 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor edited https://github.com/llvm/llvm-project/pull/138282 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Better diagnostics when assertion fails in `consteval` (PR #130458)

2025-05-09 Thread Yanzuo Liu via cfe-commits
https://github.com/zwuis edited https://github.com/llvm/llvm-project/pull/130458 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Better diagnostics when assertion fails in `consteval` (PR #130458)

2025-05-09 Thread JJ Marr via cfe-commits
jj-marr wrote: > LGTM modulo nit. > > Are you happy with the current state? @cor3ntin @Sirraide Shouldn't CI be passing? I can't figure out why there are failures. https://github.com/llvm/llvm-project/pull/130458 ___ cfe-commits mailing list cfe-comm

[clang] Better diagnostics when assertion fails in `consteval` (PR #130458)

2025-05-09 Thread JJ Marr via cfe-commits
@@ -5975,9 +5975,15 @@ static bool CheckConstexprFunction(EvalInfo &Info, SourceLocation CallLoc, Definition->hasAttr( return true; - if (Info.getLangOpts().CPlusPlus11) { -const FunctionDecl *DiagDecl = Definition ? Defin

[clang] Better diagnostics when assertion fails in `consteval` (PR #130458)

2025-05-09 Thread Yanzuo Liu via cfe-commits
@@ -5975,9 +5975,15 @@ static bool CheckConstexprFunction(EvalInfo &Info, SourceLocation CallLoc, Definition->hasAttr( return true; - if (Info.getLangOpts().CPlusPlus11) { -const FunctionDecl *DiagDecl = Definition ? Defin

[clang] Better diagnostics when assertion fails in `consteval` (PR #130458)

2025-05-09 Thread Yanzuo Liu via cfe-commits
https://github.com/zwuis commented: LGTM module nit. Are you happy with the current state? @cor3ntin @Sirraide https://github.com/llvm/llvm-project/pull/130458 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mai

[clang] Better diagnostics when assertion fails in `consteval` (PR #130458)

2025-05-09 Thread Yanzuo Liu via cfe-commits
https://github.com/zwuis edited https://github.com/llvm/llvm-project/pull/130458 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] Add HTMLMustacheGenerator.cpp (PR #138060)

2025-05-09 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/138060 >From 88e705710a6c25eee3468dc51ade3b1e274eb7be Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 30 Apr 2025 07:59:01 -0700 Subject: [PATCH] [clang-doc] Add HTMLMustacheGenerator.cpp Split from #133161. This

[clang] [clang][Darwin] Remove legacy framework search path logic in the frontend (PR #138234)

2025-05-09 Thread Ian Anderson via cfe-commits
ian-twilightcoder wrote: That passes for me. I can't even figure out which unit test is failing, they all say `OK` and not `FAILED`. The one error in there looks like it's expected since its test still returns `OK`. Are we totally sure this isn't an infrastructure issue? https://github.com/ll

[clang] [clang][ThreadSafety]: fix descrepency between capability attributes (PR #139343)

2025-05-09 Thread Cory Fields via cfe-commits
https://github.com/theuni created https://github.com/llvm/llvm-project/pull/139343 Fix the case where `release_generic_capability` did not correctly release when used as a reverse capability as enabled by commit 6a68efc959. I noticed this when trying to implement a reverse lock. My my project

[clang] [clang-format][NFC] Delete duplicates in CSharpExtraKeywords (PR #139199)

2025-05-09 Thread Owen Pan via cfe-commits
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/139199 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RawPtrRefMemberChecker] Add the support for union and pointers to unsafe pointers. (PR #138042)

2025-05-09 Thread Ryosuke Niwa via cfe-commits
https://github.com/rniwa closed https://github.com/llvm/llvm-project/pull/138042 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [RISCV] Xqci Extensions v0.11.0 (PR #137881)

2025-05-09 Thread Sam Elliott via cfe-commits
https://github.com/lenary edited https://github.com/llvm/llvm-project/pull/137881 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [RISCV] Xqci Extensions v0.11.0 (PR #137881)

2025-05-09 Thread Sudharsan Veeravalli via cfe-commits
https://github.com/svs-quic approved this pull request. LGTM! https://github.com/llvm/llvm-project/pull/137881 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Handle Java record (PR #139215)

2025-05-09 Thread Owen Pan via cfe-commits
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/139215 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 9bafaf6 - [clang-format][NFC] Delete duplicates in CSharpExtraKeywords (#139199)

2025-05-09 Thread via cfe-commits
Author: Owen Pan Date: 2025-05-09T18:03:00-07:00 New Revision: 9bafaf6dfd518263d223cfb1c9948240ce311447 URL: https://github.com/llvm/llvm-project/commit/9bafaf6dfd518263d223cfb1c9948240ce311447 DIFF: https://github.com/llvm/llvm-project/commit/9bafaf6dfd518263d223cfb1c9948240ce311447.diff LOG:

[clang] [clang][ThreadSafety]: fix discrepancy between capability attributes (PR #139343)

2025-05-09 Thread Cory Fields via cfe-commits
https://github.com/theuni edited https://github.com/llvm/llvm-project/pull/139343 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 12e6622 - [Support] Avoid setting minor/subminor/build in VersionTuple::withMajorReplaced (#139318)

2025-05-09 Thread via cfe-commits
Author: Cyndy Ishida Date: 2025-05-09T16:56:18-07:00 New Revision: 12e6622d4a6602e1c63b261b185eab136b4827de URL: https://github.com/llvm/llvm-project/commit/12e6622d4a6602e1c63b261b185eab136b4827de DIFF: https://github.com/llvm/llvm-project/commit/12e6622d4a6602e1c63b261b185eab136b4827de.diff

[clang] [webkit.UncountedLambdaCapturesChecker] Treat every argument of std::ranges functions as noescape. (PR #138995)

2025-05-09 Thread Ryosuke Niwa via cfe-commits
rniwa wrote: Thanks for the review! https://github.com/llvm/llvm-project/pull/138995 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 984475d - [RawPtrRefMemberChecker] Add the support for union and pointers to unsafe pointers. (#138042)

2025-05-09 Thread via cfe-commits
Author: Ryosuke Niwa Date: 2025-05-09T17:44:13-07:00 New Revision: 984475d82df8d75095c987c909073cec83d5375e URL: https://github.com/llvm/llvm-project/commit/984475d82df8d75095c987c909073cec83d5375e DIFF: https://github.com/llvm/llvm-project/commit/984475d82df8d75095c987c909073cec83d5375e.diff

[clang] [clang][ThreadSafety]: fix discrepancy between capability attributes (PR #139343)

2025-05-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Cory Fields (theuni) Changes Fix the case where `release_generic_capability` did not correctly release when used as a reverse capability as enabled by commit 6a68efc959. I noticed this when trying to implement a reverse lock. My my proje

[clang] [llvm] [RISCV] Xqci Extensions v0.11.0 (PR #137881)

2025-05-09 Thread Sam Elliott via cfe-commits
https://github.com/lenary edited https://github.com/llvm/llvm-project/pull/137881 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [RISCV] Xqci Extensions v0.10.0 (PR #137881)

2025-05-09 Thread Sam Elliott via cfe-commits
https://github.com/lenary updated https://github.com/llvm/llvm-project/pull/137881 >From 77e11986173c1687db5694544337026badb37448 Mon Sep 17 00:00:00 2001 From: Sam Elliott Date: Tue, 29 Apr 2025 14:28:43 -0700 Subject: [PATCH 1/3] [RISCV] Xqci Extensions v0.10.0 This updates all the extension

[clang] [OpenMP] Fix crash when diagnosing dist_schedule (PR #139277)

2025-05-09 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-x86_64-debian-dylib` running on `gribozavr4` while building `clang` at step 6 "test-build-unified-tree-check-clang". Full details are available at: https://lab.llvm.org/buildbot/#/builders/60/builds/26998 Here is the r

[clang] [llvm] [HLSL][RootSignature] Add parsing for RootFlags (PR #138055)

2025-05-09 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-android` running on `sanitizer-buildbot-android` while building `clang,llvm` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/186/builds/8893 Here is the r

[clang] 436504c - [webkit.UncountedLambdaCapturesChecker] Treat every argument of std::ranges functions as noescape. (#138995)

2025-05-09 Thread via cfe-commits
Author: Ryosuke Niwa Date: 2025-05-09T17:44:36-07:00 New Revision: 436504c3b9db3bd11d34ec7457b52bef43fc35cc URL: https://github.com/llvm/llvm-project/commit/436504c3b9db3bd11d34ec7457b52bef43fc35cc DIFF: https://github.com/llvm/llvm-project/commit/436504c3b9db3bd11d34ec7457b52bef43fc35cc.diff

[clang] [webkit.UncountedLambdaCapturesChecker] Treat every argument of std::ranges functions as noescape. (PR #138995)

2025-05-09 Thread Ryosuke Niwa via cfe-commits
https://github.com/rniwa closed https://github.com/llvm/llvm-project/pull/138995 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RawPtrRefMemberChecker] Add the support for union and pointers to unsafe pointers. (PR #138042)

2025-05-09 Thread Ryosuke Niwa via cfe-commits
rniwa wrote: Thanks for the review! https://github.com/llvm/llvm-project/pull/138042 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [OpenMP] Allow begin/end declare variant in executable context (PR #139344)

2025-05-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-openmp Author: Johannes Doerfert (jdoerfert) Changes We are missing a few declerative directives in the parser for executable and declerative directives causing us to error out if they are inside of functions. This adds support for begin/end declare va

[clang] [OpenMP] Allow begin/end declare variant in executable context (PR #139344)

2025-05-09 Thread Johannes Doerfert via cfe-commits
https://github.com/jdoerfert created https://github.com/llvm/llvm-project/pull/139344 We are missing a few declerative directives in the parser for executable and declerative directives causing us to error out if they are inside of functions. This adds support for begin/end declare variant by

[clang] [OpenMP] Fix crash when diagnosing dist_schedule (PR #139277)

2025-05-09 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-x86_64-debian-fast` running on `gribozavr4` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/56/builds/25482 Here is the rel

[clang] [clang][ThreadSafety]: fix discrepancy between capability attributes (PR #139343)

2025-05-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-analysis Author: Cory Fields (theuni) Changes Fix the case where `release_generic_capability` did not correctly release when used as a reverse capability as enabled by commit 6a68efc959. I noticed this when trying to implement a reverse lock. My

[clang] [clang][ThreadSafety]: fix descrepency between capability attributes (PR #139343)

2025-05-09 Thread via cfe-commits
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

[clang] [flang] [llvm] [flang][OpenMP] Pass OpenMP version to getOpenMPDirectiveName (PR #139131)

2025-05-09 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `ppc64le-flang-rhel-clang` running on `ppc64le-flang-rhel-test` while building `flang` at step 5 "build-unified-tree". Full details are available at: https://lab.llvm.org/buildbot/#/builders/157/builds/27555 Here is the rele

[clang] [StaticAnalyzer] Handle `__builtin_bit_cast` (PR #139188)

2025-05-09 Thread Donát Nagy via cfe-commits
@@ -285,15 +285,43 @@ void ExprEngine::VisitCast(const CastExpr *CastE, const Expr *Ex, ExplodedNodeSet dstPreStmt; getCheckerManager().runCheckersForPreStmt(dstPreStmt, Pred, CastE, *this); - if (CastE->getCastKind() == CK_LValueToRValue || - CastE->getCastKind() =

[clang] [clang][unittests] Fix a leak in SearchPathTest (PR #139335)

2025-05-09 Thread Ian Anderson via cfe-commits
https://github.com/ian-twilightcoder created https://github.com/llvm/llvm-project/pull/139335 None >From 075cc877b9db1435c1d74bc476b807dd564b8fb9 Mon Sep 17 00:00:00 2001 From: Ian Anderson Date: Fri, 9 May 2025 16:11:23 -0700 Subject: [PATCH] [clang][unittests] Fix a leak in SearchPathTest -

[clang] [clang][PAC] add ptrauth intptr test (PR #139338)

2025-05-09 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt closed https://github.com/llvm/llvm-project/pull/139338 ___ 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-05-09 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt edited 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] [llvm] [Support] Avoid setting minor/subminor/build in VersionTuple::withMajorReplaced (PR #139318)

2025-05-09 Thread Cyndy Ishida via cfe-commits
https://github.com/cyndyishida closed https://github.com/llvm/llvm-project/pull/139318 ___ 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-05-09 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt updated https://github.com/llvm/llvm-project/pull/136828 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-se

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

2025-05-09 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt updated https://github.com/llvm/llvm-project/pull/136828 >From d53d1ad252ad5c4c9db61ad03e8a606e195156d9 Mon Sep 17 00:00:00 2001 From: Oliver Hunt Date: Wed, 30 Apr 2025 22:26:59 -0700 Subject: [PATCH] [clang][PAC] add support for options parameter to __ptrauth This P

[clang] [clang][OpenMP] Add error for large expr in collapse clause (PR #138592)

2025-05-09 Thread Shafik Yaghmour via cfe-commits
@@ -15901,6 +15901,13 @@ ExprResult SemaOpenMP::VerifyPositiveIntegerConstantInClause( << E->getSourceRange(); return ExprError(); } + + if (!Result.isRepresentableByInt64()) { shafik wrote: So these are always 64 bit integers? This: https://w

[clang] [clang][OpenMP] Add error for large expr in collapse clause (PR #138592)

2025-05-09 Thread Shafik Yaghmour via cfe-commits
@@ -11523,6 +11523,8 @@ def note_omp_collapse_ordered_expr : Note< "as specified in %select{'collapse'|'ordered'|'collapse' and 'ordered'}0 clause%select{||s}0">; def err_omp_negative_expression_in_clause : Error< "argument to '%0' clause must be a %select{non-negative|str

[clang] [clang][unittests] Fix a leak in SearchPathTest (PR #139335)

2025-05-09 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka closed https://github.com/llvm/llvm-project/pull/139335 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] ce9a898 - [clang][unittests] Fix a leak in SearchPathTest (#139335)

2025-05-09 Thread via cfe-commits
Author: Ian Anderson Date: 2025-05-09T16:40:33-07:00 New Revision: ce9a898f3daee4622e28526e7912ca468c284767 URL: https://github.com/llvm/llvm-project/commit/ce9a898f3daee4622e28526e7912ca468c284767 DIFF: https://github.com/llvm/llvm-project/commit/ce9a898f3daee4622e28526e7912ca468c284767.diff

[clang] [clang][unittests] Fix a leak in SearchPathTest (PR #139335)

2025-05-09 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: I checked on the bot, this fixes the leak! Thank you! https://github.com/llvm/llvm-project/pull/139335 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][PAC] add ptrauth intptr test (PR #139338)

2025-05-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Oliver Hunt (ojhunt) Changes Forgot to actually add the test as part of the `__ptrauth` on intptr PR --- Full diff: https://github.com/llvm/llvm-project/pull/139338.diff 1 Files Affected: - (added) clang/test/Sema/ptrauth-intptr-qualifi

[clang] [clang][PAC] add ptrauth intptr test (PR #139338)

2025-05-09 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt created https://github.com/llvm/llvm-project/pull/139338 Forgot to actually add the test as part of the `__ptrauth` on intptr PR >From db7075b4855eca0dbb5c0d6c7184c193a975f405 Mon Sep 17 00:00:00 2001 From: Oliver Hunt Date: Fri, 9 May 2025 16:36:51 -0700 Subject: [PA

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

2025-05-09 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt updated https://github.com/llvm/llvm-project/pull/136828 >From f19a0a6045c98211fcb354e6614aa6707dfccc59 Mon Sep 17 00:00:00 2001 From: Oliver Hunt Date: Wed, 30 Apr 2025 22:26:59 -0700 Subject: [PATCH] [clang][ptrauth] add support for options parameter to __ptrauth T

[clang] 73165de - [OpenMP] implementation set controls elision for begin declare variant (#139287)

2025-05-09 Thread via cfe-commits
Author: Johannes Doerfert Date: 2025-05-09T16:32:39-07:00 New Revision: 73165de4e68166da5527641078aeaa039116d63d URL: https://github.com/llvm/llvm-project/commit/73165de4e68166da5527641078aeaa039116d63d DIFF: https://github.com/llvm/llvm-project/commit/73165de4e68166da5527641078aeaa039116d63d.d

[clang] [llvm] [OpenMP] implementation set controls elision for begin declare variant (PR #139287)

2025-05-09 Thread Johannes Doerfert via cfe-commits
https://github.com/jdoerfert closed https://github.com/llvm/llvm-project/pull/139287 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Reapply "[Win/X86] Make _m_prefetch[w] builtins to avoid winnt.h conflicts (#115099)" (PR #138360)

2025-05-09 Thread Reid Kleckner via cfe-commits
@@ -138,6 +138,12 @@ let Attributes = [Const, NoThrow, RequiredVectorWidth<256>], Features = "avx" in } } +// PRFCHW +let Features = "prfchw", Header = "intrin.h", Attributes = [NoThrow, Const] in { rnk wrote: Looks like I actually had a pending change to

[clang] [llvm] [NVPTX] Add intrinsics and clang builtins for conversions of f4x2 type (PR #139244)

2025-05-09 Thread Artem Belevich via cfe-commits
https://github.com/Artem-B approved this pull request. https://github.com/llvm/llvm-project/pull/139244 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][unittests] Fix a leak in SearchPathTest (PR #139335)

2025-05-09 Thread Steven Wu via cfe-commits
https://github.com/cachemeifyoucan approved this pull request. https://github.com/llvm/llvm-project/pull/139335 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Darwin] Remove legacy framework search path logic in the frontend (PR #138234)

2025-05-09 Thread Ian Anderson via cfe-commits
ian-twilightcoder wrote: Yeah that's the one, https://github.com/llvm/llvm-project/pull/139335. Hopefully that'll take care of the buildbot https://github.com/llvm/llvm-project/pull/138234 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https:

[clang] [clang][unittests] Fix a leak in SearchPathTest (PR #139335)

2025-05-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Ian Anderson (ian-twilightcoder) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/139335.diff 1 Files Affected: - (modified) clang/unittests/Frontend/SearchPathTest.cpp (+3-3) ``diff diff --git a/clang/unitte

[clang] 97a58b0 - [aarch64][x86][win] Add compiler support for MSVC's /funcoverride flag (Windows kernel loader replaceable functions) (#125320)

2025-05-09 Thread via cfe-commits
Author: Daniel Paoliello Date: 2025-05-09T14:56:38-07:00 New Revision: 97a58b04c6813d8cab1bfb47ce5023895b016319 URL: https://github.com/llvm/llvm-project/commit/97a58b04c6813d8cab1bfb47ce5023895b016319 DIFF: https://github.com/llvm/llvm-project/commit/97a58b04c6813d8cab1bfb47ce5023895b016319.di

[clang] 2da57f8 - [Clang] Improve `-Wtautological-overlap-compare` diagnostics flag (#133653)

2025-05-09 Thread via cfe-commits
Author: Yutong Zhu Date: 2025-05-10T01:11:28+02:00 New Revision: 2da57f8105f0faff5cb7d671307f7cfc7ff2dce4 URL: https://github.com/llvm/llvm-project/commit/2da57f8105f0faff5cb7d671307f7cfc7ff2dce4 DIFF: https://github.com/llvm/llvm-project/commit/2da57f8105f0faff5cb7d671307f7cfc7ff2dce4.diff LO

[clang] [Clang] Improve ``-Wtautological-overlap-compare`` diagnostics flag (PR #133653)

2025-05-09 Thread via cfe-commits
https://github.com/Sirraide closed https://github.com/llvm/llvm-project/pull/133653 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] Add HTMLMustacheGenerator.cpp (PR #138060)

2025-05-09 Thread Paul Kirth via cfe-commits
@@ -535,6 +535,8 @@ struct ClangDocContext { // JavaScript files that will be imported in all HTML files. std::vector JsScripts; StringRef Base; + // Mustache Template files ilovepi wrote: done. LMK if something is unclear. https://github.com/llvm/llvm

[clang] [llvm] [HLSL][RootSignature] Add parsing for RootFlags (PR #138055)

2025-05-09 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `premerge-monolithic-windows` running on `premerge-windows-1` while building `clang,llvm` at step 5 "clean-build-dir". Full details are available at: https://lab.llvm.org/buildbot/#/builders/35/builds/9951 Here is the releva

[clang] [clang][Darwin] Remove legacy framework search path logic in the frontend (PR #138234)

2025-05-09 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: ``` = ==3963603==ERROR: LeakSanitizer: detected memory leaks Direct leak of 576 byte(s) in 1 object(s) allocated from: #0 0xb3001e6d179c in operator new(unsigned long) /home/b/sanitizer-aarch64-linux-bootstrap

[clang] Reapply "[Win/X86] Make _m_prefetch[w] builtins to avoid winnt.h conflicts (#115099)" (PR #138360)

2025-05-09 Thread Reid Kleckner via cfe-commits
https://github.com/rnk updated https://github.com/llvm/llvm-project/pull/138360 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,

[clang] [clang][Darwin] Remove legacy framework search path logic in the frontend (PR #138234)

2025-05-09 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: > That passes for me. I can't even figure out which unit test is failing, they > all say `OK` and not `FAILED`. The one error in there looks like it's > expected since its test still returns `OK`. Are we totally sure this isn't an > infrastructure issue? Unlikely. Process ex

[clang] Reapply "[Win/X86] Make _m_prefetch[w] builtins to avoid winnt.h conflicts (#115099)" (PR #138360)

2025-05-09 Thread Reid Kleckner via cfe-commits
https://github.com/rnk updated https://github.com/llvm/llvm-project/pull/138360 Rate limit · GitHub body { background-color: #f6f8fa; color: #24292e; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,

[clang] [llvm] [aarch64][x86][win] Add compiler support for MSVC's /funcoverride flag (Windows kernel loader replaceable functions) (PR #125320)

2025-05-09 Thread Daniel Paoliello via cfe-commits
https://github.com/dpaoliello closed https://github.com/llvm/llvm-project/pull/125320 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [StaticAnalyzer] Handle `__builtin_bit_cast` (PR #139188)

2025-05-09 Thread Ziqing Luo via cfe-commits
ziqingluo-90 wrote: This fix should solve https://github.com/llvm/llvm-project/issues/71174, and https://github.com/llvm/llvm-project/issues/137417 https://github.com/llvm/llvm-project/pull/139188 ___ cfe-commits mailing list cfe-commits@lists.llvm.or

[clang] [clang][Darwin] Remove legacy framework search path logic in the frontend (PR #138234)

2025-05-09 Thread Ian Anderson via cfe-commits
ian-twilightcoder wrote: I tried `GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=96 GTEST_SHARD_INDEX=67 ./AllClangUnitTests` and that also passes. There's a leak from the new `SearchPathTest`, maybe that's making the address sanitizer mad? https://github.com/llvm/llvm-project/pull/138234

[clang-tools-extra] [clang-doc] Add HTMLMustacheGenerator.cpp (PR #138060)

2025-05-09 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/138060 >From ba7721e9a60a466966a0e10a59491ba4e59b86a3 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 30 Apr 2025 07:59:01 -0700 Subject: [PATCH] [clang-doc] Add HTMLMustacheGenerator.cpp Split from #133161. This

[clang] [llvm] [mlir] [AMDGPU] Add a new amdgcn.load.to.lds intrinsic (PR #137425)

2025-05-09 Thread Krzysztof Drewniak via cfe-commits
krzysz00 wrote: Ping https://github.com/llvm/llvm-project/pull/137425 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 716062d - [OpenACC][CIR] Lowering for vector_length on combined constructs

2025-05-09 Thread via cfe-commits
Author: erichkeane Date: 2025-05-09T15:05:29-07:00 New Revision: 716062d943211bf8841a57d8211714fb33bf9858 URL: https://github.com/llvm/llvm-project/commit/716062d943211bf8841a57d8211714fb33bf9858 DIFF: https://github.com/llvm/llvm-project/commit/716062d943211bf8841a57d8211714fb33bf9858.diff LO

  1   2   3   4   5   6   >