https://github.com/AditiRM updated
https://github.com/llvm/llvm-project/pull/154715
>From 20acfd4109a453060f3678e536234de94012f19c Mon Sep 17 00:00:00 2001
From: AditiRM
Date: Thu, 21 Aug 2025 09:40:59 +
Subject: [PATCH 01/22] Implement frontend for bcd builtins
---
clang/include/clang/Ba
https://github.com/AditiRM edited
https://github.com/llvm/llvm-project/pull/154715
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -105,11 +105,67 @@ bool SemaPPC::CheckPPCBuiltinFunctionCall(const
TargetInfo &TI,
switch (BuiltinID) {
default:
return false;
- case PPC::BI__builtin_ppc_bcdsetsign:
case PPC::BI__builtin_ppc_national2packed:
case PPC::BI__builtin_ppc_packed2zoned:
case P
@@ -11199,6 +11199,10 @@ def err_ppc_invalid_use_mma_type : Error<
"invalid use of PPC MMA type">;
def err_ppc_invalid_test_data_class_type : Error<
"expected a 'float', 'double' or '__float128' for the first argument">;
+def err_ppc_bcd_invalid_vector_type : Error<
+ "the
https://github.com/AditiRM updated
https://github.com/llvm/llvm-project/pull/154715
>From 20acfd4109a453060f3678e536234de94012f19c Mon Sep 17 00:00:00 2001
From: AditiRM
Date: Thu, 21 Aug 2025 09:40:59 +
Subject: [PATCH 01/21] Implement frontend for bcd builtins
---
clang/include/clang/Ba
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building
`clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/174/builds/28604
Her
@@ -4002,8 +4012,11 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl
GD, unsigned BuiltinID,
Result = Builder.CreateBinaryIntrinsic(
Ty->isSignedIntegerType() ? Intrinsic::smin : Intrinsic::umin, Op0,
Op1, nullptr, "elt.min");
-} else
-
github-actions[bot] wrote:
# :window: Windows x64 Test Results
* 77014 tests passed
* 1947 tests skipped
All tests passed but another part of the build **failed**. Click on a failure
below to see the details.
[code=1]
tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hexagon
https://github.com/nikic auto_merge_enabled
https://github.com/llvm/llvm-project/pull/171135
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
@Dominicentek Congratulations on having your first Pull Request (PR) merged
into the LLVM Project!
Your changes will be combined with recent changes from other authors, then
tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a
problem with a b
https://github.com/HighCommander4 closed
https://github.com/llvm/llvm-project/pull/155905
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Dominicentek
Date: 2025-12-09T07:05:51Z
New Revision: 2fa492726e774c050d6f21d57990c8bfbd7f1400
URL:
https://github.com/llvm/llvm-project/commit/2fa492726e774c050d6f21d57990c8bfbd7f1400
DIFF:
https://github.com/llvm/llvm-project/commit/2fa492726e774c050d6f21d57990c8bfbd7f1400.diff
LOG:
https://github.com/nikic updated
https://github.com/llvm/llvm-project/pull/171135
>From 79f317ce6770a9a7dcdb65f6ec9ec195baf3d0d0 Mon Sep 17 00:00:00 2001
From: Nikita Popov
Date: Mon, 8 Dec 2025 14:44:20 +0100
Subject: [PATCH 1/2] [Clang] Use DataLayout from TargetParser
This switches clang to
https://github.com/HighCommander4 auto_merge_enabled
https://github.com/llvm/llvm-project/pull/155905
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/171133
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-12-09T08:03:27+01:00
New Revision: ad29ee51f4269bb9838ab7428ccc59dbfbd232e4
URL:
https://github.com/llvm/llvm-project/commit/ad29ee51f4269bb9838ab7428ccc59dbfbd232e4
DIFF:
https://github.com/llvm/llvm-project/commit/ad29ee51f4269bb9838ab7428ccc59dbfbd232e4.diff
L
https://github.com/HighCommander4 auto_merge_disabled
https://github.com/llvm/llvm-project/pull/155905
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 auto_merge_enabled
https://github.com/llvm/llvm-project/pull/155905
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AditiRM updated
https://github.com/llvm/llvm-project/pull/154715
>From 20acfd4109a453060f3678e536234de94012f19c Mon Sep 17 00:00:00 2001
From: AditiRM
Date: Thu, 21 Aug 2025 09:40:59 +
Subject: [PATCH 01/20] Implement frontend for bcd builtins
---
clang/include/clang/Ba
https://github.com/HighCommander4 edited
https://github.com/llvm/llvm-project/pull/155905
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -460,6 +462,17 @@ DirectoryBasedGlobalCompilationDatabase::lookupCDB(
return Result;
}
+void DirectoryBasedGlobalCompilationDatabase::Options::applyWorkingDirectory(
+const std::optional &&WorkingDirectory) {
+ if (WorkingDirectory)
+this->WorkingDirectory = *Wor
https://github.com/HighCommander4 approved this pull request.
Thanks! LGTM with some minor tweaks which I went ahead and made.
https://github.com/llvm/llvm-project/pull/155905
___
cfe-commits mailing list
[email protected]
https://lists.llvm.o
https://github.com/HighCommander4 updated
https://github.com/llvm/llvm-project/pull/155905
>From 9a30c2b92be357deac5a65e2fa0952d91634de70 Mon Sep 17 00:00:00 2001
From: Dominicentek
Date: Thu, 28 Aug 2025 20:46:35 +0200
Subject: [PATCH 01/12] Add --project-root to clangd
---
clang-tools-extra
@@ -89,6 +89,46 @@ void test_getView_on_temporary() {
(void)sv;
}
+//===--===//
+// Annotation Inference Test Cases
+//===--===//
+
+namesp
@@ -55,13 +55,14 @@ class LifetimeChecker {
const LiveOriginsAnalysis &LiveOrigins;
const FactManager &FactMgr;
LifetimeSafetyReporter *Reporter;
+ ASTContext &AC;
kashika0112 wrote:
Done
https://github.com/llvm/llvm-project/pull/171081
___
kashika0112 wrote:
> I see two parts here:
>
> 1. Making the diagnostics helpful: Agreed that this would be very confusing
> atm. In that aspect we still have `-Wexperimental-lifetime-suggestions` which
> would give at least the locations of all inferred annotations. Also I think,
> in its mo
https://github.com/HighCommander4 updated
https://github.com/llvm/llvm-project/pull/155905
>From 9a30c2b92be357deac5a65e2fa0952d91634de70 Mon Sep 17 00:00:00 2001
From: Dominicentek
Date: Thu, 28 Aug 2025 20:46:35 +0200
Subject: [PATCH 01/11] Add --project-root to clangd
---
clang-tools-extra
https://github.com/kashika0112 updated
https://github.com/llvm/llvm-project/pull/171081
>From d9e30d12154c68a956bbf8eabb1a56a572e8e118 Mon Sep 17 00:00:00 2001
From: Kashika Akhouri
Date: Mon, 8 Dec 2025 06:14:28 +
Subject: [PATCH 1/3] Add annotation inference
---
clang/lib/Analysis/Lifet
https://github.com/HighCommander4 updated
https://github.com/llvm/llvm-project/pull/155905
>From 9a30c2b92be357deac5a65e2fa0952d91634de70 Mon Sep 17 00:00:00 2001
From: Dominicentek
Date: Thu, 28 Aug 2025 20:46:35 +0200
Subject: [PATCH 01/10] Add --project-root to clangd
---
clang-tools-extra
https://github.com/vasu-the-sharma updated
https://github.com/llvm/llvm-project/pull/164548
>From 856ac3b4110d79e57bfef9fed52c00a989683083 Mon Sep 17 00:00:00 2001
From: Vasu Sharma
Date: Wed, 22 Oct 2025 10:04:59 +0530
Subject: [PATCH 1/7] add null and aligment checks for aggregates
---
clan
https://github.com/quic-k updated
https://github.com/llvm/llvm-project/pull/169613
>From 767ef0ae4193335ebf5bf0a9a01a94d3c64052b2 Mon Sep 17 00:00:00 2001
From: Kushal Pal
Date: Tue, 9 Dec 2025 11:37:25 +0530
Subject: [PATCH 1/2] [Clang] Add Picolibc environment type for triples
Introduce `Env
@@ -135,20 +147,83 @@ void ConstCorrectnessCheck::registerMatchers(MatchFinder
*Finder) {
.bind("function-decl");
Finder->addMatcher(FunctionScope, this);
+
+ if (AnalyzeParameters) {
+const auto ParamMatcher =
+parmVarDecl(unless(CommonExcludeTypes),
github-actions[bot] wrote:
# :window: Windows x64 Test Results
* 51414 tests passed
* 852 tests skipped
* 3 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
Clang.CodeGen/builtins-extended-image.c
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
@@ -135,20 +147,83 @@ void ConstCorrectnessCheck::registerMatchers(MatchFinder
*Finder) {
.bind("function-decl");
Finder->addMatcher(FunctionScope, this);
+
+ if (AnalyzeParameters) {
+const auto ParamMatcher =
+parmVarDecl(unless(CommonExcludeTypes),
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`clang-x86_64-linux-abi-test` running on `sie-linux-worker2` while building
`clang` at step 6 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/8/builds/24447
Here is the relevant
https://github.com/Luhaocong edited
https://github.com/llvm/llvm-project/pull/171094
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wzssyqa deleted
https://github.com/llvm/llvm-project/pull/113133
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4002,8 +4012,11 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl
GD, unsigned BuiltinID,
Result = Builder.CreateBinaryIntrinsic(
Ty->isSignedIntegerType() ? Intrinsic::smin : Intrinsic::umin, Op0,
Op1, nullptr, "elt.min");
-} else
-
https://github.com/ranapratap55 updated
https://github.com/llvm/llvm-project/pull/170443
>From b1b36294e96793a447cb3d5c6f30fad7cb34967e Mon Sep 17 00:00:00 2001
From: ranapratap55
Date: Wed, 3 Dec 2025 14:48:30 +0530
Subject: [PATCH] [AMDGPU] Removal of language sensitive option for _Float16
a
@@ -4002,8 +4012,11 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl
GD, unsigned BuiltinID,
Result = Builder.CreateBinaryIntrinsic(
Ty->isSignedIntegerType() ? Intrinsic::smin : Intrinsic::umin, Op0,
Op1, nullptr, "elt.min");
-} else
-
@@ -4002,8 +4012,11 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl
GD, unsigned BuiltinID,
Result = Builder.CreateBinaryIntrinsic(
Ty->isSignedIntegerType() ? Intrinsic::smin : Intrinsic::umin, Op0,
Op1, nullptr, "elt.min");
-} else
-
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-global-isel`
running on `linaro-clang-aarch64-global-isel` while building `clang` at step 7
"ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/125/builds/11950
Here is the
https://github.com/wangpc-pp approved this pull request.
LGTM. Thanks!
https://github.com/llvm/llvm-project/pull/170992
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
bwendling wrote:
This lacks new testcases. However I think that's okay, because the current
tests generate the correct code generation. If you have suggestions for unit
tests, please let me know.
https://github.com/llvm/llvm-project/pull/171260
___
c
@@ -75,6 +75,80 @@ static Value *getMaskVecValue(CodeGenFunction &CGF, Value
*Mask,
return MaskVec;
}
+static Value *emitX86Round(CodeGenFunction &CGF, Value *X, unsigned M) {
+ unsigned RoundingMask = 0b11;
+ unsigned UpdatePEBit = 0b100;
+ unsigned UseMXCSRBit = 0b1000
@@ -75,6 +75,80 @@ static Value *getMaskVecValue(CodeGenFunction &CGF, Value
*Mask,
return MaskVec;
}
+static Value *emitX86Round(CodeGenFunction &CGF, Value *X, unsigned M) {
+ unsigned RoundingMask = 0b11;
+ unsigned UpdatePEBit = 0b100;
+ unsigned UseMXCSRBit = 0b1000
@@ -75,6 +75,80 @@ static Value *getMaskVecValue(CodeGenFunction &CGF, Value
*Mask,
return MaskVec;
}
+static Value *emitX86Round(CodeGenFunction &CGF, Value *X, unsigned M) {
tbaederr wrote:
What does `M` mean?
https://github.com/llvm/llvm-project/pull/1
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Bill Wendling (bwendling)
Changes
If the 'counted_by' value is signed, we will incorrectly allow accesses
when the value is negative. This has obvious bad effects as it will
allow accessing a huge swath of unallocated memory.
Also
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/20054
Here is the relevant piece
@@ -0,0 +1,354 @@
+//===--===//
+//
+// 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
@@ -30,21 +30,22 @@ using namespace clang;
using namespace clang::CIRGen;
using namespace llvm;
-mlir::Value CIRGenFunction::emitAArch64SVEBuiltinExpr(unsigned builtinID,
- const CallExpr *expr) {
+std::optional
+CIRGenFunct
@@ -89,6 +89,17 @@ RISCVInstrInfo::RISCVInstrInfo(const RISCVSubtarget &STI)
#define GET_INSTRINFO_HELPERS
#include "RISCVGenInstrInfo.inc"
+void RISCVInstrInfo::insertNoop(MachineBasicBlock &MBB,
+MachineBasicBlock::iterator MI) const {
+ Debu
Priyanshu3820 wrote:
Thanks @andykaylor for the review and guidance! This was a great learning
experience.
https://github.com/llvm/llvm-project/pull/169310
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/
https://github.com/michalpaszkowski approved this pull request.
https://github.com/llvm/llvm-project/pull/169875
___
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
---
Full diff: https://github.com/llvm/llvm-project/pull/171246.diff
3 Files Affected:
- (modified) clang/include/clang/CIR/Dialect/IR/CIROps.td (+7-1)
- (modified) clang/lib/CIR/CodeGen/CIRGenStmt.c
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: Jasmine Tang (badumbatish)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/171246.diff
3 Files Affected:
- (modified) clang/include/clang/CIR/Dialect/IR/CIROps.td (+7-1)
- (modified) clang/lib/CIR/CodeGen/CIRGenStmt
https://github.com/YuriPlyakhin updated
https://github.com/llvm/llvm-project/pull/169425
>From ce7ab7652cf29469a8addea8ebe67f408b4b03af Mon Sep 17 00:00:00 2001
From: "Plyakhin, Yury"
Date: Tue, 25 Nov 2025 00:40:45 +0100
Subject: [PATCH 01/11] [Offloading] Extend OffloadBinary format to suppor
https://github.com/badumbatish created
https://github.com/llvm/llvm-project/pull/171246
None
>From 40d3ddb8a9493563dba2858e07d19a78deb9326f Mon Sep 17 00:00:00 2001
From: Jasmine Tang
Date: Mon, 8 Dec 2025 05:00:55 -0800
Subject: [PATCH] Add switch case covered cirops.td
---
clang/include/cl
alexfh wrote:
> Sent #170823
>
> @alexfh please test this with this PR.
I've started testing of https://github.com/llvm/llvm-project/pull/170090 +
https://github.com/llvm/llvm-project/pull/170823 + this PR. I'll get back with
the results in a couple of days.
https://github.com/llvm/llvm-proj
https://github.com/wenju-he closed
https://github.com/llvm/llvm-project/pull/170803
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Luhaocong edited
https://github.com/llvm/llvm-project/pull/171094
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
zixu-w wrote:
Also tested `std::unordered_map`. Here are the updated full results:
For the constructed test input:
| Peak memory usage (single parse) | Duration (parsing 100 times) |
-- | -- | --
Original `DenseMap` | 3675108832 bytes (3.42 GB) | 53637 ms
`DenseMap` with 8 initial buckets | 98
@@ -1352,7 +1352,14 @@ RValue CIRGenFunction::emitBuiltinExpr(const GlobalDecl
&gd, unsigned builtinID,
}
// Now see if we can emit a target-specific builtin.
- if (mlir::Value v = emitTargetBuiltinExpr(builtinID, e, returnValue)) {
+ if (std::optional rst =
+
@@ -1352,7 +1352,14 @@ RValue CIRGenFunction::emitBuiltinExpr(const GlobalDecl
&gd, unsigned builtinID,
}
// Now see if we can emit a target-specific builtin.
- if (mlir::Value v = emitTargetBuiltinExpr(builtinID, e, returnValue)) {
+ if (std::optional rst =
+
@@ -5493,7 +5493,7 @@ def CIR_AtomicClearOp : CIR_Op<"atomic.clear"> {
}];
}
-def CIR_AtomicFence : CIR_Op<"atomic.fence"> {
+def CIR_AtomicFenceOp : CIR_Op<"atomic.fence"> {
Luhaocong wrote:
I revert this change and will submit a new PR
https://github.com
@@ -1523,13 +1523,37 @@ mlir::Value CIRGenFunction::emitX86BuiltinExpr(unsigned
builtinID,
case X86::BI__mulh:
case X86::BI__umulh:
case X86::BI_mul128:
- case X86::BI_umul128:
- case X86::BI__faststorefence:
+ case X86::BI_umul128: {
+cgm.errorNYI(expr->getSource
@@ -736,6 +743,22 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
// -f(-no)sanitize=leak should change whether leak detection is enabled by
// default in ASan?
+ // Error if a non-UBSan sanitizer is passed to
+ // `-fsanitize-ignore-for-ubsan-feature=`.
+ //
+ //
@@ -1523,13 +1523,37 @@ mlir::Value CIRGenFunction::emitX86BuiltinExpr(unsigned
builtinID,
case X86::BI__mulh:
case X86::BI__umulh:
case X86::BI_mul128:
- case X86::BI_umul128:
- case X86::BI__faststorefence:
+ case X86::BI_umul128: {
+cgm.errorNYI(expr->getSource
@@ -3973,6 +3980,10 @@ bool CompilerInvocation::ParseLangArgs(LangOptions
&Opts, ArgList &Args,
Opts.PIE = Args.hasArg(OPT_pic_is_pie);
parseSanitizerKinds("-fsanitize=", Args.getAllArgValues(OPT_fsanitize_EQ),
Diags, Opts.Sanitize);
+parseS
https://github.com/YuriPlyakhin updated
https://github.com/llvm/llvm-project/pull/169425
>From ce7ab7652cf29469a8addea8ebe67f408b4b03af Mon Sep 17 00:00:00 2001
From: "Plyakhin, Yury"
Date: Tue, 25 Nov 2025 00:40:45 +0100
Subject: [PATCH 01/10] [Offloading] Extend OffloadBinary format to suppor
@@ -4087,10 +4087,14 @@ llvm::Error ASTReader::ReadASTBlock(ModuleFile &F,
std::errc::illegal_byte_sequence,
"Invalid PENDING_IMPLICIT_INSTANTIATIONS block");
- for (unsigned I = 0, N = Record.size(); I != N; /* in loop */) {
-PendingInstan
https://github.com/Andres-Salamanca approved this pull request.
Sorry for this. I’ll be more careful.
https://github.com/llvm/llvm-project/pull/171224
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listin
@@ -399,20 +399,14 @@ static void emitAtomicCmpXchgFailureSet(CIRGenFunction
&cgf, AtomicExpr *e,
static void emitAtomicOp(CIRGenFunction &cgf, AtomicExpr *expr, Address dest,
Address ptr, Address val1, Address val2,
Expr *isWe
@@ -10527,6 +10527,21 @@ bool ASTContext::areCompatibleVectorTypes(QualType
FirstVec,
Second->getVectorKind() != VectorKind::RVVFixedLengthMask_4)
return true;
+ // In OpenCL, treat half and _Float16 vector types as compatible.
ranapratap55 wrote:
github-actions[bot] wrote:
# :window: Windows x64 Test Results
* 51413 tests passed
* 852 tests skipped
* 4 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
Clang.ClangScanDeps/link-libraries.c
```
Exit Code: 3221225477
Command Output (stdout):
--
# RUN: at l
github-actions[bot] wrote:
# :penguin: Linux x64 Test Results
* 84980 tests passed
* 1151 tests skipped
* 5 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
Clang.ClangScanDeps/link-libraries.c
```
Exit Code: -11
Command Output (stdout):
--
# RUN: at line 1
r
https://github.com/actinks edited
https://github.com/llvm/llvm-project/pull/171019
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fmayer approved this pull request.
https://github.com/llvm/llvm-project/pull/168535
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -736,6 +743,22 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
// -f(-no)sanitize=leak should change whether leak detection is enabled by
// default in ASan?
+ // Error if a non-UBSan sanitizer is passed to
+ // `-fsanitize-ignore-for-ubsan-feature=`.
+ //
+ //
@@ -3973,6 +3980,10 @@ bool CompilerInvocation::ParseLangArgs(LangOptions
&Opts, ArgList &Args,
Opts.PIE = Args.hasArg(OPT_pic_is_pie);
parseSanitizerKinds("-fsanitize=", Args.getAllArgValues(OPT_fsanitize_EQ),
Diags, Opts.Sanitize);
+parseS
https://github.com/rniwa updated
https://github.com/llvm/llvm-project/pull/161633
>From 35ae9ac455dac75db1745984dc740cf276a9dcc8 Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa
Date: Wed, 1 Oct 2025 23:41:54 -0700
Subject: [PATCH 1/2] [alpha.webkit.RetainPtrCtorAdoptChecker] Don't treat
assignment
https://github.com/zixu-w updated
https://github.com/llvm/llvm-project/pull/171230
>From cef7f9c203022471a7a3c8c2995688af521a3d5c Mon Sep 17 00:00:00 2001
From: Zixu Wang
Date: Mon, 8 Dec 2025 15:21:23 -0800
Subject: [PATCH] [Support][JSON] Use `std::map` for object storage
`llvm::DenseMap` is
chaitanyav wrote:
thank you @efriedma-quic @erichkeane for the review and guidance throughout the
review.
https://github.com/llvm/llvm-project/pull/160259
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/
@@ -321,6 +321,51 @@ bool isExprToGetCheckedPtrCapableMember(const clang::Expr
*E) {
return result && *result;
}
+bool isAllocInit(const Expr *E, const Expr **InnerExpr) {
+ auto *ObjCMsgExpr = dyn_cast(E);
+ if (auto *POE = dyn_cast(E)) {
+if (unsigned ExprCount = PO
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Naveen Seth Hanig (naveen-seth)
Changes
This is the second patch in a series that removes the dependency of
`clangDependencyScanning` on `clangDriver`, splitting the work from #169964 into smaller changes (see comment linked below).
This
Nicolai =?utf-8?q?Hähnle?= ,jimingham
,Matt Arsenault ,Priyanshu
Kumar <[email protected]>,Aiden Grossman
,Maksim
Levental
Message-ID:
In-Reply-To:
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this lo
@@ -2283,6 +2283,37 @@ using HasOpNameMatcher =
HasOpNameMatcher hasAnyOperatorNameFunc(ArrayRef NameRefs);
+/// Matches nodes of type T (CompoundStmt or StmtExpr) that contain a sequence
+/// of consecutive substatements matching the provided matchers in order.
+///
+/// See
Nicolai =?utf-8?q?Hähnle?= ,jimingham
,Matt Arsenault ,Priyanshu
Kumar <[email protected]>,Aiden Grossman
,Maksim
Levental
Message-ID:
In-Reply-To:
https://github.com/anonymouspc converted_to_draft
https://github.com/llvm/llvm-project/pull/171109
_
@@ -2283,6 +2283,37 @@ using HasOpNameMatcher =
HasOpNameMatcher hasAnyOperatorNameFunc(ArrayRef NameRefs);
+/// Matches nodes of type T (CompoundStmt or StmtExpr) that contain a sequence
+/// of consecutive substatements matching the provided matchers in order.
+///
+/// See
https://github.com/andykaylor updated
https://github.com/llvm/llvm-project/pull/171222
>From 08d8c69bb704f1f13a1837038d14a4253e3d0b74 Mon Sep 17 00:00:00 2001
From: Andy Kaylor
Date: Mon, 8 Dec 2025 14:54:34 -0800
Subject: [PATCH 1/3] [CIR][NFC] Add stubs for missing visitors in
ScalarExprEmit
github-actions[bot] wrote:
# :penguin: Linux x64 Test Results
* 3054 tests passed
* 7 tests skipped
All tests passed but another part of the build **failed**. Click on a failure
below to see the details.
tools/clang/lib/CIR/CodeGen/CMakeFiles/obj.clangCIR.dir/CIRGenAsm.cpp.o
```
FAILED: to
tltao wrote:
> If you do want to reject, please make sure we reject gracefully at both the
> clang level and the LLVM IR level.
Is there a reason we also need to check it in the LLVM IR level if we are
already checking for it in clang? This PR only affects the Clang output so I
don't know for
nimit25 wrote:
@dtcxzyw how did you find out that case? I went through
https://github.com/dtcxzyw/llvm-fuzz-service/actions/runs/20032800860/artifacts/4799826696
and can't see this one. Just curious for next time :)
https://github.com/llvm/llvm-project/pull/164882
https://github.com/jkorous-apple updated
https://github.com/llvm/llvm-project/pull/169131
>From 61f84a4c4dfa70a4c4367c07075ac9a392cf70b4 Mon Sep 17 00:00:00 2001
From: Jan Korous
Date: Fri, 21 Nov 2025 15:53:11 -0800
Subject: [PATCH 01/23] [clang][ssaf] Introduce entity abstraction for SSAF
Ad
Author: Henrich Lauko
Date: 2025-12-08T22:52:56+01:00
New Revision: 89bc5fff54b750c145c27d44e70692c7af7aba3b
URL:
https://github.com/llvm/llvm-project/commit/89bc5fff54b750c145c27d44e70692c7af7aba3b
DIFF:
https://github.com/llvm/llvm-project/commit/89bc5fff54b750c145c27d44e70692c7af7aba3b.diff
https://github.com/RKSimon approved this pull request.
LGTM - cheers
https://github.com/llvm/llvm-project/pull/169619
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fmayer closed
https://github.com/llvm/llvm-project/pull/170943
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Florian Mayer
Date: 2025-12-08T20:56:22Z
New Revision: f6971bf25daff242590ea025ae3b37603845c0b4
URL:
https://github.com/llvm/llvm-project/commit/f6971bf25daff242590ea025ae3b37603845c0b4
DIFF:
https://github.com/llvm/llvm-project/commit/f6971bf25daff242590ea025ae3b37603845c0b4.diff
LOG:
kkent030315 wrote:
> > Perhaps some of `if (MSVC)` blocks should be changed to `(WIN32 AND NOT
> > MINGW)`.
>
> `(MSVC OR CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC")` might be better.
> [gitlab.kitware.com/cmake/cmake/-/issues/19724](https://gitlab.kitware.com/cmake/cmake/-/issues/19724)
I don't t
kkent030315 wrote:
@kikairoya Thank you for the detailed info! I appreciate.
> I think the problem is that libclang.dll is exporting C++ interfaces; that
> looks unintended.
Yes, it is. In the case we're not modifying dllimport attributes in
`Compiler.h` what would you think is the best/bette
1 - 100 of 493 matches
Mail list logo