[clang-tools-extra] [clang-doc] Extract Info into JSON values (PR #138063)

2025-05-23 Thread Paul Kirth via cfe-commits
ilovepi wrote: ### Merge activity * **May 23, 10:52 PM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/138063). https://github.com/llvm/llvm-project/pull/138063 ___

[clang-tools-extra] [clang-doc] Extract Info into JSON values (PR #138063)

2025-05-23 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/138063 >From 0c7122c91b45548a6401be465d1c94452a96cf53 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 30 Apr 2025 08:11:39 -0700 Subject: [PATCH] [clang-doc] Extract Info into JSON values Split from #133161. This

[clang-tools-extra] [clang-doc] Implement setupTemplateValue for HTMLMustacheGenerator (PR #138064)

2025-05-23 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/138064 >From 72da18f86f4ce50cbd804ae47feb6baeb275e159 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 30 Apr 2025 08:13:46 -0700 Subject: [PATCH] [clang-doc] Implement setupTemplateValue for HTMLMustacheGenerator

[clang-tools-extra] [clang-doc] Implement setupTemplateValue for HTMLMustacheGenerator (PR #138064)

2025-05-23 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi edited https://github.com/llvm/llvm-project/pull/138064 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] Extract Info into JSON values (PR #138063)

2025-05-23 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi closed https://github.com/llvm/llvm-project/pull/138063 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140529 >From b83755d2aa0c5417ab8f359aa842449213437a7a Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Mon, 19 May 2025 11:14:01 + Subject: [PATCH 01/12] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20?= =?UT

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-23 Thread Yanzuo Liu via cfe-commits
zwuis wrote: Can you handle this case `[[using gnu : deprected]]`? https://github.com/llvm/llvm-project/pull/141305 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140529 >From b83755d2aa0c5417ab8f359aa842449213437a7a Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Mon, 19 May 2025 11:14:01 + Subject: [PATCH 01/13] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20?= =?UT

[clang] [ASTMatchers][NFC] fix typos in AST-matchers docs. (PR #141307)

2025-05-23 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor created https://github.com/llvm/llvm-project/pull/141307 Found these typos using [CSpell](https://cspell.org/) utility. >From 4ee68d62a21f75110b9406c86c9c059b1c2a840d Mon Sep 17 00:00:00 2001 From: Baranov Victor Date: Sat, 24 May 2025 03:17:57 +0300 Subject: [PATCH

[clang] [ASTMatchers][NFC] fix typos in AST-matchers docs. (PR #141307)

2025-05-23 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Baranov Victor (vbvictor) Changes Found these typos using [CSpell](https://cspell.org/) utility. --- Full diff: https://github.com/llvm/llvm-project/pull/141307.diff 2 Files Affected: - (modified) clang/include/clang/ASTMatchers/ASTMatc

[clang] [Driver][LTO] Move common code for LTO to addLTOOptions() (PR #74178)

2025-05-23 Thread Brad Smith via cfe-commits
https://github.com/brad0 updated https://github.com/llvm/llvm-project/pull/74178 >From bd513daa03bd6304ab064063775f30e6c820de0d Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sat, 11 Nov 2023 20:02:40 -0500 Subject: [PATCH] [Driver][LTO] Move common code for LTO to addLTOOptions() --- clang/l

[clang] [Driver][LTO] Move common code for LTO to addLTOOptions() (PR #74178)

2025-05-23 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay approved this pull request. https://github.com/llvm/llvm-project/pull/74178 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] c8f29e3 - [clang][CIR] Fix tests after alignment support

2025-05-23 Thread Michael Liao via cfe-commits
Author: Michael Liao Date: 2025-05-24T00:22:57-04:00 New Revision: c8f29e3b319f2324d79d350f4c0aa86c178119e6 URL: https://github.com/llvm/llvm-project/commit/c8f29e3b319f2324d79d350f4c0aa86c178119e6 DIFF: https://github.com/llvm/llvm-project/commit/c8f29e3b319f2324d79d350f4c0aa86c178119e6.diff

[clang] [clang-format] Fix the indent of StartOfName after AttributeMacro (PR #140361)

2025-05-23 Thread Tom Stellard via cfe-commits
tstellar wrote: This was backported in https://github.com/llvm/llvm-project/pull/141004 https://github.com/llvm/llvm-project/pull/140361 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-23 Thread Qinkun Bao via cfe-commits
https://github.com/qinkunbao updated https://github.com/llvm/llvm-project/pull/140529 >From b83755d2aa0c5417ab8f359aa842449213437a7a Mon Sep 17 00:00:00 2001 From: Qinkun Bao Date: Mon, 19 May 2025 11:14:01 + Subject: [PATCH 01/14] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20?= =?UT

[clang] [Clang] Preserve CXXParenListInitExpr in TreeTransform. (PR #138518)

2025-05-23 Thread Alexander Kornienko via cfe-commits
alexfh wrote: Apart from the assertion failure in CodeGen, we have two distinct test cases that started failing after this commit. The code in both cases is sanitizer-clean and looks valid. The failures reproduce with -O0, so it's not about optimizations. Looks like Clang codegen is broken for

[clang] [Clang] Preserve CXXParenListInitExpr in TreeTransform. (PR #138518)

2025-05-23 Thread Alexander Kornienko via cfe-commits
alexfh wrote: @cor3ntin ^^ https://github.com/llvm/llvm-project/pull/138518 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-23 Thread Qinkun Bao via cfe-commits
@@ -63,6 +63,11 @@ Error SpecialCaseList::Matcher::insert(StringRef Pattern, unsigned LineNumber, .moveInto(Pair.first)) return Err; Pair.second = LineNumber; + } else { qinkunbao wrote: > It will not be needed after Matcher:

[clang-tools-extra] [clang-tidy] Added check 'bugprone-function-visibility-change' (PR #140086)

2025-05-23 Thread Baranov Victor via cfe-commits
___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Added check 'bugprone-function-visibility-change' (PR #140086)

2025-05-23 Thread Baranov Victor via cfe-commits
=?utf-8?q?Balázs_Kéri?= , =?utf-8?q?Balázs_Kéri?= Message-ID: In-Reply-To: @@ -0,0 +1,136 @@ +//===--- FunctionVisibilityChangeCheck.cpp - clang-tidy ---===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https:/

[clang-tools-extra] [clang-tidy] Added check 'bugprone-function-visibility-change' (PR #140086)

2025-05-23 Thread Baranov Victor via cfe-commits
=?utf-8?q?Balázs_Kéri?= , =?utf-8?q?Balázs_Kéri?= Message-ID: In-Reply-To: @@ -124,6 +124,11 @@ New checks pointer and store it as class members without handle the copy and move constructors and the assignments. +- New :doc:`bugprone-function-visibility-change + ` chec

[clang] dddcbc2 - [Driver][LTO] Move common code for LTO to addLTOOptions() (#74178)

2025-05-23 Thread via cfe-commits
Author: Brad Smith Date: 2025-05-23T23:03:37-04:00 New Revision: dddcbc26d6bcbc3361f7c56e8168ddd76d0dfc0f URL: https://github.com/llvm/llvm-project/commit/dddcbc26d6bcbc3361f7c56e8168ddd76d0dfc0f DIFF: https://github.com/llvm/llvm-project/commit/dddcbc26d6bcbc3361f7c56e8168ddd76d0dfc0f.diff LO

[clang] [Driver][LTO] Move common code for LTO to addLTOOptions() (PR #74178)

2025-05-23 Thread Brad Smith via cfe-commits
https://github.com/brad0 closed https://github.com/llvm/llvm-project/pull/74178 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver][LTO] Move common code for LTO to addLTOOptions() (PR #74178)

2025-05-23 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 approved this pull request. Looks like a nice cleanup https://github.com/llvm/llvm-project/pull/74178 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

2025-05-23 Thread Qinkun Bao via cfe-commits
@@ -71,9 +76,9 @@ unsigned SpecialCaseList::Matcher::match(StringRef Query) const { for (const auto &[Pattern, Pair] : Globs) if (Pair.first.match(Query)) return Pair.second; - for (const auto &[Regex, LineNumber] : RegExes) -if (Regex->match(Query)) - re

[clang] [clang] Use llvm::any_of (NFC) (PR #141314)

2025-05-23 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/141314.diff 3 Files Affected: - (modified) clang/include/clang/AST/Expr.h (+2-3) - (modified) clang/lib/AST/Type.cpp (+7-7) - (modified) cl

[clang] [clang] Use llvm::any_of (NFC) (PR #141314)

2025-05-23 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/141314.diff 3 Files Affected: - (modified) clang/include/clang/AST/Expr.h (+2-3) - (modified) clang/lib/AST/Type.cpp (+7-7) - (modif

[clang-tools-extra] [clang-doc] Use llvm::any_of (NFC) (PR #141315)

2025-05-23 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/141315 None >From 48c76559715b7a584ad167c6a43bc8ea02585d3d Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 15 May 2025 21:28:40 -0700 Subject: [PATCH] [clang-doc] Use llvm::any_of (NFC) --- clang-tools-

[clang] [clang] Use llvm::any_of (NFC) (PR #141314)

2025-05-23 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/141314 None >From e86781db12cfd119fb4c00267bba4a57b27a7c9b Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 22 May 2025 21:10:06 -0700 Subject: [PATCH] [clang] Use llvm::any_of (NFC) --- clang/include/cl

[clang-tools-extra] [clang-doc] Use llvm::any_of (NFC) (PR #141315)

2025-05-23 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/141315.diff 1 Files Affected: - (modified) clang-tools-extra/clang-doc/HTMLGenerator.cpp (+2-3) ``diff diff --git a/cl

[clang] [Clang][CMake][MSVC] Install PDBs alongside executables (PR #126961)

2025-05-23 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-ppc64-aix` running on `aix-ppc64` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/64/builds/3772 Here is the relevant piece

[clang] [clang-format] Handle Java text blocks (PR #141334)

2025-05-23 Thread Owen Pan via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/141334 Fix #61954 >From 470eca4b4d963bf5c1ba87fb2f22620eb717c848 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Fri, 23 May 2025 23:21:12 -0700 Subject: [PATCH] [clang-format] Handle Java text blocks Fix #61954 --- cl

[clang] [clang-format] Handle Java text blocks (PR #141334)

2025-05-23 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Fix #61954 --- Full diff: https://github.com/llvm/llvm-project/pull/141334.diff 3 Files Affected: - (modified) clang/lib/Format/FormatTokenLexer.cpp (+45) - (modified) clang/lib/Format/FormatTokenLexer.

[clang] [clang-format] Handle Java text blocks (PR #141334)

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

[clang] [clang] Use llvm::any_of (NFC) (PR #141314)

2025-05-23 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/141314 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] Use llvm::any_of (NFC) (PR #141315)

2025-05-23 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/141315 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Add IndentPPDirectives Leave option (PR #139750)

2025-05-23 Thread Owen Pan via cfe-commits
owenca wrote: Should `Leave` apply to the hash only or also to the name after the hash? https://github.com/llvm/llvm-project/pull/139750 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 8323335 - [clang] Use llvm::any_of (NFC) (#141314)

2025-05-23 Thread via cfe-commits
Author: Kazu Hirata Date: 2025-05-23T23:59:38-07:00 New Revision: 8323335496c5249c97344038250ac5db48d4cdd5 URL: https://github.com/llvm/llvm-project/commit/8323335496c5249c97344038250ac5db48d4cdd5 DIFF: https://github.com/llvm/llvm-project/commit/8323335496c5249c97344038250ac5db48d4cdd5.diff L

[clang] [clang] Use llvm::any_of (NFC) (PR #141314)

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

[clang-tools-extra] 08a50bd - [clang-doc] Use llvm::any_of (NFC) (#141315)

2025-05-23 Thread via cfe-commits
Author: Kazu Hirata Date: 2025-05-23T23:59:41-07:00 New Revision: 08a50bd457274bba9f1ced62efeb0ee52204a8c4 URL: https://github.com/llvm/llvm-project/commit/08a50bd457274bba9f1ced62efeb0ee52204a8c4 DIFF: https://github.com/llvm/llvm-project/commit/08a50bd457274bba9f1ced62efeb0ee52204a8c4.diff L

[clang-tools-extra] [clang-doc] Use llvm::any_of (NFC) (PR #141315)

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

<    1   2   3   4