llvmbot wrote:
@llvm/pr-subscribers-clangd
@llvm/pr-subscribers-clang-tools-extra
Author: None (tcottin)
Changes
This is a preparation for fixing clangd/clangd#529.
It changes the Markup rendering to markdown and plaintext.
- Properly separate paragraphs using an empty line between
- Don
tcottin wrote:
After some more discussions and suggestions in clangd/clangd#529, I made
additional changes.
Now I think this patch has gotten too big, so I will split this into multiple
smaller patches starting with #140498
https://github.com/llvm/llvm-project/pull/128591
_
https://github.com/Endilll closed
https://github.com/llvm/llvm-project/pull/140496
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Endilll wrote:
Hmm, so the reason we have `Cursor.from_source_location` is that SourceLocation
doesn't hold a reference to TU. Yeah, I guess we don't need this.
https://github.com/llvm/llvm-project/pull/140496
___
cfe-commits mailing list
cfe-commits@
https://github.com/tcottin closed
https://github.com/llvm/llvm-project/pull/128591
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tgymnich approved this pull request.
https://github.com/llvm/llvm-project/pull/140468
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/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
https://github.com/tcottin created
https://github.com/llvm/llvm-project/pull/140498
This is a preparation for fixing clangd/clangd#529.
It changes the Markup rendering to markdown and plaintext.
- Properly separate paragraphs using an empty line between
- Dont escape markdown syntax for markdo
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
This allows adding other suboptions e.g. IgnoreExtension in #137840.
---
Full diff: https://github.com/llvm/llvm-project/pull/140497.diff
8 Files Affected:
- (modified) clang/docs/ClangFormatStyleOptions
hahnjo wrote:
I'm not so sure it's about conversion function templates in particular: if it's
really commit 658d55ba1117a029f37f51a3072585a1fd9fc59f causing the problem
(@emaxx-google if you happen to have some time, it would be great to confirm
reverting that change also avoids the issues in
https://github.com/DeinAlptraum approved this pull request.
LGTM, but are you sure there is a need for this API? This just seems like a
slighly less convenient version of `TranslationUnit.cursor`.
> This should complete the list of things Cursor can be made from.
There is also a `cursor` prope
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Owen Pan (owenca)
Changes
This allows adding other suboptions e.g. IgnoreExtension in #137840.
---
Full diff: https://github.com/llvm/llvm-project/pull/140497.diff
8 Files Affected:
- (modified) clang/docs/ClangFormatStyleOptions.rst (+
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/140497
This allows adding other suboptions e.g. IgnoreExtension in #137840.
>From 186ac09017c78cbff5a34a5b8768b6df5b8d0546 Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Sun, 18 May 2025 23:23:04 -0700
Subject: [PATCH]
github-actions[bot] wrote:
:warning: Python code formatter, darker found issues in your code. :warning:
You can test this locally with the following command:
``bash
darker --check --diff -r HEAD~1...HEAD clang/bindings/python/clang/cindex.py
clang/bindings/python/tests/cindex/tes
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Vlad Serebrennikov (Endilll)
Changes
This should complete the list of things `Cursor` can be made from.
---
Full diff: https://github.com/llvm/llvm-project/pull/140496.diff
3 Files Affected:
- (modified) clang/bindings/python/clang/cind
https://github.com/Endilll created
https://github.com/llvm/llvm-project/pull/140496
This should complete the list of things `Cursor` can be made from.
>From 2fa8240df89d195c25da9d0ee52101830ae41677 Mon Sep 17 00:00:00 2001
From: Vlad Serebrennikov
Date: Mon, 19 May 2025 09:20:55 +0300
Subject:
@@ -355,6 +349,9 @@ function(add_link_opts target_name)
set_property(TARGET ${target_name} APPEND_STRING PROPERTY
LINK_FLAGS " -Wl,-brtl")
endif()
+
+ check_linker_flag(CXX "-Wl,-Bsymbolic-functions"
MaskRay wrote:
@mati865 This might b
@@ -1148,6 +1146,35 @@ mlir::Value CIRGenFunction::emitAlloca(StringRef name,
mlir::Type ty,
return addr;
}
+// Note: this function also emit constructor calls to support a MSVC extensions
+// allowing explicit constructor function call.
+RValue CIRGenFunction::emitCXXMembe
hubert-reinterpretcast wrote:
This PR addresses the failure seen in
https://lab.llvm.org/buildbot/#/builders/64/builds/3661/steps/6/logs/FAIL__Clang__no-integrated-cpp_c.
https://github.com/llvm/llvm-project/pull/140490
___
cfe-commits mailing list
cf
https://github.com/brad0 closed https://github.com/llvm/llvm-project/pull/72601
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-x86_64-gcc-ubuntu-no-asserts` running on `doug-worker-6` while
building `clang,llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/202/builds
https://github.com/Lancern edited
https://github.com/llvm/llvm-project/pull/140290
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Lancern approved this pull request.
https://github.com/llvm/llvm-project/pull/140290
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Lancern approved this pull request.
https://github.com/llvm/llvm-project/pull/140290
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
@llvm/pr-subscribers-clang
Author: Hubert Tong (hubert-reinterpretcast)
Changes
Have the test accept use of the toolchain assembler instead of `-cc1as` as some
targets, such as AIX, do not use `-cc1as`.
---
Full diff: https://github.com/ll
https://github.com/hubert-reinterpretcast created
https://github.com/llvm/llvm-project/pull/140490
Have the test accept use of the toolchain assembler instead of `-cc1as` as some
targets, such as AIX, do not use `-cc1as`.
>From c10943474ca69b70464a99c877c6ef862f705a91 Mon Sep 17 00:00:00 2001
https://github.com/HerrCai0907 approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/135383
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -56,6 +60,13 @@ class UseTrailingReturnTypeCheck : public ClangTidyCheck {
SourceRange ReturnTypeCVRange, const FunctionDecl &F,
const FriendDecl *Fr, const ASTContext &Ctx,
const SourceManager &SM, const Lang
https://github.com/HerrCai0907 edited
https://github.com/llvm/llvm-project/pull/135383
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/brad0 closed https://github.com/llvm/llvm-project/pull/79539
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Brad Smith
Date: 2025-05-18T21:20:32-04:00
New Revision: fbb8a0c9c8a0725b60d84333dd0c4af706b15bed
URL:
https://github.com/llvm/llvm-project/commit/fbb8a0c9c8a0725b60d84333dd0c4af706b15bed
DIFF:
https://github.com/llvm/llvm-project/commit/fbb8a0c9c8a0725b60d84333dd0c4af706b15bed.diff
LO
https://github.com/jeremyd2019 approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/79539
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -105,9 +105,6 @@ void errno_getcwd(char *Buf, size_t Sz) {
clang_analyzer_eval(errno != 0); // expected-warning{{TRUE}}
clang_analyzer_eval(Path == NULL); // expected-warning{{TRUE}}
if (errno) {} // no warning
- } else if (Path == NULL) {
brunodf-snps wrote:
> I'm surprised we need all this. Since we don't distinguish arrays from their
> elements in TBAA, is it not sufficient to just make sure that array subscript
> expressions produce an l-value with the same TBAA metadata as their base
> l-value?
The code is written after [t
https://github.com/brunodf-snps updated
https://github.com/llvm/llvm-project/pull/137719
>From d63c8fe4fcc8e89933bf3c1cc176941b0b9094fa Mon Sep 17 00:00:00 2001
From: Bruno De Fraine
Date: Mon, 28 Apr 2025 14:12:00 +0200
Subject: [PATCH 1/3] [clang][CodeGen] Make tbaa-array test more robust
Av
sivadeilra wrote:
@aganea , I've encountered one problem with this PR. The pass which creates
the `__ref_*` variables needs to run before
`CodeViewDebug::collectGlobalVariableInfo`, but the way we did this in this PR
breaks several other integration tests. From looking at the sequence of
pa
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
We can simplify the code with *Map::try_emplace where we need
default-constructed values while avoding calling constructors when
keys are already present.
---
Full diff: https://github.com/llvm/llvm-pr
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Kazu Hirata (kazutakahirata)
Changes
We can simplify the code with *Map::try_emplace where we need
default-constructed values while avoding calling constructors when
keys are already present.
---
Full diff: https://github.com/llvm
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/140477
We can simplify the code with *Map::try_emplace where we need
default-constructed values while avoding calling constructors when
keys are already present.
>From c3a085a286f1e876a721f6299622a681905013ed M
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/140099
>From ab09038c757369b0ecc6c968bb50debdc024b1ce Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Wed, 14 May 2025 22:25:09 +0200
Subject: [PATCH 1/3] [CIR][LLVMLowering] Upstream binary operators for
Vecto
https://github.com/DanielKristofKiss approved this pull request.
https://github.com/llvm/llvm-project/pull/140277
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/140468.diff
2 Files Affected:
- (modified) clang/lib/APINotes/APINotesReader.cpp (+2-2)
- (modified) clang/lib/AST/Type.cpp (+1-1)
``
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/140468
None
>From 4d09559c9f7e87718ca48ac35a2d178c58000b23 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sun, 18 May 2025 10:44:18 -0700
Subject: [PATCH] [clang] Use llvm::is_sorted (NFC)
---
clang/lib/API
HighCommander4 wrote:
> If you're looking for a clangd reviewer, perhaps one of our other clangd
> maintainers, @llvm-beanz or @kadircet, could help with this one.
(I realized you are probably not able to edit the Reviewers field, so I went
ahead and added the mentioned folks.)
https://github
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/140099
>From ab09038c757369b0ecc6c968bb50debdc024b1ce Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Wed, 14 May 2025 22:25:09 +0200
Subject: [PATCH 1/3] [CIR][LLVMLowering] Upstream binary operators for
Vecto
https://github.com/AmrDeveloper closed
https://github.com/llvm/llvm-project/pull/139444
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Amr Hesham
Date: 2025-05-18T18:53:17+02:00
New Revision: 61ba3e4c99a0f806a798fba398e82a4969054bc1
URL:
https://github.com/llvm/llvm-project/commit/61ba3e4c99a0f806a798fba398e82a4969054bc1
DIFF:
https://github.com/llvm/llvm-project/commit/61ba3e4c99a0f806a798fba398e82a4969054bc1.diff
LO
Author: Kazu Hirata
Date: 2025-05-18T09:45:48-07:00
New Revision: e003326cd8e474f1c5be030f63c975b354c3f784
URL:
https://github.com/llvm/llvm-project/commit/e003326cd8e474f1c5be030f63c975b354c3f784
DIFF:
https://github.com/llvm/llvm-project/commit/e003326cd8e474f1c5be030f63c975b354c3f784.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/140459
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-05-18T09:47:06-07:00
New Revision: 0fc9cd13a6e3e3707794f4e016b15831d5f0b334
URL:
https://github.com/llvm/llvm-project/commit/0fc9cd13a6e3e3707794f4e016b15831d5f0b334
DIFF:
https://github.com/llvm/llvm-project/commit/0fc9cd13a6e3e3707794f4e016b15831d5f0b334.diff
L
Author: Kazu Hirata
Date: 2025-05-18T09:46:39-07:00
New Revision: 9384e8e63c2e51a5dfac1c53d07442bb0c8d8773
URL:
https://github.com/llvm/llvm-project/commit/9384e8e63c2e51a5dfac1c53d07442bb0c8d8773
DIFF:
https://github.com/llvm/llvm-project/commit/9384e8e63c2e51a5dfac1c53d07442bb0c8d8773.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/140458
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-05-18T09:46:15-07:00
New Revision: 04c73adfe2ed3597e10859c753b0dbdfd7e5f210
URL:
https://github.com/llvm/llvm-project/commit/04c73adfe2ed3597e10859c753b0dbdfd7e5f210
DIFF:
https://github.com/llvm/llvm-project/commit/04c73adfe2ed3597e10859c753b0dbdfd7e5f210.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/140456
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/140455
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,50 @@
+//===--- AvoidPragmaOnceCheck.cpp - clang-tidy
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apa
https://github.com/shiltian approved this pull request.
https://github.com/llvm/llvm-project/pull/140455
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shiltian edited
https://github.com/llvm/llvm-project/pull/140455
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shiltian approved this pull request.
https://github.com/llvm/llvm-project/pull/140456
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shiltian edited
https://github.com/llvm/llvm-project/pull/140456
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shiltian edited
https://github.com/llvm/llvm-project/pull/140459
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shiltian approved this pull request.
https://github.com/llvm/llvm-project/pull/140458
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shiltian edited
https://github.com/llvm/llvm-project/pull/140458
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shiltian approved this pull request.
https://github.com/llvm/llvm-project/pull/140459
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3,10 +3,22 @@
portability-avoid-pragma-once
=
-This check catches pragma once usage.
+Finds uses of ``#pragma once`` and suggests replacing them with standard
+include guards (``#ifndef``/``#define``/``#endif``) for improved portability.
-For
https://github.com/PiotrZSL edited
https://github.com/llvm/llvm-project/pull/140388
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3,10 +3,22 @@
portability-avoid-pragma-once
=
-This check catches pragma once usage.
+Finds uses of ``#pragma once`` and suggests replacing them with standard
+include guards (``#ifndef``/``#define``/``#endif``) for improved portability.
-For
https://github.com/PiotrZSL approved this pull request.
Documentation may require some improvements, but overall looks fine.
https://github.com/llvm/llvm-project/pull/140388
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org
@@ -0,0 +1,36 @@
+//===--- AvoidPragmaOnceCheck.h - clang-tidy *- C++
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apa
@@ -0,0 +1,50 @@
+//===--- AvoidPragmaOnceCheck.cpp - clang-tidy
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apa
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/140458.diff
2 Files Affected:
- (modified)
clang-tools-extra/clang-tidy/misc/ConfusableTable/BuildConfusableTable.cpp
(+3-5)
- (modif
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: None (Andres-Salamanca)
Changes
The empty verifier is redundant because cir::IfOp has no constraints to enforce
its verify() always succeeds.
---
Full diff: https://github.com/llvm/llvm-project/pull/140457.diff
2 Files Affected:
- (m
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/140459
None
>From f8c8c98d787da0ee539b6dca695406004a7c4f10 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sun, 18 May 2025 07:46:08 -0700
Subject: [PATCH] [clang] Use llvm::unique (NFC)
---
clang/include/cl
Andres-Salamanca wrote:
@andykaylor
https://github.com/llvm/llvm-project/pull/140457
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/140388
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/dl8sd11 updated
https://github.com/llvm/llvm-project/pull/140388
>From 5bc074dadddb094bf954388a95ecb818abe17b56 Mon Sep 17 00:00:00 2001
From: dl8sd11
Date: Sat, 17 May 2025 17:23:26 +
Subject: [PATCH 1/6] [clang-tidy] Add avoid-pragma-once.
---
.../portability/AvoidPra
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/140455.diff
1 Files Affected:
- (modified) clang/lib/Sema/SemaChecking.cpp (+1-3)
``diff
diff --git a/clang/lib/Sema/SemaChecking.
llvmbot wrote:
@llvm/pr-subscribers-clang-modules
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/140459.diff
4 Files Affected:
- (modified) clang/include/clang/Serialization/ContinuousRangeMap.h (+2-2)
- (modified) clang/lib/Form
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (Andres-Salamanca)
Changes
The empty verifier is redundant because cir::IfOp has no constraints to enforce
its verify() always succeeds.
---
Full diff: https://github.com/llvm/llvm-project/pull/140457.diff
2 Files Affected:
- (mod
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/140458
None
>From 7b986a3a76948eea96280bf7e48e4ecfc24e8da4 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sun, 18 May 2025 07:51:16 -0700
Subject: [PATCH] [clang-tools-extra] Use llvm::max_element (NFC)
---
https://github.com/Andres-Salamanca created
https://github.com/llvm/llvm-project/pull/140457
The empty verifier is redundant because cir::IfOp has no constraints to enforce
its verify() always succeeds.
>From f482141df1f2174bdd9a23ddc20bb9530830071d Mon Sep 17 00:00:00 2001
From: Andres Salama
@@ -0,0 +1,24 @@
+.. title:: clang-tidy - portability-avoid-pragma-once
+
+portability-avoid-pragma-once
+=
+
+Finds uses of ``#pragma once`` and suggests replacing them with standard
+include guards (``#ifndef``/``#define``/``#endif``) for improved por
llvmbot wrote:
@llvm/pr-subscribers-clangd
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/140456.diff
2 Files Affected:
- (modified)
clang-tools-extra/clang-tidy/bugprone/NarrowingConversionsCheck.cpp (+1-1)
- (modified) clang-t
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/140456
None
>From b1642c07d474b0f7b14515a339e646c0e86ba9ae Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sun, 18 May 2025 08:11:43 -0700
Subject: [PATCH] [clang-tools-extra] Use llvm::is_contained (NFC)
---
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/140455
None
>From 0b097045043c8a1f0815ac364395c5f0f9445b92 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sun, 18 May 2025 07:48:25 -0700
Subject: [PATCH] [Sema] Use llvm::is_contained (NFC)
---
clang/lib/S
https://github.com/shiltian approved this pull request.
https://github.com/llvm/llvm-project/pull/140430
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,50 @@
+//===--- AvoidPragmaOnceCheck.cpp - clang-tidy
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apa
https://github.com/dl8sd11 updated
https://github.com/llvm/llvm-project/pull/140388
>From 5bc074dadddb094bf954388a95ecb818abe17b56 Mon Sep 17 00:00:00 2001
From: dl8sd11
Date: Sat, 17 May 2025 17:23:26 +
Subject: [PATCH 1/7] [clang-tidy] Add avoid-pragma-once.
---
.../portability/AvoidPra
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/140388
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/140388
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,50 @@
+//===--- AvoidPragmaOnceCheck.cpp - clang-tidy
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apa
@@ -0,0 +1,24 @@
+.. title:: clang-tidy - portability-avoid-pragma-once
+
+portability-avoid-pragma-once
+=
+
+Finds uses of ``#pragma once`` and suggests replacing them with standard
+include guards (``#ifndef``/``#define``/``#endif``) for improved por
@@ -0,0 +1,50 @@
+//===--- AvoidPragmaOnceCheck.cpp - clang-tidy
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apa
@@ -0,0 +1,24 @@
+.. title:: clang-tidy - portability-avoid-pragma-once
+
+portability-avoid-pragma-once
+=
+
+Finds uses of ``#pragma once`` and suggests replacing them with standard
+include guards (``#ifndef``/``#define``/``#endif``) for improved por
https://github.com/el-ev updated
https://github.com/llvm/llvm-project/pull/140337
>From 935633e4e6b290bbf7f83a559a3cd36c049186c7 Mon Sep 17 00:00:00 2001
From: Iris Shi <0...@owo.li>
Date: Sat, 17 May 2025 10:46:46 +0800
Subject: [PATCH] [Clang][NFC] Use `llvm::sort()`
---
clang/lib/APINotes/A
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/140388
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vbvictor commented:
Some more nit changes.
If you will to contribute further, reading
https://clang.llvm.org/extra/clang-tidy/Contributing.html may help you.
Particularly "Making your check robust" and "Documenting your check". Although,
most of it already covered in comments
@@ -0,0 +1,24 @@
+.. title:: clang-tidy - portability-avoid-pragma-once
+
+portability-avoid-pragma-once
+=
+
+Finds uses of ``#pragma once`` and suggests replacing them with standard
+include guards (``#ifndef``/``#define``/``#endif``) for improved por
Author: Kazu Hirata
Date: 2025-05-18T07:33:02-07:00
New Revision: 013c7ba78590badf20d769a2de13bddabcfb1c5d
URL:
https://github.com/llvm/llvm-project/commit/013c7ba78590badf20d769a2de13bddabcfb1c5d
DIFF:
https://github.com/llvm/llvm-project/commit/013c7ba78590badf20d769a2de13bddabcfb1c5d.diff
L
Author: Kazu Hirata
Date: 2025-05-18T07:34:45-07:00
New Revision: 159f05fcaf9888ceaa70d0a6e78e1da30d418de7
URL:
https://github.com/llvm/llvm-project/commit/159f05fcaf9888ceaa70d0a6e78e1da30d418de7
DIFF:
https://github.com/llvm/llvm-project/commit/159f05fcaf9888ceaa70d0a6e78e1da30d418de7.diff
L
1 - 100 of 143 matches
Mail list logo