https://github.com/HerrCai0907 updated
https://github.com/llvm/llvm-project/pull/131804
>From a686695e6691fcb824b2055c3dfa8f0fd3727355 Mon Sep 17 00:00:00 2001
From: DeNiCoN
Date: Mon, 17 Mar 2025 08:04:32 +
Subject: [PATCH 01/13] origin pr
---
clang-tools-extra/clang-tidy/CMakeLists.txt
@@ -353,6 +367,19 @@ void SizeofExpressionCheck::check(const
MatchFinder::MatchResult &Result) {
diag(E->getBeginLoc(),
"suspicious usage of 'sizeof(char*)'; do you mean 'strlen'?")
<< E->getSourceRange();
+ } else if (const auto *E = Result.Nodes.getNode
https://github.com/HerrCai0907 ready_for_review
https://github.com/llvm/llvm-project/pull/131804
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -164,6 +164,53 @@ int Test2(MyConstChar* A) {
return sum;
}
+struct A {
+ int array[10];
+};
+
+struct B {
+ struct A a;
+};
+
+void loop_access_elements(int num, struct B b) {
+struct A arr[10];
+char buf[20];
+
+// CHECK-MESSAGES: :[[@LINE+1]]:5: warning:
@@ -316,3 +316,11 @@ Options
When `true`, the check will warn on pointer arithmetic where the
element count is obtained from a division with ``sizeof(...)``,
e.g., ``Ptr + Bytes / sizeof(*T)``. Default is `true`.
+
+.. option:: WarnOnSizeOfInLoopTermination
+
+ When
@@ -353,6 +367,19 @@ void SizeofExpressionCheck::check(const
MatchFinder::MatchResult &Result) {
diag(E->getBeginLoc(),
"suspicious usage of 'sizeof(char*)'; do you mean 'strlen'?")
<< E->getSourceRange();
+ } else if (const auto *E = Result.Nodes.getNode
@@ -219,6 +219,12 @@ Changes in existing checks
tolerating fix-it breaking compilation when functions is used as pointers
to avoid matching usage of functions within the current compilation unit.
+- Improved :doc: `bugprone-sizeof-expression
+ ` check.
+
+ Introduced WarnO
@@ -164,6 +164,53 @@ int Test2(MyConstChar* A) {
return sum;
}
+struct A {
+ int array[10];
+};
+
+struct B {
+ struct A a;
+};
+
+void loop_access_elements(int num, struct B b) {
+struct A arr[10];
+char buf[20];
+
+// CHECK-MESSAGES: :[[@LINE+1]]:5: warning:
https://github.com/HerrCai0907 edited
https://github.com/llvm/llvm-project/pull/131804
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
HerrCai0907 wrote:
> This feature request requires adding _a lot_ of things in the config file.
> And once it's in, people will want _more_ things in it (eventually they will
> want exactly the same functionality as can be achieved by regular checks). So
> I see this feature growing without po
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/143302
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1547,6 +1547,58 @@ ExprResult Sema::ActOnTypeTrait(TypeTrait Kind,
SourceLocation KWLoc,
return BuildTypeTrait(Kind, KWLoc, ConvertedArgs, RParenLoc);
}
+bool Sema::BuiltinIsBaseOf(SourceLocation RhsTLoc, QualType LhsT,
+ QualType RhsT) {
+ //
Author: Owen Pan
Date: 2025-06-13T00:45:52-07:00
New Revision: 1fae5918b3d6fbed8ce6d8a2edf31bdf304ca8db
URL:
https://github.com/llvm/llvm-project/commit/1fae5918b3d6fbed8ce6d8a2edf31bdf304ca8db
DIFF:
https://github.com/llvm/llvm-project/commit/1fae5918b3d6fbed8ce6d8a2edf31bdf304ca8db.diff
LOG:
https://github.com/philnik777 updated
https://github.com/llvm/llvm-project/pull/116709
>From e0bb550672326e21a556ac727f2e2a6ef65f0469 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser
Date: Tue, 1 Oct 2024 11:08:02 +0200
Subject: [PATCH 1/7] [Clang] Add __builtin_invoke and recognize std::invoke a
https://github.com/ziqingluo-90 updated
https://github.com/llvm/llvm-project/pull/143487
>From 5825b324e47c78a939d8e62d1101e1574fd04638 Mon Sep 17 00:00:00 2001
From: Ziqing Luo
Date: Tue, 10 Jun 2025 15:50:10 +0800
Subject: [PATCH 1/6] [-Wunterminated-string-initialization] Handle C string
li
Author: Shamshura Egor
Date: 2025-06-13T09:53:15+02:00
New Revision: 02b6ed0bf139518c704a2996418e66f3a93260a1
URL:
https://github.com/llvm/llvm-project/commit/02b6ed0bf139518c704a2996418e66f3a93260a1
DIFF:
https://github.com/llvm/llvm-project/commit/02b6ed0bf139518c704a2996418e66f3a93260a1.diff
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/143309
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/someoneinjd updated
https://github.com/llvm/llvm-project/pull/142903
>From 398978803ba789efc5eb472e245acbf9a7c65540 Mon Sep 17 00:00:00 2001
From: someoneinjd
Date: Thu, 5 Jun 2025 13:51:40 +0800
Subject: [PATCH] [clangd] Implement LSP 3.17 positionEncoding
---
clang-tools-
@@ -497,6 +497,12 @@ bool fromJSON(const llvm::json::Value &Params,
ClientCapabilities &R,
if (auto Cancel = StaleRequestSupport->getBoolean("cancel"))
R.CancelsStaleRequests = *Cancel;
}
+if (auto *OffsetEncoding = General->get("positionEncodings")) {
+
https://github.com/someoneinjd updated
https://github.com/llvm/llvm-project/pull/142903
>From 396f36808ef2b5eee28d963bad1afba1eb4f927a Mon Sep 17 00:00:00 2001
From: someoneinjd
Date: Thu, 5 Jun 2025 13:51:40 +0800
Subject: [PATCH] [clangd] Implement LSP 3.17 positionEncoding
---
clang-tools-
kadircet wrote:
hi @nathanchance, I can't seem to reproduce the failure, and I couldn't find
any buildbots with this failure (also the assertion you're seeing conceptually
shouldn't be triggered by state in diagnostics engine). I am not sure how to
proceed here but can you at least verify if t
@@ -4272,6 +4272,12 @@ def MoveIfNsoexcept : CxxLibBuiltin<"utility"> {
let Namespace = "std";
}
+def Invoke : Builtin {
+ let Spellings = ["__builtin_invoke"];
+ let Attributes = [CustomTypeChecking, Constexpr];
tbaederr wrote:
There are no changes to `E
https://github.com/vitor1001 updated
https://github.com/llvm/llvm-project/pull/143664
>From 079672a23dd5ef832f4fa9b974b3b23b2b48a207 Mon Sep 17 00:00:00 2001
From: Vitor Sessak
Date: Wed, 11 Jun 2025 08:21:48 +
Subject: [PATCH] Add missing intrinsics to cuda headers.
LLVM prevents the sm_3
dmpolukhin wrote:
@vbvictor please take another look, all comments resolved.
https://github.com/llvm/llvm-project/pull/140912
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4041,7 +4133,8 @@ void CodeGenFunction::EmitUnreachable(SourceLocation Loc)
{
void CodeGenFunction::EmitTrapCheck(llvm::Value *Checked,
SanitizerHandler CheckHandlerID,
-bool NoMerge) {
+
https://github.com/Michael137 edited
https://github.com/llvm/llvm-project/pull/143758
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vitor1001 wrote:
Thanks, good suggestions, all done.
https://github.com/llvm/llvm-project/pull/143664
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4051,6 +4144,14 @@ void CodeGenFunction::EmitTrapCheck(llvm::Value *Checked,
llvm::BasicBlock *&TrapBB = TrapBBs[CheckHandlerID];
+ llvm::DILocation *TrapLocation = Builder.getCurrentDebugLocation();
+ llvm::StringRef Category = GetTrapMessageForHandler(CheckHandlerID
https://github.com/Michael137 edited
https://github.com/llvm/llvm-project/pull/143758
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,16 @@
+// RUN: %clang -O0 -g -debug-info-kind=standalone -dwarf-version=5
-fsanitize=undefined \
+// RUN: -fsanitize-trap=undefined -emit-llvm -S -c %s -o - | FileCheck %s
+
+void target() { }
+
+int function_type_mismatch() {
+int (*fp_int)(int);
+
+fp_int = (
smithp35 wrote:
> Thanks @smithp35 for your solution! I would like to kindly ask for your
> expertise in reviewing the following code, which implements backend support
> for -mlong-calls on AArch64 targets. It might not need to be merged, just
> considering it as an optional approach.
Thank yo
@@ -110,56 +145,113 @@ static std::string computeBaseSysRoot(const Driver &D,
bool IncludeTriple) {
return std::string(SysRootDir);
}
-BareMetal::BareMetal(const Driver &D, const llvm::Triple &Triple,
- const ArgList &Args)
-: ToolChain(D, Triple, Ar
https://github.com/dmpolukhin edited
https://github.com/llvm/llvm-project/pull/140912
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,65 @@
+// RUN: %check_clang_tidy -std=c++20-or-later %s
performance-unnecessary-value-param %t -- -fix-errors
dmpolukhin wrote:
I prefer to have 3 command to also test the default value for the flag.
https://github.com/llvm/llvm-project/pull/140912
_
@@ -63,7 +65,11 @@ void
UnnecessaryValueParamCheck::registerMatchers(MatchFinder *Finder) {
Finder->addMatcher(
traverse(
TK_AsIs,
- functionDecl(hasBody(stmt()), isDefinition(), unless(isImplicit()),
+ functionDecl(hasBody(IsAllowedInCorout
https://github.com/smithp35 approved this pull request.
I've rechecked the toolchain with the latest change and I can now build with
`--target=arm-none-eabi -march=armv7-m` with a GCC toolchain in
`/usr/lib/arm-none-eabi`
Putting the approve back on.
https://github.com/llvm/llvm-project/pul
@@ -164,6 +164,53 @@ int Test2(MyConstChar* A) {
return sum;
}
+struct A {
+ int array[10];
+};
+
+struct B {
+ struct A a;
+};
+
+void loop_access_elements(int num, struct B b) {
+struct A arr[10];
+char buf[20];
+
+// CHECK-MESSAGES: :[[@LINE+1]]:5: warning:
@@ -353,6 +367,19 @@ void SizeofExpressionCheck::check(const
MatchFinder::MatchResult &Result) {
diag(E->getBeginLoc(),
"suspicious usage of 'sizeof(char*)'; do you mean 'strlen'?")
<< E->getSourceRange();
+ } else if (const auto *E = Result.Nodes.getNode
wangpc-pp wrote:
Not related to this PR, but I'd like to raise the question here:
For configurable cores, what is the best way to specify the features? `-mcpu`
is meant to support the base configuration, but how can we specify the
additional optional extensions? Apparently, failing back to `-m
https://github.com/vbvictor deleted
https://github.com/llvm/llvm-project/pull/143205
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vbvictor deleted
https://github.com/llvm/llvm-project/pull/143205
___
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/143205
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vbvictor deleted
https://github.com/llvm/llvm-project/pull/143205
___
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/140912
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vbvictor approved this pull request.
LGTM, with minor suggestions
https://github.com/llvm/llvm-project/pull/140912
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,65 @@
+// RUN: %check_clang_tidy -std=c++20-or-later %s
performance-unnecessary-value-param %t -- -fix-errors
vbvictor wrote:
Do we need to have all 3 run commands? I suppose only 2 are needed, for
`Coroutines = true` and `Coroutines = false`
https:
Author: Sirui Mu
Date: 2025-06-13T16:47:56+08:00
New Revision: 8ba62fdb3d2da2f5f199ee7a07222620a451293f
URL:
https://github.com/llvm/llvm-project/commit/8ba62fdb3d2da2f5f199ee7a07222620a451293f
DIFF:
https://github.com/llvm/llvm-project/commit/8ba62fdb3d2da2f5f199ee7a07222620a451293f.diff
LOG:
https://github.com/Lancern closed
https://github.com/llvm/llvm-project/pull/143377
___
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/140571
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
AaronBallman wrote:
These changes are no longer necessary after
9eef4d1c5fa6b1bcbbe675c14ca8301d5d346f7b so closing the PR
https://github.com/llvm/llvm-project/pull/140571
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/
marcogmaia wrote:
Ping
https://github.com/llvm/llvm-project/pull/139348
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ArcsinX updated
https://github.com/llvm/llvm-project/pull/140356
>From 382ac0f0147cfefef9ef1e9b4745178c0b001e00 Mon Sep 17 00:00:00 2001
From: Aleksandr Platonov
Date: Sat, 17 May 2025 08:05:21 +0300
Subject: [PATCH] [clangd] Collect references in array designators
---
clan
AaronBallman wrote:
What is being fixed here? We already issue a diagnostic:
https://godbolt.org/z/EsYaM
https://github.com/llvm/llvm-project/pull/143492
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailma
@@ -63,7 +65,11 @@ void
UnnecessaryValueParamCheck::registerMatchers(MatchFinder *Finder) {
Finder->addMatcher(
traverse(
TK_AsIs,
- functionDecl(hasBody(stmt()), isDefinition(), unless(isImplicit()),
+ functionDecl(hasBody(IsAllowedInCorout
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/140912
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -63,7 +65,11 @@ void
UnnecessaryValueParamCheck::registerMatchers(MatchFinder *Finder) {
Finder->addMatcher(
traverse(
TK_AsIs,
- functionDecl(hasBody(stmt()), isDefinition(), unless(isImplicit()),
+ functionDecl(hasBody(IsAllowedInCorout
https://github.com/ArcsinX updated
https://github.com/llvm/llvm-project/pull/140356
>From 516384ea52abe3409b0e8340a73d7395f19b9bf5 Mon Sep 17 00:00:00 2001
From: Aleksandr Platonov
Date: Fri, 13 Jun 2025 14:23:51 +0300
Subject: [PATCH] [clangd] Collect references in array designators
---
clan
Author: Aaron Ballman
Date: 2025-06-13T07:12:41-04:00
New Revision: 30725efe671bc82bf9095a575aece60fc40fbef5
URL:
https://github.com/llvm/llvm-project/commit/30725efe671bc82bf9095a575aece60fc40fbef5
DIFF:
https://github.com/llvm/llvm-project/commit/30725efe671bc82bf9095a575aece60fc40fbef5.diff
mikaelholmen wrote:
Hi @egorshamshura and @cor3ntin
It seems like a bunch of libc++ testcases start failing with this patch:
```
Failed Tests (9):
llvm-libc++-shared.cfg.in :: libcxx/selftest/dsl/dsl.sh.py
llvm-libc++-shared.cfg.in ::
libcxx/utilities/expected/expected.expected/and_then.man
vbvictor wrote:
Thank you for your long and detailed answer! Indeed, the check can benefit a
lot from path-sensitive analysis:
- Easier traversing with less boilerplate code.
- Easier handling of edge-cases like struct fields and unions, support of local
variables.
- Fewer false-positives with
@@ -832,10 +832,13 @@ StmtResult Parser::ParseCaseStatement(ParsedStmtContext
StmtCtx,
<< "'case'" << tok::colon
<< FixItHint::CreateReplacement(ColonLoc, ":");
} else {
- SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation);
+
@@ -832,10 +832,13 @@ StmtResult Parser::ParseCaseStatement(ParsedStmtContext
StmtCtx,
<< "'case'" << tok::colon
<< FixItHint::CreateReplacement(ColonLoc, ":");
} else {
- SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation);
+
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
Author: Jim Lin (tclin914)
Changes
vrgatherei16, vslideup and vslidedown should be supported with fp16 type for
Zvfhmin.
Fixes https://github.com/llvm/llvm-project/issues/143975.
---
Full diff: https://github.com/llvm/llvm-project/pull/
https://github.com/tclin914 created
https://github.com/llvm/llvm-project/pull/144063
vrgatherei16, vslideup and vslidedown should be supported with fp16 type for
Zvfhmin.
Fixes https://github.com/llvm/llvm-project/issues/143975.
>From 2efc3784e8a253c5e6c4737d11758a5597a8cff2 Mon Sep 17 00:00:
@@ -832,10 +832,13 @@ StmtResult Parser::ParseCaseStatement(ParsedStmtContext
StmtCtx,
<< "'case'" << tok::colon
<< FixItHint::CreateReplacement(ColonLoc, ":");
} else {
- SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation);
+
@@ -84,6 +84,8 @@ class FrontendAction {
/// \return True on success; on failure ExecutionAction() and
/// EndSourceFileAction() will not be called.
virtual bool BeginSourceFileAction(CompilerInstance &CI) {
+if (CurrentInput.isPreprocessed())
+ CI.getPreprocesso
https://github.com/ArcsinX updated
https://github.com/llvm/llvm-project/pull/140356
>From c4431805e366c7b22afaf36f4dadbdb317faee59 Mon Sep 17 00:00:00 2001
From: Aleksandr Platonov
Date: Fri, 13 Jun 2025 14:23:51 +0300
Subject: [PATCH] [clangd] Collect references in array designators
---
clan
kadircet wrote:
ok so I did a little more investigation here, and tl;dr is:
- LLVM's target registry mechanism relies on static initialization of variables
by the main driver program (usually clang driver takes care of this for real
world runs).
- There are some tests (especially the ones that
kadircet wrote:
hi folks, this change triggered some other failures in a distance, you can see
detailed analysis in
https://github.com/llvm/llvm-project/pull/143695#issuecomment-2970691063.
but tl;dr; LLVM shares some state throughout a process. This isn't something
new with this change, unit
https://github.com/snarang181 updated
https://github.com/llvm/llvm-project/pull/143722
>From e96c9c940bbfaf9da752c3537ea8bd023b8b15aa Mon Sep 17 00:00:00 2001
From: Samarth Narang
Date: Mon, 2 Jun 2025 19:30:39 -0400
Subject: [PATCH 1/2] Add std layout diagnostics Add diagnostic test cases
---
https://github.com/anchuraj updated
https://github.com/llvm/llvm-project/pull/143769
>From c9b65080c1301c46b05fddc1278eaf2817963cb9 Mon Sep 17 00:00:00 2001
From: Anchu Rajendran
Date: Wed, 4 Jun 2025 15:12:49 -0500
Subject: [PATCH 1/4] [flang][flang-driver] atomic control support
---
clang/i
https://github.com/pizzud updated
https://github.com/llvm/llvm-project/pull/67467
>From 04a3e8d8cbd6943f44a81fddb0524902202a1a78 Mon Sep 17 00:00:00 2001
From: David Pizzuto
Date: Tue, 26 Sep 2023 10:45:42 -0700
Subject: [PATCH 01/12] [clang-tidy] Add bugprone-move-shared-pointer-contents
chec
https://github.com/anchuraj edited
https://github.com/llvm/llvm-project/pull/143769
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -5243,7 +5281,9 @@ static bool EvaluateVarDecl(EvalInfo &Info, const VarDecl
*VD) {
if (InitE->isValueDependent())
return false;
- if (!EvaluateInPlace(Val, Info, Result, InitE)) {
+ if (VD->getType()->isReferenceType()) {
AaronBallman wrote:
So a
@@ -1540,6 +1540,7 @@ static bool isModification(AccessKinds AK) {
case AK_DynamicCast:
case AK_TypeId:
case AK_IsWithinLifetime:
+ case AK_ReferenceInitialization:
AaronBallman wrote:
Why is initialization not considered a modification but construction
AaronBallman wrote:
CC @egorshamshura as the original patch author.
https://github.com/llvm/llvm-project/pull/144127
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman approved this pull request.
LGTM! Thanks for the revert
https://github.com/llvm/llvm-project/pull/144127
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
a-tarasyuk wrote:
> Ohh, you beat me by a minute. 😆 I suppose
> https://github.com/llvm/llvm-project/pull/144069 could be closed then.
You can copy the tests/changes from this PR into yours — I'll close this one.
https://github.com/llvm/llvm-project/pull/144068
https://github.com/Fznamznon approved this pull request.
https://github.com/llvm/llvm-project/pull/144068
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Devon Loehr
Date: 2025-06-13T10:29:42-04:00
New Revision: 9670e09d0eac596fba6bf03ef1a6f3229dddee46
URL:
https://github.com/llvm/llvm-project/commit/9670e09d0eac596fba6bf03ef1a6f3229dddee46
DIFF:
https://github.com/llvm/llvm-project/commit/9670e09d0eac596fba6bf03ef1a6f3229dddee46.diff
L
https://github.com/DKLoehr closed
https://github.com/llvm/llvm-project/pull/143537
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tomtor updated
https://github.com/llvm/llvm-project/pull/143914
>From 3e070f4aa1e105a4f5b486b662e481195a0a4608 Mon Sep 17 00:00:00 2001
From: Tom Vijlbrief
Date: Thu, 12 Jun 2025 16:59:46 +0200
Subject: [PATCH 1/3] Add support for many new AVR mcus like AVR128DB28
---
clang
vbvictor wrote:
Ping
https://github.com/llvm/llvm-project/pull/141304
___
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 `lld-x86_64-ubuntu-fast`
running on `as-builder-4` while building `clang,llvm` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/33/builds/18240
Here is th
https://github.com/andykaylor closed
https://github.com/llvm/llvm-project/pull/144004
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Andy Kaylor
Date: 2025-06-13T09:42:58-07:00
New Revision: 36c710c40e8a59f74f56eb0e04e438cec5532ec5
URL:
https://github.com/llvm/llvm-project/commit/36c710c40e8a59f74f56eb0e04e438cec5532ec5
DIFF:
https://github.com/llvm/llvm-project/commit/36c710c40e8a59f74f56eb0e04e438cec5532ec5.diff
L
https://github.com/OCHyams created
https://github.com/llvm/llvm-project/pull/144115
Once #144104 lands the flag is true by default (because each DISubprogram will
track whether or not it's using key instructions).
>From 748d6d5a7c53b21e6fe1170a8c0793e91196a507 Mon Sep 17 00:00:00 2001
From: Or
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Orlando Cazalet-Hyams (OCHyams)
Changes
Once #144104 lands the flag is true by default (because each
DISubprogram will track whether or not it's using key instructions).
---
Full diff: https://github.com/llvm/llvm-project/pull/144115.diff
@@ -237,6 +237,266 @@ TLI_DEFINE_VECFUNC("llvm.log.f64", "_ZGVdN4v_log",
FIXED(4), "_ZGV_LLVM_N4v")
TLI_DEFINE_VECFUNC("llvm.log.f32", "_ZGVbN4v_logf", FIXED(4), "_ZGV_LLVM_N4v")
TLI_DEFINE_VECFUNC("llvm.log.f32", "_ZGVdN8v_logf", FIXED(8), "_ZGV_LLVM_N8v")
+#elif defined(TLI
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
Stop looking for function decls after hitting a BK_BracedInit l_brace.
Fixes #144057.
---
Full diff: https://github.com/llvm/llvm-project/pull/144095.diff
2 Files Affected:
- (modified) clang/lib/Format
@@ -8,6 +8,12 @@ if (HAS_WERROR_GLOBAL_CTORS AND NOT
LLVM_HAS_NOGLOBAL_CTOR_MUTEX)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=global-constructors")
endif()
+set(LLVM_TARGET_DEFINITIONS ${LLVM_MAIN_SRC_DIR}/lib/Target/PowerPC/PPC.td)
+
+tablegen(LLVM PPCGenSubtargetInfo
Author: FYK
Date: 2025-06-13T12:05:16-06:00
New Revision: 52d34865b9db3485c8a671a88cc571270349f720
URL:
https://github.com/llvm/llvm-project/commit/52d34865b9db3485c8a671a88cc571270349f720
DIFF:
https://github.com/llvm/llvm-project/commit/52d34865b9db3485c8a671a88cc571270349f720.diff
LOG: Fix
https://github.com/tarunprabhu closed
https://github.com/llvm/llvm-project/pull/142892
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,15 @@
+// RUN: clang-reorder-fields -record-name ::bar::Foo -fields-order y,x %s -- |
FileCheck %s
+
+namespace bar {
+
+#define DEFINE_FIELDS
+
+// This is okay to reorder.
+struct Foo {
+#ifdef DEFINE_FIELDS // CHECK: {{^#ifdef DEFINE_FIELDS}}
+ int y;
legrosbuffle wrote:
Not a big deal, but note for next time: we don't do force push to avoid losing
context
(https://llvm.org/docs/GitHub.html#rebasing-pull-requests-and-force-pushes)
https://github.com/llvm/llvm-project/pull/142149
___
cfe-commits m
a-tarasyuk wrote:
@rkirsling, this test does not verify the fix
https://github.com/llvm/llvm-project/pull/144069/files#diff-b87b117875d2e75dc1ef39535756591a688853bbeb7f83e5b4df6bafca111fa0R239-R241
[switch-recovery.cpp](https://github.com/llvm/llvm-project/blob/cf6ae065a042aae6324b28e99628c40bc
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/143667
>From 83d2fe6d4fb870e816e6576636864f50586fe37a Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Mon, 9 Jun 2025 17:22:06 +0200
Subject: [PATCH 1/4] [Clang] Diagnose forming references to nullptr
Per [decl.r
https://github.com/rkirsling updated
https://github.com/llvm/llvm-project/pull/144069
>From be121c500684e971ad696be8d53db732665d851c Mon Sep 17 00:00:00 2001
From: Ross Kirsling
Date: Fri, 13 Jun 2025 21:51:25 +0900
Subject: [PATCH 1/3] [Clang] Fix fix-it hint regression from #143460
`:` began
@@ -0,0 +1,728 @@
+#include "clang/Analysis/Analyses/LifetimeSafety.h"
+#include "clang/AST/Decl.h"
+#include "clang/AST/Expr.h"
+#include "clang/AST/StmtVisitor.h"
+#include "clang/AST/Type.h"
+#include "clang/Analysis/AnalysisDeclContext.h"
+#include "clang/Analysis/CFG.h"
+#inc
@@ -0,0 +1,728 @@
+#include "clang/Analysis/Analyses/LifetimeSafety.h"
+#include "clang/AST/Decl.h"
+#include "clang/AST/Expr.h"
+#include "clang/AST/StmtVisitor.h"
+#include "clang/AST/Type.h"
+#include "clang/Analysis/AnalysisDeclContext.h"
+#include "clang/Analysis/CFG.h"
+#inc
1 - 100 of 330 matches
Mail list logo