https://github.com/timon-ul updated
https://github.com/llvm/llvm-project/pull/169742
>From 44ebad6933fccab5bcfc866ee56dd5381da5f452 Mon Sep 17 00:00:00 2001
From: Timon Ulrich
Date: Mon, 10 Nov 2025 10:40:14 +0100
Subject: [PATCH 01/13] clangd: make forwarding heuristic available for more
loca
https://github.com/svenvh closed
https://github.com/llvm/llvm-project/pull/170286
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Sven van Haastregt
Date: 2025-12-03T08:58:31+01:00
New Revision: 98182f4d209ded292cb6030f45bcae132096acae
URL:
https://github.com/llvm/llvm-project/commit/98182f4d209ded292cb6030f45bcae132096acae
DIFF:
https://github.com/llvm/llvm-project/commit/98182f4d209ded292cb6030f45bcae132096acae.
https://github.com/zeyi2 updated
https://github.com/llvm/llvm-project/pull/169832
>From f41310dcb601075d980c4d7163d8db1d5dee7913 Mon Sep 17 00:00:00 2001
From: mtx
Date: Thu, 27 Nov 2025 23:50:47 +0800
Subject: [PATCH 1/3] [clang-tidy] Fix `cppcoreguidelines-pro-type-member-init`
check
---
.
@@ -85,6 +85,71 @@ static mlir::Value getMaskVecValue(CIRGenBuilderTy &builder,
mlir::Location loc,
return maskVec;
}
+static mlir::Value getBoolMaskVecValue(CIRGenBuilderTy &builder,
+ mlir::Location loc, mlir::Value mask,
+
@@ -85,6 +85,71 @@ static mlir::Value getMaskVecValue(CIRGenBuilderTy &builder,
mlir::Location loc,
return maskVec;
}
+static mlir::Value getBoolMaskVecValue(CIRGenBuilderTy &builder,
+ mlir::Location loc, mlir::Value mask,
+
@@ -701,7 +766,31 @@ mlir::Value CIRGenFunction::emitX86BuiltinExpr(unsigned
builtinID,
case X86::BI__builtin_ia32_extractf64x2_256_mask:
case X86::BI__builtin_ia32_extracti64x2_256_mask:
case X86::BI__builtin_ia32_extractf64x2_512_mask:
- case X86::BI__builtin_ia32_ext
@@ -701,7 +766,31 @@ mlir::Value CIRGenFunction::emitX86BuiltinExpr(unsigned
builtinID,
case X86::BI__builtin_ia32_extractf64x2_256_mask:
case X86::BI__builtin_ia32_extracti64x2_256_mask:
case X86::BI__builtin_ia32_extractf64x2_512_mask:
- case X86::BI__builtin_ia32_ext
@@ -85,6 +85,71 @@ static mlir::Value getMaskVecValue(CIRGenBuilderTy &builder,
mlir::Location loc,
return maskVec;
}
+static mlir::Value getBoolMaskVecValue(CIRGenBuilderTy &builder,
+ mlir::Location loc, mlir::Value mask,
+
@@ -85,6 +85,71 @@ static mlir::Value getMaskVecValue(CIRGenBuilderTy &builder,
mlir::Location loc,
return maskVec;
}
+static mlir::Value getBoolMaskVecValue(CIRGenBuilderTy &builder,
+ mlir::Location loc, mlir::Value mask,
+
@@ -701,7 +766,31 @@ mlir::Value CIRGenFunction::emitX86BuiltinExpr(unsigned
builtinID,
case X86::BI__builtin_ia32_extractf64x2_256_mask:
case X86::BI__builtin_ia32_extracti64x2_256_mask:
case X86::BI__builtin_ia32_extractf64x2_512_mask:
- case X86::BI__builtin_ia32_ext
@@ -266,6 +266,16 @@ class CIR_VectorTypeOf types, string summary =
"">
"vector of " # CIR_TypeSummaries.value,
summary)>;
+class CIR_VectorOf : CIR_ConfinedType<
+ CIR_AnyVectorType,
+ [CIR_ElementTypePred],
+ "CIR vector of " # T.summary>;
+
+// T
@@ -266,6 +266,16 @@ class CIR_VectorTypeOf types, string summary =
"">
"vector of " # CIR_TypeSummaries.value,
summary)>;
+class CIR_VectorOf : CIR_ConfinedType<
+ CIR_AnyVectorType,
+ [CIR_ElementTypePred],
+ "CIR vector of " # T.summary>;
---
@@ -1856,7 +1856,7 @@ def CIR_SelectOp : CIR_Op<"select", [
```
}];
- let arguments = (ins CIR_BoolType:$condition, CIR_AnyType:$true_value,
+ let arguments = (ins CIR_ScalarOrVectorOf:$condition,
CIR_AnyType:$true_value,
CIR_AnyType:$false_val
@@ -266,6 +266,16 @@ class CIR_VectorTypeOf types, string summary =
"">
"vector of " # CIR_TypeSummaries.value,
summary)>;
+class CIR_VectorOf : CIR_ConfinedType<
+ CIR_AnyVectorType,
+ [CIR_ElementTypePred],
+ "CIR vector of " # T.summary>;
+
+// T
https://github.com/cor3ntin approved this pull request.
Thanks!
https://github.com/llvm/llvm-project/pull/169876
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/zeyi2 edited https://github.com/llvm/llvm-project/pull/169908
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff origin/main HEAD --extensions h,cpp --
llvm/include/llvm/IR/FPEnv.h llvm/include/llvm
@@ -172,13 +172,52 @@ void UseStdMinMaxCheck::check(const
MatchFinder::MatchResult &Result) {
auto ReplaceAndDiagnose = [&](const llvm::StringRef FunctionName) {
const SourceManager &Source = *Result.SourceManager;
+llvm::SmallString<64> Comment;
+
+const auto A
@@ -172,13 +172,52 @@ void UseStdMinMaxCheck::check(const
MatchFinder::MatchResult &Result) {
auto ReplaceAndDiagnose = [&](const llvm::StringRef FunctionName) {
const SourceManager &Source = *Result.SourceManager;
+llvm::SmallString<64> Comment;
+
+const auto A
@@ -172,13 +172,52 @@ void UseStdMinMaxCheck::check(const
MatchFinder::MatchResult &Result) {
auto ReplaceAndDiagnose = [&](const llvm::StringRef FunctionName) {
const SourceManager &Source = *Result.SourceManager;
+llvm::SmallString<64> Comment;
+
+const auto A
@@ -273,3 +273,99 @@ void useRight() {
}
} // namespace gh121676
+
+void testComments() {
+ int box_depth = 10;
+ int max_depth = 5;
+
+ // CHECK-MESSAGES: :[[@LINE+2]]:3: warning: use `std::min` instead of `>`
[readability-use-std-min-max]
+ // CHECK-FIXES: box_depth = s
https://github.com/zeyi2 updated
https://github.com/llvm/llvm-project/pull/169908
>From 3b7d92ba5fb8d5849e68369fc0f8ea56d1cf494d Mon Sep 17 00:00:00 2001
From: mtx
Date: Fri, 28 Nov 2025 20:06:44 +0800
Subject: [PATCH 1/2] [clang-tidy] Preserve comments in
`readability-use-std-min-max`
---
.
https://github.com/xlauko closed
https://github.com/llvm/llvm-project/pull/170366
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Henrich Lauko
Date: 2025-12-03T08:20:50+01:00
New Revision: 30f479fa2b08d6e480939a57384996f7a276eb91
URL:
https://github.com/llvm/llvm-project/commit/30f479fa2b08d6e480939a57384996f7a276eb91
DIFF:
https://github.com/llvm/llvm-project/commit/30f479fa2b08d6e480939a57384996f7a276eb91.diff
@@ -172,13 +171,21 @@ void UseStdMinMaxCheck::check(const
MatchFinder::MatchResult &Result) {
auto ReplaceAndDiagnose = [&](const llvm::StringRef FunctionName) {
const SourceManager &Source = *Result.SourceManager;
+const std::string Comment =
+Lexer::getSou
@@ -898,6 +898,36 @@ def CIR_ContinueOp : CIR_Op<"continue", [Terminator]> {
let hasLLVMLowering = false;
}
+//===--===//
+// Resume
+//===
nikic wrote:
This is still doing the transform in two phases, one for auto-init allocas, and
then again without the limitation. Why? Why can't we directly move all allocas?
https://github.com/llvm/llvm-project/pull/164882
___
cfe-commits mailing list
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-m68k-linux-cross`
running on `suse-gary-m68k-cross` while building `clang` at step 5 "ninja check
1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/27/builds/19772
Here is the relevant piece
https://github.com/kashika0112 updated
https://github.com/llvm/llvm-project/pull/169767
>From 00494b03dd31a4a1e541fb45bd524ee452541208 Mon Sep 17 00:00:00 2001
From: Kashika Akhouri
Date: Thu, 27 Nov 2025 07:13:49 +
Subject: [PATCH 1/9] Add lifetime annotation suggestion
---
.../Analyses/
https://github.com/shri-acha edited
https://github.com/llvm/llvm-project/pull/169452
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -646,20 +646,682 @@ __mmask16 test_mm_cmp_epi8_mask(__m128i __a, __m128i
__b) {
return (__mmask16)_mm_cmp_epi8_mask(__a, __b, 0);
}
+// cmpeq tests
TEST_CONSTEXPR(_mm_cmpeq_epi8_mask(
-((__m128i)(__v16qi){5, 3, 7, 2, 9, 3, 7, 1, 5, 4, 8, 2, 9, 6, 7, 5}),
-((__m1
https://github.com/badumbatish updated
https://github.com/llvm/llvm-project/pull/170353
>From fe3427ac7b415fa9a1de58973ed8ca0bd8598847 Mon Sep 17 00:00:00 2001
From: Jasmine Tang
Date: Tue, 2 Dec 2025 11:11:48 -0800
Subject: [PATCH] Upstream scatter from ClangIR incubator
Remove std::string co
https://github.com/tbaederr commented:
`interp__builtin_blend` is unused now, isn't it?
https://github.com/llvm/llvm-project/pull/170217
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Jasmine Tang (badumbatish)
Changes
Implement builtin extractf, tests are from
clang/test/CodeGen/X86/avx512f-builtins.c.
I'm not sure why the OG tests are very succinct but i'm porting the same
testing format over from OG.
I added a new
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: Jasmine Tang (badumbatish)
Changes
Implement builtin extractf, tests are from
clang/test/CodeGen/X86/avx512f-builtins.c.
I'm not sure why the OG tests are very succinct but i'm porting the same
testing format over from OG.
I added a n
badumbatish wrote:
merge conflict, will fix soon
https://github.com/llvm/llvm-project/pull/170427
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/badumbatish created
https://github.com/llvm/llvm-project/pull/170427
Implement builtin extractf, tests are from
clang/test/CodeGen/X86/avx512f-builtins.c.
I'm not sure why the OG tests are very succinct but i'm porting the same
testing format over from OG.
I added a new ty
https://github.com/Jinjie-Huang closed
https://github.com/llvm/llvm-project/pull/162491
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jinjie Huang
Date: 2025-12-03T14:08:20+08:00
New Revision: 689b3cc7c700b1687cf4aaaf4ef2c81a4e988917
URL:
https://github.com/llvm/llvm-project/commit/689b3cc7c700b1687cf4aaaf4ef2c81a4e988917
DIFF:
https://github.com/llvm/llvm-project/commit/689b3cc7c700b1687cf4aaaf4ef2c81a4e988917.diff
Author: Baranov Victor
Date: 2025-12-03T06:02:50Z
New Revision: 73036cf9113b4748d4fbb28037e8714ff2486238
URL:
https://github.com/llvm/llvm-project/commit/73036cf9113b4748d4fbb28037e8714ff2486238
DIFF:
https://github.com/llvm/llvm-project/commit/73036cf9113b4748d4fbb28037e8714ff2486238.diff
LOG
https://github.com/vbvictor closed
https://github.com/llvm/llvm-project/pull/170424
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vbvictor auto_merge_enabled
https://github.com/llvm/llvm-project/pull/170424
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/EugeneZelenko approved this pull request.
https://github.com/llvm/llvm-project/pull/170424
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vbvictor closed
https://github.com/llvm/llvm-project/pull/167134
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Baranov Victor
Date: 2025-12-03T08:56:24+03:00
New Revision: d05370e6863e28fcf988b8491dc583fcf5e4e1be
URL:
https://github.com/llvm/llvm-project/commit/d05370e6863e28fcf988b8491dc583fcf5e4e1be
DIFF:
https://github.com/llvm/llvm-project/commit/d05370e6863e28fcf988b8491dc583fcf5e4e1be.diff
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Baranov Victor (vbvictor)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/170424.diff
3 Files Affected:
- (modified) clang-tools-extra/clang-tidy/bugprone/ExceptionEscapeCheck.cpp
(+2-1)
- (modified) clan
https://github.com/vbvictor created
https://github.com/llvm/llvm-project/pull/170424
None
>From fe6d72e15c9d395f3c3d9fbc48ae40d2e09cdb44 Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Wed, 3 Dec 2025 08:46:45 +0300
Subject: [PATCH] [clang-tidy][NFC] Fix miscellaneous clang-tidy warnings
https://github.com/zeyi2 updated
https://github.com/llvm/llvm-project/pull/170034
>From e8bc35d273950cc6d5f1e947db1d34741de52432 Mon Sep 17 00:00:00 2001
From: mtx
Date: Sun, 30 Nov 2025 20:54:12 +0800
Subject: [PATCH 1/4] [clang-tidy] Fix false positive in
readability-redundant-typename
---
GeneraluseAI wrote:
@andykaylor @bcardosolopes I’ve addressed the merge conflicts. When you get
a chance, please help merge this. Appreciate it!
https://github.com/llvm/llvm-project/pull/169853
___
cfe-commits mailing list
[email protected]
https://github.com/vbvictor updated
https://github.com/llvm/llvm-project/pull/167134
>From bef7367b02a27ac210bccb7d2ae548b1b14c8e8c Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Sat, 8 Nov 2025 15:20:50 +0300
Subject: [PATCH 1/2] [clang-tidy][NFC] Enable readability-any-all-of check
---
https://github.com/DEBADRIBASAK updated
https://github.com/llvm/llvm-project/pull/166568
>From fd8693c51af7d9f91be0926f4150e77c39e2dba4 Mon Sep 17 00:00:00 2001
From: Debadri Basak
Date: Wed, 5 Nov 2025 14:07:42 +
Subject: [PATCH 01/10] Adding the lifetime stats collection logic to
Analysi
ChuanqiXu9 wrote:
nit: I didn't notice this since I felt the title looks related to some deps it
self. It will be better to use `[ClangScanDeps]` the next time.
https://github.com/llvm/llvm-project/pull/169555
___
cfe-commits mailing list
cfe-commits@
https://github.com/GeneraluseAI updated
https://github.com/llvm/llvm-project/pull/169853
>From 2a5c30109ed30d5e4a0f0ca56005e1af605bf350 Mon Sep 17 00:00:00 2001
From: generaluseai
Date: Fri, 28 Nov 2025 03:05:24 +0800
Subject: [PATCH] [CIR][X86] Implement lowering for pmuldq / pmuludq builtins
https://github.com/zeyi2 updated
https://github.com/llvm/llvm-project/pull/170034
>From e8bc35d273950cc6d5f1e947db1d34741de52432 Mon Sep 17 00:00:00 2001
From: mtx
Date: Sun, 30 Nov 2025 20:54:12 +0800
Subject: [PATCH 1/3] [clang-tidy] Fix false positive in
readability-redundant-typename
---
https://github.com/GeneraluseAI updated
https://github.com/llvm/llvm-project/pull/169853
>From 68d72304eebad3ae27d415d1c3d56fd661a99755 Mon Sep 17 00:00:00 2001
From: generaluseai
Date: Fri, 28 Nov 2025 03:05:24 +0800
Subject: [PATCH] [CIR][X86] Implement lowering for pmuldq / pmuludq builtins
@@ -685,7 +685,94 @@ mlir::Value CIRGenFunction::emitX86BuiltinExpr(unsigned
builtinID,
case X86::BI__builtin_ia32_scattersiv4sf:
case X86::BI__builtin_ia32_scattersiv4si:
case X86::BI__builtin_ia32_scattersiv8sf:
- case X86::BI__builtin_ia32_scattersiv8si:
+ case X86:
https://github.com/zeyi2 approved this pull request.
But would be nice to wait for other reviewers :)
https://github.com/llvm/llvm-project/pull/170346
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listin
https://github.com/zeyi2 edited https://github.com/llvm/llvm-project/pull/170346
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ebinjose02 updated
https://github.com/llvm/llvm-project/pull/169876
>From af9b88da83a7f2954a3a8ddc5f4796f2017ceaec Mon Sep 17 00:00:00 2001
From: ebinjose02
Date: Fri, 28 Nov 2025 06:46:40 +
Subject: [PATCH 1/3] Fixes #165386 Nested requirements in requires-expressions
m
https://github.com/nimit25 updated
https://github.com/llvm/llvm-project/pull/164882
>From a05e8f9ca277e3ca6bcb6869a6adcf3bceeb4b7b Mon Sep 17 00:00:00 2001
From: Nimit Sachdeva
Date: Thu, 23 Oct 2025 15:58:35 -0400
Subject: [PATCH 1/3] #150120 Introduce MoveEntryAllocaInit pass
---
.../llvm/T
https://github.com/nimit25 updated
https://github.com/llvm/llvm-project/pull/164882
>From a05e8f9ca277e3ca6bcb6869a6adcf3bceeb4b7b Mon Sep 17 00:00:00 2001
From: Nimit Sachdeva
Date: Thu, 23 Oct 2025 15:58:35 -0400
Subject: [PATCH 1/3] #150120 Introduce MoveEntryAllocaInit pass
---
.../llvm/T
https://github.com/GeneraluseAI updated
https://github.com/llvm/llvm-project/pull/169853
>From e725dbbfc0d46f9f0de6aab5da0d784620c2bed1 Mon Sep 17 00:00:00 2001
From: generaluseai
Date: Fri, 28 Nov 2025 03:05:24 +0800
Subject: [PATCH] [CIR][X86] Implement lowering for pmuldq / pmuludq builtins
https://github.com/nimit25 updated
https://github.com/llvm/llvm-project/pull/164882
>From a05e8f9ca277e3ca6bcb6869a6adcf3bceeb4b7b Mon Sep 17 00:00:00 2001
From: Nimit Sachdeva
Date: Thu, 23 Oct 2025 15:58:35 -0400
Subject: [PATCH 1/3] #150120 Introduce MoveEntryAllocaInit pass
---
.../llvm/T
https://github.com/usx95 approved this pull request.
LGTM. I will wait for @ymand if he wants to review this.
https://github.com/llvm/llvm-project/pull/169767
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailma
@@ -114,9 +114,11 @@ class LifetimeTestHelper {
return {};
}
std::vector LID;
-for (const Loan &L : Analysis.getFactManager().getLoanMgr().getLoans())
- if (L.Path.D == VD)
-LID.push_back(L.ID);
+for (const Loan *L : Analysis.getFactManager().
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/169767
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/166568
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/compnerd approved this pull request.
https://github.com/llvm/llvm-project/pull/168622
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -7,8 +7,52 @@
//===--===//
#include "clang/Analysis/Analyses/LifetimeSafety/Origins.h"
+#include "clang/AST/Expr.h"
+#include "clang/AST/RecursiveASTVisitor.h"
+#include "clang/AST/TypeBase.h"
+#include "c
@@ -21,9 +21,13 @@
#define LLVM_CLANG_ANALYSIS_ANALYSES_LIFETIMESAFETY_H
#include "clang/Analysis/Analyses/LifetimeSafety/Facts.h"
+#include "clang/Analysis/Analyses/LifetimeSafety/LifetimeStats.h"
#include "clang/Analysis/Analyses/LifetimeSafety/LiveOrigins.h"
#include "cla
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/166568
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/usx95 approved this pull request.
LGTM.
This looks fine. Thanks for trying out the suggestions. Since this is only
populated when `-print-stats` is enabled, I am fine with using strings as keys.
https://github.com/llvm/llvm-project/pull/166568
_
https://github.com/AmrDeveloper approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/170366
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cachemeifyoucan wrote:
I think searching for libcxx dylib in the install directory for bootstrap
situation makes sense but I am very worried about ingesting such a search path
in such a high priority location (before sys root). That can cause user
unintentionally pick up libraries in there. I
@@ -388,9 +397,10 @@ void UseAfterMoveFinder::getReinits(
}
}
-enum class MoveType {
- Move,// std::move
- Forward, // std::forward
+enum MoveType {
+ Forward = 0, // std::forward
+ Move = 1, // std::move
+ Invalidation = 2, // other
};
static MoveT
https://github.com/higher-performance updated
https://github.com/llvm/llvm-project/pull/170346
>From 3fca92f9762cfa572d3098498b4c8e4ed0e0c86b Mon Sep 17 00:00:00 2001
From: higher-performance
Date: Tue, 2 Dec 2025 13:20:24 -0500
Subject: [PATCH] Extend bugprone-use-after-move check to allow cus
@@ -0,0 +1,111 @@
+.. title:: clang-tidy - bugprone-unsafe-format-string
+
+bugprone-unsafe-format-string
+=
+
+Detects usage of vulnerable format string functions with unbounded ``%s``
+specifiers that can cause buffer overflows.
+
+The check identifie
https://github.com/zwuis commented:
Can we give this check a more specific name rather than using "unsafe"?
https://github.com/llvm/llvm-project/pull/168691
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/
https://github.com/zwuis edited https://github.com/llvm/llvm-project/pull/168691
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/anonymouspc updated
https://github.com/llvm/llvm-project/pull/170415
>From 983aa785ee374c9c1dcbee4846dafa3ccc62b793 Mon Sep 17 00:00:00 2001
From: anonymouspc
Date: Wed, 3 Dec 2025 11:27:53 +0800
Subject: [PATCH] [Clang][Diagnose] Minimal support on emit-include-location in
https://github.com/anonymouspc updated
https://github.com/llvm/llvm-project/pull/170415
>From 2151f3b413f839dd8e17acf3e9f718772bb5a770 Mon Sep 17 00:00:00 2001
From: anonymouspc
Date: Wed, 3 Dec 2025 11:27:53 +0800
Subject: [PATCH 1/3] [Clang][Diagnose] Minimal support on
emit-include-location
https://github.com/matts1 updated
https://github.com/llvm/llvm-project/pull/170416
>From 267f6e2a2137229bb5bcb9529b22b8c463c2a577 Mon Sep 17 00:00:00 2001
From: Matt Stark
Date: Wed, 3 Dec 2025 13:21:32 +1100
Subject: [PATCH] [clang-format] Make ignored files unformatted instead of
empty.
Too
https://github.com/anonymouspc updated
https://github.com/llvm/llvm-project/pull/170415
>From 2151f3b413f839dd8e17acf3e9f718772bb5a770 Mon Sep 17 00:00:00 2001
From: anonymouspc
Date: Wed, 3 Dec 2025 11:27:53 +0800
Subject: [PATCH 1/2] [Clang][Diagnose] Minimal support on
emit-include-location
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff origin/main HEAD --extensions cpp --
clang/test/Format/clang-format-ignore.cpp
clang
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Matt (matts1)
Changes
Tools rely on the expectation that clang-format will output a formatted file.
In the case of ignored files, the formatted file should just be the input file,
untouched.
Fixes #170407
---
Full diff: https://g
https://github.com/matts1 created
https://github.com/llvm/llvm-project/pull/170416
Tools rely on the expectation that clang-format will output a formatted file.
In the case of ignored files, the formatted file should just be the input file,
untouched.
Fixes #170407
>From 2fd9cbe9c8136238e9e0
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: anonymous (anonymouspc)
Changes
Currently, invoking `clang++` with `-fdiagnostics-format=sarif` causes a crash,
with stack traces indicating that `SARIFDiagnostic::emitIncludeLocation` is
unimplemented.
This PR adds minimal support for c
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/anonymouspc created
https://github.com/llvm/llvm-project/pull/170415
Currently, invoking `clang++` with `-fdiagnostics-format=sarif` causes a crash,
with stack traces indicating that `SARIFDiagnostic::emitIncludeLocation` is
unimplemented.
This PR adds minimal support for c
@@ -1433,6 +1433,68 @@ def CIR_BrCondOp : CIR_Op<"brcond", [
}];
}
+//===--===//
+// IndirectBrOp
+//===--===//
+
+def CIR_IndirectBrOp : C
zygoloid wrote:
Is it correct to mark destructors' `this` pointers as `dead_on_return`? What
about this case:
```c++
struct X {
int n;
~X() {
this[n].n = 0;
}
};
void f() {
X xs[] = {42, 0};
}
```
I think that's valid -- you can use a pointer to an array element to reach
other ele
@@ -69,8 +129,77 @@ void D(void) {
// CIR:%[[BLK2:.*]] = cir.block_address <@D, "LABEL_A"> : !cir.ptr
// CIR:cir.store align(8) %[[BLK2]], %[[PTR2]] : !cir.ptr,
!cir.ptr>
// CIR:cir.br ^bb1
-// CIR: ^bb1: // pred: ^bb0
+// CIR: ^bb1([[PHI:%*.]]: !cir.ptr {{.*}})
Author: Vlad Serebrennikov
Date: 2025-12-03T06:54:53+04:00
New Revision: 242077ad1c0df4ecfd12769a38cf6fcb1b0b1d72
URL:
https://github.com/llvm/llvm-project/commit/242077ad1c0df4ecfd12769a38cf6fcb1b0b1d72
DIFF:
https://github.com/llvm/llvm-project/commit/242077ad1c0df4ecfd12769a38cf6fcb1b0b1d72.
@@ -1433,6 +1433,68 @@ def CIR_BrCondOp : CIR_Op<"brcond", [
}];
}
+//===--===//
+// IndirectBrOp
+//===--===//
+
+def CIR_IndirectBrOp : C
@@ -1433,6 +1433,68 @@ def CIR_BrCondOp : CIR_Op<"brcond", [
}];
}
+//===--===//
+// IndirectBrOp
+//===--===//
+
+def CIR_IndirectBrOp : C
@@ -1433,6 +1433,68 @@ def CIR_BrCondOp : CIR_Op<"brcond", [
}];
}
+//===--===//
+// IndirectBrOp
+//===--===//
+
+def CIR_IndirectBrOp : C
https://github.com/Andres-Salamanca updated
https://github.com/llvm/llvm-project/pull/169967
>From cd4fde36ffbe2b6d78687e45e1313ba03ffefd3a Mon Sep 17 00:00:00 2001
From: Andres Salamanca
Date: Fri, 28 Nov 2025 19:27:31 -0500
Subject: [PATCH 1/4] [CIR] Upstream support for cir.indirectBr
---
@@ -1433,6 +1433,68 @@ def CIR_BrCondOp : CIR_Op<"brcond", [
}];
}
+//===--===//
+// IndirectBrOp
+//===--===//
+
+def CIR_IndirectBrOp : C
https://github.com/topperc updated
https://github.com/llvm/llvm-project/pull/170399
>From 9d80d516bdeab8cc8e2efd64d5973260182463a5 Mon Sep 17 00:00:00 2001
From: Craig Topper
Date: Tue, 2 Dec 2025 13:45:19 -0800
Subject: [PATCH 1/2] [RISCV] Update P extension to the 018 version of the
spec.
h
1 - 100 of 621 matches
Mail list logo