https://github.com/vitalybuka created
https://github.com/llvm/llvm-project/pull/128386
This reverts commit 0fe8e70c6609ff86cd40fbb45a85a8ed04c153c2.
>From 37bc44832ab10781b467c9b4a9e62af594305534 Mon Sep 17 00:00:00 2001
From: Icohedron
Date: Sat, 22 Feb 2025 17:38:18 -0800
Subject: [PATCH] =
llvmbot wrote:
@llvm/pr-subscribers-hlsl
@llvm/pr-subscribers-clang
Author: Vitaly Buka (vitalybuka)
Changes
This reverts commit 0fe8e70c6609ff86cd40fbb45a85a8ed04c153c2.
---
Patch is 30.02 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/12838
@@ -1,6 +1,5 @@
-; RUN: not llc -verify-machineinstrs -O0 -mtriple=spirv64-unknown-unknown %s
-o /dev/null 2>&1 | FileCheck %s
-; RUN: not llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown %s
-o /dev/null 2>&1 | FileCheck %s
-; UNSUPPORTED: hwasan
+; RUN: not llc -v
https://github.com/vitalybuka converted_to_draft
https://github.com/llvm/llvm-project/pull/128386
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vitalybuka approved this pull request.
LGTM regarding previous HWASAN crash, which is gone
https://github.com/llvm/llvm-project/pull/125599
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mail
HighCommander4 wrote:
> I take a look briefly about `HeuristicResolver`, it looks like not related to
> other Sema parts. Is it possible to move the whole `HeuristicResolver` out of
> `Sema` lib to `AST`?
In future enhancements to `HeuristicResolver`, I would like to implement
optional heuris
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: David Rivera (RiverDave)
Changes
This PR aims to fix `performance-move-const-arg` #126515
## Changes
Enhanced the `performance-move-arg` check in Clang-Tidy to detect cases where
std::move is used
in **ternary expressions whi
https://github.com/RiverDave created
https://github.com/llvm/llvm-project/pull/128402
This PR aims to fix `performance-move-const-arg` #126515
## Changes
Enhanced the `performance-move-arg` check in Clang-Tidy to detect cases where
std::move is used
in **ternary expressions which was not bein
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/RiverDave edited
https://github.com/llvm/llvm-project/pull/128402
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/RiverDave edited
https://github.com/llvm/llvm-project/pull/128402
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1817,7 +1817,7 @@ class TargetLoweringBase {
EVT NewVT) const {
topperc wrote:
Why not move this definition to TargetLowering.cpp? inlining the body of a
virtual function is kind of silly.
https://github.com/llvm/llvm-p
https://github.com/isuckatcs updated
https://github.com/llvm/llvm-project/pull/128265
>From c13cf10fe9f63c4fa361985388ab1ab6c7e55514 Mon Sep 17 00:00:00 2001
From: isuckatcs <65320245+isucka...@users.noreply.github.com>
Date: Mon, 17 Feb 2025 22:50:49 +0100
Subject: [PATCH 1/5] add new check
--
https://github.com/HerrCai0907 created
https://github.com/llvm/llvm-project/pull/128383
Tolerate fix-it breaking compilation when functions is used as pointers.
`isReferencedOutsideOfCallExpr` will visit the whole translate unit for each
matched function decls. It will waste lots of cpu time in
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Congcong Cai (HerrCai0907)
Changes
Tolerate fix-it breaking compilation when functions is used as pointers.
`isReferencedOutsideOfCallExpr` will visit the whole translate unit for each
matched function decls. It will waste lots
HighCommander4 wrote:
> Note: this is the last remaining use of
> `CXXRecordDecl::lookupDependentName()`. I plan to remove it in a follow-up
> patch.
The follow-up patch is https://github.com/llvm/llvm-project/pull/128392.
https://github.com/llvm/llvm-project/pull/128391
_
https://github.com/HighCommander4 created
https://github.com/llvm/llvm-project/pull/128391
The use replaces CXXRecordDecl::lookupDependentName() which HeuristicResolver
aims to supersede.
>From b44bc0bb4772ff503c8d93430331606d2f2356e3 Mon Sep 17 00:00:00 2001
From: Nathan Ridge
Date: Sat, 22
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Nathan Ridge (HighCommander4)
Changes
The use replaces CXXRecordDecl::lookupDependentName() which HeuristicResolver
aims to supersede.
---
Full diff: https://github.com/llvm/llvm-project/pull/128391.diff
4 Files Affected:
- (modified)
HighCommander4 wrote:
Note: this is the last remaining use of `CXXRecordDecl::lookupDependentName()`.
I plan to remove it in a follow-up patch.
https://github.com/llvm/llvm-project/pull/128391
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
ht
https://github.com/nikic approved this pull request.
https://github.com/llvm/llvm-project/pull/128297
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vbvictor wrote:
@PiotrZSL, @denzor200
I think we should provide 100% valid fix-its for default `SmartPointers`. That
will be `std::shared_ptr`, `std::unique_ptr`, `boost::shared_ptr`. I created a
note in docs that warns users about inconvenience that can happen when
non-default smart pointers
@@ -862,13 +862,12 @@ void tools::addLTOOptions(const ToolChain &ToolChain,
const ArgList &Args,
const llvm::Triple &Triple = ToolChain.getTriple();
thevinster wrote:
I can restore the original behavior on the linker path plus the additional
check on -fuse-l
https://github.com/ur4t updated https://github.com/llvm/llvm-project/pull/65451
>From 1555d9e1af70b87885e2ae060bf7215f12cbdf89 Mon Sep 17 00:00:00 2001
From: ur4t
Date: Sat, 22 Feb 2025 17:34:22 +0800
Subject: [PATCH 1/2] [llvm][CMake] Fix llvm shared library when using ninja
multi config
---
ur4t wrote:
@MaskRay I have unselected the hidden email feature and updated the branch. Is
it necessary to reset email of my old commits?
https://github.com/llvm/llvm-project/pull/65451
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://l
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -x c -ffreestanding %s -triple=x86_64-apple-darwin
-target-feature +lzcnt -emit-llvm -o - | FileCheck %s
-// RUN: %clang_cc1 -x c++ -std=c++11 -ffreestanding %s
-triple=x86_64-apple-darwin -target-feature +lzcnt -emit-llvm -o - | FileCheck
%s
Author: Devon Loehr
Date: 2025-02-22T16:46:08+08:00
New Revision: bac4171073399352e5bd0ba541820e2a9b3f37d7
URL:
https://github.com/llvm/llvm-project/commit/bac4171073399352e5bd0ba541820e2a9b3f37d7
DIFF:
https://github.com/llvm/llvm-project/commit/bac4171073399352e5bd0ba541820e2a9b3f37d7.diff
L
https://github.com/steakhal created
https://github.com/llvm/llvm-project/pull/128352
Fixes https://github.com/llvm/llvm-project/pull/125508#discussion_r1965038954
>From ff647449a2eb0c5ac4930e86e53c02a04ac78ec3 Mon Sep 17 00:00:00 2001
From: Balazs Benics
Date: Sat, 22 Feb 2025 12:40:31 +0100
S
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Balazs Benics (steakhal)
Changes
Fixes https://github.com/llvm/llvm-project/pull/125508#discussion_r1965038954
---
Full diff: https://github.com/llvm/llvm-project/pull/128352.diff
2 Files Affected:
- (modified) clang/l
steakhal wrote:
@necto
https://github.com/llvm/llvm-project/pull/128352
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -14,6 +14,12 @@
#include "hip/hip_version.h"
#endif // __has_include("hip/hip_version.h")
+#ifdef __SPIRV__
+#define __PRIVATE_AS __attribute__((address_space(0)))
arsenm wrote:
Using opencl_private is the simpler fix. You are calling code declared and
de
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Baranov Victor (vbvictor)
Changes
Unify doc style for options that use `true` or `false` as default values.
---
Full diff: https://github.com/llvm/llvm-project/pull/128362.diff
3 Files Affected:
- (modified)
clang-tools-ext
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Baranov Victor (vbvictor)
Changes
Unify doc style for options that use `true` or `false` as default values.
---
Full diff: https://github.com/llvm/llvm-project/pull/128362.diff
3 Files Affected:
- (modified)
clang-tools-extra/docs
https://github.com/vbvictor created
https://github.com/llvm/llvm-project/pull/128362
Unify doc style for options that use `true` or `false` as default values.
>From 41807b8f379a19714fb89b2f13bc3af389c44ac0 Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Sat, 22 Feb 2025 17:26:52 +0300
Subj
vbvictor wrote:
@EugeneZelenko @HerrCai0907, Small change to docs of some checks.
https://github.com/llvm/llvm-project/pull/128362
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,84 @@
+// RUN: %check_clang_tidy %s readability-use-numeric-limits %t
+#include
+
+void constants() {
+ // CHECK-MESSAGES: :[[@LINE+2]]:14: warning: The constant -128 is being
utilized. Consider using std::numeric_limits::min() instead
[readability-use-numeric-limit
https://github.com/EugeneZelenko approved this pull request.
https://github.com/llvm/llvm-project/pull/128362
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jroimartin created
https://github.com/llvm/llvm-project/pull/128385
This is a follow-up to commit f69110dcc973 ("Check for a 'buffer' type instead
of 'buffer-live'.").
In Emacs 29, 'buffer-live' is no longer recognized as a type and generates a
compilation warning. Every f
@@ -1101,6 +1107,187 @@ inline void FPOptions::applyChanges(FPOptionsOverride
FPO) {
*this = FPO.applyOverrides(*this);
}
+// The three atomic code-generation options.
+// The canonical (positive) names are:
+// "remote_memory", "fine_grained_memory", and "ignore_denormal
https://github.com/HerrCai0907 approved this pull request.
LGTM as temporary solution
But clang-tidy actually do not want to reply on `Sema`. I take a look briefly
about `HeuristicResolver`, it looks like not related to other Sema parts.
Is it possible to move the whole `HeuristicResolver` out
https://github.com/isuckatcs updated
https://github.com/llvm/llvm-project/pull/128265
>From c13cf10fe9f63c4fa361985388ab1ab6c7e55514 Mon Sep 17 00:00:00 2001
From: isuckatcs <65320245+isucka...@users.noreply.github.com>
Date: Mon, 17 Feb 2025 22:50:49 +0100
Subject: [PATCH 1/5] add new check
--
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`clang-cmake-x86_64-avx512-win` running on `avx512-intel64-win` while building
`clang` at step 6 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/81/builds/5023
Here is the relevant pi
@@ -867,18 +868,18 @@ ProgramStateRef createContainerBegin(ProgramStateRef
State,
return setContainerData(State, Cont, CData);
}
-ProgramStateRef createContainerEnd(ProgramStateRef State, const MemRegion
*Cont,
- const Expr *E, QualType T,
@@ -844,7 +845,7 @@ SymbolRef getContainerEnd(ProgramStateRef State, const
MemRegion *Cont) {
return CDataPtr->getEnd();
}
-ProgramStateRef createContainerBegin(ProgramStateRef State,
+ProgramStateRef createContainerBegin(CheckerContext &C, ProgramStateRef State,
@@ -3668,6 +3668,12 @@ Here are some examples of situations that we warn about
as they *might* be poten
RefCountable* uncounted = counted.get(); // warn
}
+alpha.webkit.UnretainedLocalVarsChecker
+"""
+The goal of this rule is to
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
@@ -332,6 +345,14 @@ class UncheckedCallArgsChecker final : public
RawPtrRefCallArgsChecker {
return isUncheckedPtr(QT);
}
+ bool isSafePtr(const CXXRecordDecl *Record) const final {
+return isRefCounted(Record) || isCheckedPtr(Record);
+ }
+
+ bool isSafePtrType
@@ -111,8 +111,13 @@ class SValExplainer : public
FullSValVisitor {
}
std::string VisitSymbolConjured(const SymbolConjured *S) {
-return "symbol of type '" + S->getType().getAsString() +
- "' conjured at statement '" + printStmt(S->getStmt()) + "'";
+std
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Roi Martin (jroimartin)
Changes
This is a follow-up to commit f69110dcc973 ("Check for a 'buffer' type instead
of 'buffer-live'.").
In Emacs 29, 'buffer-live' is no longer recognized as a type and generates a
compilation warn
https://github.com/HerrCai0907 approved this pull request.
https://github.com/llvm/llvm-project/pull/128362
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Icohedron wrote:
> LGTM regarding previous HWASAN crash, which is gone
Thank you for fixing the issue! I will revert the patches then.
https://github.com/llvm/llvm-project/pull/125599
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lis
https://github.com/thevinster updated
https://github.com/llvm/llvm-project/pull/128285
>From b8d961acfa2bf17486d63de9481ff46445d6b38f Mon Sep 17 00:00:00 2001
From: Vincent Lee
Date: Fri, 21 Feb 2025 20:33:25 -0800
Subject: [PATCH 1/3] [FatLTO] Detect LLD linker more reliably
---
clang/lib/Dr
@@ -0,0 +1,45 @@
+// RUN: %check_clang_tidy -std=c99 %s bugprone-true-macro %t
+// RUN: %check_clang_tidy -std=c11 %s bugprone-true-macro %t
+// RUN: %check_clang_tidy -std=c17 %s bugprone-true-macro %t
steakhal wrote:
I think you should have a RUN line for a cas
vbvictor wrote:
Thanks for fast approval!
@HerrCai0907, Could you merge, please.
https://github.com/llvm/llvm-project/pull/128362
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HerrCai0907 created
https://github.com/llvm/llvm-project/pull/128407
`ArraySubscriptExpr` can switch base and idx. For dependent array subscript
access, we should check both base and idx conservatively.
>From ff265c9f01d68b8657d217ba4ea62b77a5775bb5 Mon Sep 17 00:00:00 2001
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Congcong Cai (HerrCai0907)
Changes
`ArraySubscriptExpr` can switch base and idx. For dependent array subscript
access, we should check both base and idx conservatively.
---
Full diff: https://github.com/llvm/llvm-project/pull/128407.
@@ -14,6 +14,12 @@
#include "hip/hip_version.h"
#endif // __has_include("hip/hip_version.h")
+#ifdef __SPIRV__
+#define __PRIVATE_AS __attribute__((address_space(0)))
arsenm wrote:
Never use numbered address spaces. Unconditionally use
__attribute__((opencl_
https://github.com/HazardyKnusperkeks approved this pull request.
https://github.com/llvm/llvm-project/pull/128287
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
dkolsen-pgi wrote:
I like the idea of changing the assembly format for function types from
`!cir.func` to `!cir.func<(!argType) -> !returnType>`.
That is
1. Easier to parse.
2. Consistent with function types in other MLIR dialects.
3. Consistent with the assembly format for function definition
https://github.com/steakhal created
https://github.com/llvm/llvm-project/pull/128369
Reapply "[analyzer] Delay the checker constructions after parsing" (#128350)
This reverts commit db836edf47f36ed04cab919a7a2c4414f4d0d7e6, as-is.
Depends on #128368
>From 6fd30233a570ace5ccf3f04f649ddd37b
https://github.com/RKSimon approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/128284
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/topperc edited
https://github.com/llvm/llvm-project/pull/128167
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3668,6 +3668,12 @@ Here are some examples of situations that we warn about
as they *might* be poten
RefCountable* uncounted = counted.get(); // warn
}
+alpha.webkit.UnretainedLocalVarsChecker
+"""
+The goal of this rule is to
https://github.com/t-rasmud approved this pull request.
Left some nitpicks. otherwise LGTM.
https://github.com/llvm/llvm-project/pull/127554
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
@@ -862,13 +862,12 @@ void tools::addLTOOptions(const ToolChain &ToolChain,
const ArgList &Args,
const llvm::Triple &Triple = ToolChain.getTriple();
smeenai wrote:
Yeah, I think it's best to keep the old check as well as adding the new one.
https://github.co
steakhal wrote:
FYI C23 introduced the `true` and `false` keywords.
https://github.com/llvm/llvm-project/pull/128265
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/steakhal created
https://github.com/llvm/llvm-project/pull/128368
Well, yes. It's not pretty.
At least after this we would have a bit more unique pointers than before.
This is for fixing the memory leak diagnosed by:
https://lab.llvm.org/buildbot/#/builders/24/builds/5580
An
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Balazs Benics (steakhal)
Changes
Reapply "[analyzer] Delay the checker constructions after parsing" (#128350)
This reverts commit db836edf47f36ed04cab919a7a2c4414f4d0d7e6, as-is.
Depends on #128368
---
Patch is 27.
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Balazs Benics (steakhal)
Changes
Well, yes. It's not pretty.
At least after this we would have a bit more unique pointers than before.
This is for fixing the memory leak diagnosed by:
https://lab.llvm.org/buildbot/#/build
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 db836edf47f36ed04cab919a7a2c4414f4d0d7e6
ea932d93a47e6747f50768fc232d2c9e9375b6da --e
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 db836edf47f36ed04cab919a7a2c4414f4d0d7e6
6fd30233a570ace5ccf3f04f649ddd37bd4149b2 --e
https://github.com/steakhal edited
https://github.com/llvm/llvm-project/pull/128369
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vitalybuka wrote:
Use after scope:
https://lab.llvm.org/buildbot/#/builders/169/builds/8735
https://lab.llvm.org/buildbot/#/builders/94/builds/4653/steps/17/logs/stdio
https://github.com/llvm/llvm-project/pull/123003
___
cfe-commits mailing list
cfe-c
Author: Timm Baeder
Date: 2025-02-22T22:04:44+01:00
New Revision: 6db96c9ecc781c742f546d2863632d44e9c9b435
URL:
https://github.com/llvm/llvm-project/commit/6db96c9ecc781c742f546d2863632d44e9c9b435
DIFF:
https://github.com/llvm/llvm-project/commit/6db96c9ecc781c742f546d2863632d44e9c9b435.diff
L
steakhal wrote:
> Use after scope:
> https://lab.llvm.org/buildbot/#/builders/169/builds/8735
> https://lab.llvm.org/buildbot/#/builders/94/builds/4653/steps/17/logs/stdio
>
Yeey, could you please revert this for me? @vitalybuka
https://github.com/llvm/llvm-project/pull/123003
___
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/128295
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vitalybuka wrote:
Should be fixed with #128372
https://github.com/llvm/llvm-project/pull/123003
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Vitaly Buka (vitalybuka)
Changes
In #123003 make_first_range was applied to temporarily.
---
Full diff: https://github.com/llvm/llvm-project/pull/128372.diff
1 Files Affected:
- (modified) clang/lib/StaticAnalyzer/Che
https://github.com/vitalybuka closed
https://github.com/llvm/llvm-project/pull/128372
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vitalybuka created
https://github.com/llvm/llvm-project/pull/128372
In #123003 make_first_range was applied to temporarily.
>From d3384dec3f6aa0e3d9d6585f8b2553dfcff2d579 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Sat, 22 Feb 2025 13:32:12 -0800
Subject: [PATCH] =?UTF
Author: Vitaly Buka
Date: 2025-02-22T13:33:15-08:00
New Revision: d2616cc3926ec0ac73ec547e04b64e045035bd3c
URL:
https://github.com/llvm/llvm-project/commit/d2616cc3926ec0ac73ec547e04b64e045035bd3c
DIFF:
https://github.com/llvm/llvm-project/commit/d2616cc3926ec0ac73ec547e04b64e045035bd3c.diff
L
steakhal wrote:
Ah, I wish we had C++23 already. That would have fixed this too. Thanks!
https://github.com/llvm/llvm-project/pull/128372
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit
https://github.com/phoebewang closed
https://github.com/llvm/llvm-project/pull/126952
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vbvictor updated
https://github.com/llvm/llvm-project/pull/121291
>From 42e03bb9cc9bd815476b0a3f06ac5f58826e3708 Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Fri, 31 Jan 2025 19:29:05 +0300
Subject: [PATCH 1/8] [clang-tidy] add new check bugprone-reset-ambiguous-call
Author: Kazu Hirata
Date: 2025-02-22T02:09:27-08:00
New Revision: 8f7e34b0af5f15219b9369f6430fc091dbadff6c
URL:
https://github.com/llvm/llvm-project/commit/8f7e34b0af5f15219b9369f6430fc091dbadff6c
DIFF:
https://github.com/llvm/llvm-project/commit/8f7e34b0af5f15219b9369f6430fc091dbadff6c.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/128297
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/steakhal updated
https://github.com/llvm/llvm-project/pull/123003
>From b59b7c783b0d84dfe41cf22875875cde015c1971 Mon Sep 17 00:00:00 2001
From: Michael Flanders
Date: Mon, 13 Jan 2025 12:34:50 -0600
Subject: [PATCH] [analyzer] Allow overriding Unknown memspaces using a
Progr
@@ -0,0 +1,23 @@
+// RUN: %clang_cc1 -std=c++20 -fsyntax-only -ast-dump %s | FileCheck %s
antoniofrighetto wrote:
Added a test in CodeGen too, thanks!
https://github.com/llvm/llvm-project/pull/127824
___
cfe-commits ma
https://github.com/antoniofrighetto edited
https://github.com/llvm/llvm-project/pull/127824
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/antoniofrighetto edited
https://github.com/llvm/llvm-project/pull/127824
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/antoniofrighetto updated
https://github.com/llvm/llvm-project/pull/127824
>From aebd5455e9cf583b9f5a29c68d5217f49c7a49b5 Mon Sep 17 00:00:00 2001
From: Antonio Frighetto
Date: Wed, 19 Feb 2025 16:47:18 +0100
Subject: [PATCH 1/2] [clang][Sema] Propagate qualifiers during deriv
https://github.com/antoniofrighetto updated
https://github.com/llvm/llvm-project/pull/127824
>From aebd5455e9cf583b9f5a29c68d5217f49c7a49b5 Mon Sep 17 00:00:00 2001
From: Antonio Frighetto
Date: Wed, 19 Feb 2025 16:47:18 +0100
Subject: [PATCH 1/2] [clang][Sema] Propagate qualifiers during deriv
@@ -3107,8 +3107,11 @@ Sema::PerformObjectMemberConversion(Expr *From,
/*IgnoreAccess=*/true))
return ExprError();
- return ImpCastExprToType(From, DestType, CK_UncheckedDerivedToBase,
- VK, &BasePath);
+ if (F
@@ -0,0 +1,32 @@
+get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
+get_property(conversion_libs GLOBAL PROPERTY MLIR_CONVERSION_LIBS)
+
+include_directories(${LLVM_MAIN_SRC_DIR}/../mlir/include)
+include_directories(${CMAKE_BINARY_DIR}/tools/mlir/include)
+
+add_clang
@@ -0,0 +1,46 @@
+//===--===//
+//
+// 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/xlauko commented:
LGTM
https://github.com/llvm/llvm-project/pull/128254
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/xlauko edited
https://github.com/llvm/llvm-project/pull/128254
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Balazs Benics
Date: 2025-02-22T10:52:31+01:00
New Revision: f0088ee87cecfb442921251b4a70f96cf3474a15
URL:
https://github.com/llvm/llvm-project/commit/f0088ee87cecfb442921251b4a70f96cf3474a15
DIFF:
https://github.com/llvm/llvm-project/commit/f0088ee87cecfb442921251b4a70f96cf3474a15.diff
https://github.com/steakhal closed
https://github.com/llvm/llvm-project/pull/127409
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: None (isuckatcs)
Changes
In C++, `true` is considered a keyword by the preprocessor so an `#if true`
enters the true branch,
while in C, ``true`` is not treated as a special keyword by the preprocessor,
so the false branch is entered
https://github.com/isuckatcs ready_for_review
https://github.com/llvm/llvm-project/pull/128265
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 163 matches
Mail list logo