Author: Aaron Ballman
Date: 2025-03-07T14:46:29-05:00
New Revision: b19ed9c0435c5f7c89cba40285df3a1395a782fd
URL:
https://github.com/llvm/llvm-project/commit/b19ed9c0435c5f7c89cba40285df3a1395a782fd
DIFF:
https://github.com/llvm/llvm-project/commit/b19ed9c0435c5f7c89cba40285df3a1395a782fd.diff
https://github.com/Bigcheese commented:
Overall I think this looks good. I'm not sure I share the same concerns. The
situation this covers is how likely is it that the build system is going to
determine this needs to be rebuilt, and that happens (in most cases) purely
based on the reported dep
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Joseph Huber (jhuber6)
Changes
Summary:
We neededa toolchain to get the GPU architectures when compiling with
OpenMP. This kind of breaks the toolchain model because these are cached
all over the place. Instead of making a new one, just cre
@@ -0,0 +1,28 @@
+//===--===//
+//
+// 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: Apac
https://github.com/matthewlevy97 updated
https://github.com/llvm/llvm-project/pull/130103
>From fb04b7bf5f2b668bf354632fc53e7521f44880c9 Mon Sep 17 00:00:00 2001
From: Matt Levy
Date: Wed, 5 Mar 2025 12:36:02 -0500
Subject: [PATCH 1/3] [clang][CodeGen] Software Bill of Mitigations Metadata
The
https://github.com/HerrCai0907 edited
https://github.com/llvm/llvm-project/pull/130416
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hubert-reinterpretcast closed
https://github.com/llvm/llvm-project/pull/130865
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,201 @@
+//===- EntryPointStats.cpp --===//
+//
+// 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: Apach
@@ -35,9 +35,10 @@ class DivZeroChecker : public
Checker> {
public:
/// This checker class implements several user facing checkers
enum CheckKind { CK_DivideZero, CK_TaintedDivChecker, CK_NumCheckKinds };
- bool ChecksEnabled[CK_NumCheckKinds] = {false};
- CheckerNameRef
https://github.com/juru1234 updated
https://github.com/llvm/llvm-project/pull/128221
>From 057d62357c813dcfccf7ecfa8b272e2564fe07f3 Mon Sep 17 00:00:00 2001
From: Julian Ruess
Date: Fri, 21 Feb 2025 20:42:46 +0100
Subject: [PATCH 1/2] [clang-tidy] Add an option to treat warnings as errors
This
https://github.com/erichkeane approved this pull request.
I'm in favor, but lets let @AaronBallman take a look/click merge if is OK too.
https://github.com/llvm/llvm-project/pull/131346
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://li
https://github.com/carlosgalvezp updated
https://github.com/llvm/llvm-project/pull/128150
>From a4f57f491efd075c4788e31e3c52a090a6960a64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carlos=20G=C3=A1lvez?=
Date: Thu, 20 Feb 2025 12:37:15 +
Subject: [PATCH] [clang-tidy] Avoid processing declarati
@@ -3856,6 +3856,59 @@ TEST_F(TokenAnnotatorTest, AfterPPDirective) {
EXPECT_TOKEN(Tokens[2], tok::minusminus, TT_AfterPPDirective);
}
+TEST_F(TokenAnnotatorTest, UserDefinedConversionFunction) {
+ auto Tokens = annotate("operator int();");
+ ASSERT_EQ(Tokens.size(), 6u) <
cor3ntin wrote:
It would be useful to have a repro or a stack trace here.
In particular, in `SourceManagerForFile`, `RequiresNullTerminator` is `false`,
so the assert should _not_ fire on a non-null terminated file
https://github.com/llvm/llvm-project/pull/131299
__
hulxv wrote:
@ilovepi Hey, could you please review this PR whenever you have a moment? I’d
really appreciate your feedback!
https://github.com/llvm/llvm-project/pull/131280
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org
@@ -2518,6 +2518,59 @@ StringRef CGDebugInfo::getVTableName(const CXXRecordDecl
*RD) {
return internString("_vptr$", RD->getNameAsString());
}
+// Emit symbol for the debugger that points to the vtable address for
+// the given class. The symbol is named as '_vtable$'.
+//
Author: Fraser Cormack
Date: 2025-03-06T08:52:23Z
New Revision: a2b05761724e5243056988d9d6bf1a5a94715b74
URL:
https://github.com/llvm/llvm-project/commit/a2b05761724e5243056988d9d6bf1a5a94715b74
DIFF:
https://github.com/llvm/llvm-project/commit/a2b05761724e5243056988d9d6bf1a5a94715b74.diff
LOG
HazardyKnusperkeks wrote:
I still think Google should have to say what their style in clang-format is,
extending to the default values of `AttributeMacros`.
I also wouldn't have such a big issue with adding it to the base style, because
of the prefix and I think it's nice that Boost or Qt most
https://github.com/vbvictor updated
https://github.com/llvm/llvm-project/pull/126434
>From 45d80294dd6fdab4bd85d51b0f952b515486bc8b Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Mon, 3 Mar 2025 09:25:03 +0300
Subject: [PATCH 1/4] [clang-tidy] add scoped-lock-check
---
.../clang-tidy/mod
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-driver
Author: Maxim Zhukov (Mephistophiles)
Changes
Added ability to build together with -fsanitize=cfi and
-fsanitize-coverage=trace-cmp at the same time.
---
Full diff: https://github.com/llvm/llvm-project/pull/13129
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/130712
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman closed
https://github.com/llvm/llvm-project/pull/131166
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Aaron Ballman
Date: 2025-03-15T11:01:53-04:00
New Revision: d781ac1cf0d561b79f6ff834d786c6a999429901
URL:
https://github.com/llvm/llvm-project/commit/d781ac1cf0d561b79f6ff834d786c6a999429901
DIFF:
https://github.com/llvm/llvm-project/commit/d781ac1cf0d561b79f6ff834d786c6a999429901.diff
https://github.com/HighCommander4 ready_for_review
https://github.com/llvm/llvm-project/pull/130473
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2706,6 +2706,9 @@ def warn_final_dtor_non_final_class : Warning<
InGroup;
def note_final_dtor_non_final_class_silence : Note<
"mark %0 as '%select{final|sealed}1' to silence this warning">;
+def warn_unnecessary_virtual_specifier : Warning<
+ "virtual method %0 is insi
@@ -0,0 +1,124 @@
+//===--- CapturingThisInMemberVariableCheck.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: Ap
https://github.com/carlosgalvezp closed
https://github.com/llvm/llvm-project/pull/128150
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/131450
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
elbeno wrote:
Thanks @cor3ntin, apologies for dupe.
https://github.com/llvm/llvm-project/pull/131450
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
firewave wrote:
Nice.
It looks like it does not consider that static initializations within functions
are only thread-safe starting with C++11.
Also this may obviously only be applied to read-only objects. That would
require an existing `const` object or usage in tandem with
`misc-const-corr
https://github.com/cor3ntin created
https://github.com/llvm/llvm-project/pull/131450
…mber access
For an expression `nodiscard_function().static_member(), the nodiscard warnings
added by #120223, are not useful or actionable, and are disruptive to some
library implementations; we just remove
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Mészáros Gergely (Maetveis)
Changes
- Add tests for complex divdent and real divisor
- Add tests for complex * real multiplication
- Add tests for multiply/divide and assign (`/=`,`*=`) operators
---
Patch is 510.90 KiB, truncated to 20.0
Stylie777 wrote:
No worries 😀
If we remove `ARM::AEK_SIMD` is removed, the target will not be able to process
or generate NEON instructions. I have added it to all ArmV8-a (and beyond)
architectures and the Cortex-R52 CPU. This should cover all the Cortex-A and
Cortex-R targets that support i
https://github.com/JonChesterfield updated
https://github.com/llvm/llvm-project/pull/131134
>From 0466c31d1e0b10aa2d2352bb6befd36eb5306f9c Mon Sep 17 00:00:00 2001
From: Jon Chesterfield
Date: Thu, 13 Mar 2025 12:49:42 +
Subject: [PATCH] [libc][nfc] Steps to allow sharing code between gpu i
@@ -353,6 +353,12 @@ ANALYZER_OPTION(bool, DisplayCTUProgress,
"display-ctu-progress",
"the analyzer's progress related to ctu.",
false)
+ANALYZER_OPTION(
+StringRef, DumpSEStatsToCSV, "dump-se-stats-to-csv",
NagyDonat wrot
4vtomat wrote:
Ping~
https://github.com/llvm/llvm-project/pull/126064
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -97,6 +97,9 @@ Improvements to clang-tidy
Note: this may lead to false negatives; downstream users may need to adjust
their checks to preserve existing behavior.
+- Improved :program:`clang-tidy-diff.py` script. Add the `-warnings-as-errors`
carlosgalve
mizvekov wrote:
Noted. Sorry I haven't responded yet, I have other priorities and it might take
a while before I get back to this patch.
https://github.com/llvm/llvm-project/pull/107942
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://l
@@ -568,6 +568,128 @@ mlir::LogicalResult
CIRToLLVMGlobalOpLowering::matchAndRewrite(
return mlir::success();
}
+mlir::LogicalResult CIRToLLVMUnaryOpLowering::matchAndRewrite(
+cir::UnaryOp op, OpAdaptor adaptor,
+mlir::ConversionPatternRewriter &rewriter) const {
+
@@ -10033,15 +10040,24 @@ class Sema final : public SemaBase {
bool InOverloadResolution,
QualType &ConvertedType);
+ enum class CheckMemberPointerConversionResult {
erichkeane wrote:
Is `Chec
https://github.com/bob80905 approved this pull request.
Ok, given the specific conditions that:
1. there are 3 parameters
2. the first parameter should always be the vector type
3. and there should be at most one base type among all the parameters
This macro should work for that specific case.
I
@@ -0,0 +1,102 @@
+.. title:: clang-tidy - modernize-use-scoped-lock
+
+modernize-use-scoped-lock
+=
+
+Finds uses of ``std::lock_guard`` and suggests replacing them with C++17's
+alternative ``std::scoped_lock``. The check will automatically transform only
Carlos =?utf-8?q?Gálvez?= ,
Carlos =?utf-8?q?Gálvez?=
Message-ID:
In-Reply-To:
carlosgalvezp wrote:
@PiotrZSL @5chmidti @HerrCai0907 Do you have any objections to this patch? I
would like to go ahead and land it now that all tests pass. The more we delay
this, the higher the risk that new ch
https://github.com/fmayer updated
https://github.com/llvm/llvm-project/pull/121957
>From 2feb85c15f64546cb6874e1ca0a1310bd1e1bedd Mon Sep 17 00:00:00 2001
From: Florian Mayer
Date: Tue, 7 Jan 2025 07:57:09 -0800
Subject: [PATCH 1/7] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=
=?UTF
https://github.com/Maetveis ready_for_review
https://github.com/llvm/llvm-project/pull/131447
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arichardson requested changes to this pull request.
Wouldn't it be more maintainable to just set the value to off for AIX where the
`option()` is defined?
https://github.com/llvm/llvm-project/pull/131200
___
cfe-commits mailing list
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/95004
>From c3b6943c236990c9f0ba363b4335b3c0e048ef2c Mon Sep 17 00:00:00 2001
From: Florian Hahn
Date: Mon, 10 Jun 2024 16:54:02 +0100
Subject: [PATCH 1/3] [clang] Add value_type attr, use it to add noalias when
pass-by-
@@ -0,0 +1,29 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -Wunnecessary-virtual-specifier %s
+
+struct Foo final {
+ Foo() = default;
+ virtual ~Foo() = default; // expected-warning {{virtual
method}}
+ virtual Foo& operator=(Foo& other) = default; // ex
Author: Morris Hafner
Date: 2025-03-14T07:20:42-07:00
New Revision: 0f98d1b9fa56c19dcbf1b002608e51047ac56d60
URL:
https://github.com/llvm/llvm-project/commit/0f98d1b9fa56c19dcbf1b002608e51047ac56d60
DIFF:
https://github.com/llvm/llvm-project/commit/0f98d1b9fa56c19dcbf1b002608e51047ac56d60.diff
@@ -84,10 +84,9 @@ TargetMachine *EngineBuilder::selectTarget(const Triple
&TargetTriple,
}
// Allocate a target...
- TargetMachine *Target =
- TheTarget->createTargetMachine(TheTriple.getTriple(), MCPU, FeaturesStr,
- Options, Re
https://github.com/PiotrZSL closed
https://github.com/llvm/llvm-project/pull/130626
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/stmuench created
https://github.com/llvm/llvm-project/pull/131468
There are use cases where people need to diagnose also sugared types, such as
type aliases, decltypes or template parameter types, as use of C-Style arrays
in case their referenced type falls into such categor
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/pedroclobo created
https://github.com/llvm/llvm-project/pull/131469
Replace `undef` constant metadata uses with `poison`.
>From 7df6eb58c29f35eef3845c3ba5f76edb902272f4 Mon Sep 17 00:00:00 2001
From: Pedro Lobo
Date: Sat, 15 Mar 2025 20:10:34 +
Subject: [PATCH] [Metadata
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Pedro Lobo (pedroclobo)
Changes
Replace `undef` constant metadata uses with `poison`.
---
Full diff: https://github.com/llvm/llvm-project/pull/131469.diff
3 Files Affected:
- (modified) clang/lib/CodeGen/CodeGenFunction.cpp (+1-1)
- (m
https://github.com/stmuench updated
https://github.com/llvm/llvm-project/pull/131468
>From b5457130eb02f32e83416747b770b281b477d5cd Mon Sep 17 00:00:00 2001
From: stmuench
Date: Sat, 15 Mar 2025 21:00:52 +0100
Subject: [PATCH] [clang-tidy] offer option to check sugared types in
avoid-c-arrays
https://github.com/DanielCChen updated
https://github.com/llvm/llvm-project/pull/131041
>From 660ec19fc5f59aa7c08331b5066388f3f5af14b9 Mon Sep 17 00:00:00 2001
From: Daniel Chen
Date: Wed, 12 Mar 2025 18:23:14 -0400
Subject: [PATCH 1/2] [flang-rt] Pass the whole path of libflang_rt.runtime.a
t
https://github.com/stmuench edited
https://github.com/llvm/llvm-project/pull/131468
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/DanielCChen updated
https://github.com/llvm/llvm-project/pull/131041
>From 660ec19fc5f59aa7c08331b5066388f3f5af14b9 Mon Sep 17 00:00:00 2001
From: Daniel Chen
Date: Wed, 12 Mar 2025 18:23:14 -0400
Subject: [PATCH 1/3] [flang-rt] Pass the whole path of libflang_rt.runtime.a
t
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Aaron Ballman (AaronBallman)
Changes
This paper clarifies two things:
* a call to va_start must be within the body of a variadic function,
* the va_list arguments must be lvalues
Clang has correctly diagnosed the first point since Clan
https://github.com/necto updated
https://github.com/llvm/llvm-project/pull/131175
>From 6b6d80d42d40d5917622cbc2bc0f2a454c34eca3 Mon Sep 17 00:00:00 2001
From: Arseniy Zaostrovnykh
Date: Thu, 13 Mar 2025 18:42:39 +0100
Subject: [PATCH 1/8] [analyzer] Introduce per-entry-point statistics
MIME-Ve
@@ -0,0 +1,182 @@
+//===-- spirvintrin.h - SPIRV intrinsic functions ===//
jhuber6 wrote:
The header stuff is separate from introducing these builtins, they should be
tested in isolation.
https://github.com/llvm/llvm-project/pull/131190
@@ -190,23 +203,38 @@ class CheckerManager {
// Checker registration.
//======//
- /// Used to register checkers.
- /// All arguments are automatically passed through to the checker
- /// constructor.
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/127061
>From a76ee008bdb87655da465e21d09c840edecc2b1b Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Thu, 13 Feb 2025 15:24:09 +0200
Subject: [PATCH 1/2] [Clang] emit -Wunused-variable warning for unused
structur
https://github.com/darkbuck updated
https://github.com/llvm/llvm-project/pull/131057
>From 255050e6d1e3ebbf25b30c17a10be14d29e5dae7 Mon Sep 17 00:00:00 2001
From: Michael Liao
Date: Tue, 4 Mar 2025 12:47:24 -0500
Subject: [PATCH] [clang][CIR] Add missing dependency on MLIR headers
- Add depend
imdj wrote:
I just did a rebase after the merge of #131166 .
Could you take a look please @AaronBallman and see if everything looks good now?
https://github.com/llvm/llvm-project/pull/131346
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http
https://github.com/imdj updated https://github.com/llvm/llvm-project/pull/131346
>From 0b0361fe5f9c15a2682a642584dc6901053ae1cd Mon Sep 17 00:00:00 2001
From: Imad Aldij
Date: Sat, 15 Mar 2025 21:43:06 +0200
Subject: [PATCH] [Clang] Rename SecondArgIsLastNamedArgument for clarity and
consistenc
steakhal wrote:
I like what you present here. I also share your concerns and your proposed
resolutions.
It would be awesome if you could fix these. Do you plan to?
https://github.com/llvm/llvm-project/pull/131374
___
cfe-commits mailing list
cfe-commi
https://github.com/carlocab approved this pull request.
https://github.com/llvm/llvm-project/pull/131182
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,63 @@
+//===--- hlsl_compat_overloads.h - Additional HLSL overload definitions for
+// intrinsics --===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-Licens
Zhenhang1213 wrote:
@smithp35 @statham-arm
https://github.com/llvm/llvm-project/pull/130027
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/spall closed https://github.com/llvm/llvm-project/pull/129773
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/choikwa updated
https://github.com/llvm/llvm-project/pull/129347
>From e4d31407818361b367525d4d5dcc66ee084796d4 Mon Sep 17 00:00:00 2001
From: Kevin Choi
Date: Fri, 28 Feb 2025 16:52:03 -0600
Subject: [PATCH] [AMDGPU][clang] provide device implementation for
__builtin_logb a
@@ -46,21 +52,124 @@ void CIRGenFunction::emitAutoVarAlloca(const VarDecl &d) {
address = createTempAlloca(allocaTy, alignment, loc, d.getName());
declare(address.getPointer(), &d, ty, getLoc(d.getSourceRange()), alignment);
+ emission.Addr = address;
setAddrOfLocalVar
@@ -0,0 +1,84 @@
+//===--===//
+//
+// 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: Apac
@@ -739,6 +748,12 @@ ModuleDepCollectorPP::handleTopLevelModule(const Module
*M) {
MDC.ScanInstance.getASTReader()->visitInputFileInfos(
*MF, /*IncludeSystem=*/true,
[&](const serialization::InputFileInfo &IFI, bool IsSystem) {
+if (MD.IsInSysroot) {
+
Author: quic_hchandel
Date: 2025-03-06T12:01:53+05:30
New Revision: 6e7e46cafeccab761d31e6404ceb0cdef4c18bd4
URL:
https://github.com/llvm/llvm-project/commit/6e7e46cafeccab761d31e6404ceb0cdef4c18bd4
DIFF:
https://github.com/llvm/llvm-project/commit/6e7e46cafeccab761d31e6404ceb0cdef4c18bd4.diff
@@ -0,0 +1,120 @@
+// RUN: %clang_cc1 -std=c++2c -fexperimental-new-constant-interpreter
-verify=expected,both %s
+// RUN: %clang_cc1 -std=c++2c -verify=ref,both %s
+
+// both-no-diagnostics
+
+namespace std {
+inline namespace {
philnik777 wrote:
I'm just wond
https://github.com/zyn0217 updated
https://github.com/llvm/llvm-project/pull/130228
>From 295b8173b6913d9014c5786eb4af0112384afa65 Mon Sep 17 00:00:00 2001
From: Younan Zhang
Date: Fri, 7 Mar 2025 11:38:11 +0800
Subject: [PATCH 1/6] [Clang] Implement P0963R3 "Structured binding declaration
as
https://github.com/jhuber6 commented:
Are you trying to do an IR lowering? It'd probably make more sense to handle
that in LLVM than clang, but I guess Matt would be the expert there.
https://github.com/llvm/llvm-project/pull/129347
___
cfe-commits ma
https://github.com/necto updated
https://github.com/llvm/llvm-project/pull/131175
>From 6b6d80d42d40d5917622cbc2bc0f2a454c34eca3 Mon Sep 17 00:00:00 2001
From: Arseniy Zaostrovnykh
Date: Thu, 13 Mar 2025 18:42:39 +0100
Subject: [PATCH 1/3] [analyzer] Introduce per-entry-point statistics
MIME-Ve
https://github.com/lenary created
https://github.com/llvm/llvm-project/pull/130219
The Xqci 0.7.0 spec just came out, with some updates to Xqciint, bringing it to
v0.4. The main update of any relevance is that `qc.c.mienter` and
`qc.c.mienter.nest` now update both the stack pointer and the fra
@@ -0,0 +1,27 @@
+===
+Analysis Statistics
+===
+
+CSA enjoys two facilities to collect statistics: per translation unit and per
entry point.
+We use llvm/ADT/Statistic.h for numbers describing the entire translation unit
(TU).
+We use clang/Stati
@@ -0,0 +1,162 @@
+// EntryPointStats.h - Tracking statistics per entry point -*- C++ -*-//
NagyDonat wrote:
```suggestion
// EntryPointStats.h - Tracking statistics per entry point --*- C++ -*-//
```
Just a doubled space.
https://github.com/llvm/llvm-project/p
DKLoehr wrote:
@zmodem Would you take a look? What do you think about implementing the
suggestion about checking if virtual methods actually get overridden or not?
https://github.com/llvm/llvm-project/pull/131188
___
cfe-commits mailing list
cfe-commi
https://github.com/cyndyishida updated
https://github.com/llvm/llvm-project/pull/130634
>From aca254a154489fda68292f6d06a866ae7011a7f6 Mon Sep 17 00:00:00 2001
From: Cyndy Ishida
Date: Mon, 10 Mar 2025 09:06:32 -0700
Subject: [PATCH 1/2] [clang][DependencyScanning] Track modules that resolve
f
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Tom Honermann (tahonermann)
Changes
Static analysis identified two uses of `getAs()` for which the result pointer
was unconditionally dereferenced. Source code inspection confirmed that the
target type is assured by prior checks. This cha
https://github.com/VladiKrapp-Arm edited
https://github.com/llvm/llvm-project/pull/130027
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -280,6 +280,25 @@ def CIR_BoolType :
}];
}
+//===--===//
+// ArrayType
+//===--===//
+
+def CIR_ArrayType : CIR_Type<"Array", "array",
+
Timm =?utf-8?q?B=C3=A4der?=
Message-ID:
In-Reply-To:
tbaederr wrote:
Ping
https://github.com/llvm/llvm-project/pull/128732
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -6,7 +6,7 @@
; RUN: opt -thinlto-bc -o %t.o %s
; RUN: %clang_cc1 -triple x86_64-grtev4-linux-gnu \
-; RUN: -fthinlto-index=%S/Inputs/thinlto-distributed-backend-skip.bc \
+; RUN: -fthinlto-index=%S/../Inputs/thinlto-distributed-backend-skip.bc \
teresaj
@@ -157,42 +157,35 @@ class RemoveUniqueLockFileOnSignal {
} // end anonymous namespace
-LockFileManager::LockFileManager(StringRef FileName)
-{
- this->FileName = FileName;
- if (std::error_code EC = sys::fs::make_absolute(this->FileName)) {
-std::string S("failed to o
tbaederr wrote:
Closing this since https://github.com/llvm/llvm-project/pull/93046 has been
merged.
https://github.com/llvm/llvm-project/pull/89449
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo
https://github.com/AaronBallman closed
https://github.com/llvm/llvm-project/pull/130180
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/darkbuck updated
https://github.com/llvm/llvm-project/pull/131057
>From 255050e6d1e3ebbf25b30c17a10be14d29e5dae7 Mon Sep 17 00:00:00 2001
From: Michael Liao
Date: Tue, 4 Mar 2025 12:47:24 -0500
Subject: [PATCH] [clang][CIR] Add missing dependency on MLIR headers
- Add depend
Mephistophiles wrote:
This is RFC PR: It seems very likely that having CFI instrumentation should not
interfere with coverage instrumentation. But I am not completely sure. If these
patch look good, please accept this commit.
https://github.com/llvm/llvm-project/pull/131296
___
DanielCChen wrote:
> > > Wouldn't it be more maintainable to just force the value to OFF for AIX
> > > where the `option()` is defined?
> >
> >
> > Unfortunately, the cmake command line option
> > `-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON` overrides the `option()` in the
> > cmake file.
>
>
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/131434
Also fix/delete existing invalid/redundant test cases.
Fix #130894
>From 46cde1b7667f36115d746326b78d011511cac738 Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Sat, 15 Mar 2025 00:37:53 -0700
Subject: [PATCH] [
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
Also fix/delete existing invalid/redundant test cases.
Fix #130894
---
Full diff: https://github.com/llvm/llvm-project/pull/131434.diff
3 Files Affected:
- (modified) clang/lib/Format/TokenAnnotator.cpp
https://github.com/dong-miao updated
https://github.com/llvm/llvm-project/pull/131094
>From bcdf9641037507b855a20a8ba5d26b127dd248e8 Mon Sep 17 00:00:00 2001
From: dong-miao
Date: Sat, 4 Jan 2025 17:53:58 +0800
Subject: [PATCH 01/22] Update RISCVSystemOperands.td
---
llvm/lib/Target/RISCV/RIS
201 - 300 of 337 matches
Mail list logo