zmodem wrote:
Looks very reasonable to me, but it's not really my area. @lhames can you
double check?
https://github.com/llvm/llvm-project/pull/73717
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listin
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Vlad Serebrennikov (Endilll)
Changes
This patch continues the work started with
ea5b1ef016d020c37f903d6c7d4f623be975dab8. See that commit and its corresponding
PR for details.
---
Patch is 54.76 KiB, truncated to 20.00 KiB below, full v
@@ -0,0 +1,13 @@
+//===--- arm_vector_type.td - ARM Fixed vector types compiler interface
---===//
CarolineConcatto wrote:
We need for the file in CMakeLists.txt
lang_generate_header(-gen-arm-vector-type arm_vector_types.td
arm_vector_types.h)
https://github.
@@ -2546,6 +2548,44 @@ void NeonEmitter::runFP16(raw_ostream &OS) {
OS << "#endif /* __ARM_FP16_H */\n";
}
+void NeonEmitter::runVectorType(raw_ostream &OS) {
+ OS << "/*=== arm_vector_type - ARM vector type "
+"--===\n"
+" *\n"
+" *\n"
+
@@ -2546,6 +2548,44 @@ void NeonEmitter::runFP16(raw_ostream &OS) {
OS << "#endif /* __ARM_FP16_H */\n";
}
+void NeonEmitter::runVectorType(raw_ostream &OS) {
+ OS << "/*=== arm_vector_type - ARM vector type "
+"--===\n"
+" *\n"
+" *\n"
+
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Sam Tebbs (SamTebbs33)
Changes
This PR adds a warning that's emitted when a non-streaming or
non-streaming-compatible builtin is called in an unsuitable function.
Uses work by Kerry McLaughlin.
---
Full diff: https://github.com/llvm/llvm
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 9468de48fcd413aa0895a78bd6f1aeb161b39294
f6a990a000b555d7f8ef0b2a99e3fea98420e899 --
john-brawn-arm wrote:
As a result of this commit clang no longer gives an error for
```
template struct X {
enum E { a };
};
template struct Y : X {
Y::E m;
};
```
where gcc (though not msvc) gives an error: https://godbolt.org/z/qGfnzhfsK
https://github.com/llvm/llvm-project/pull/73018
_
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Dinar Temirbulatov (dtemirbulatov)
Changes
Patch by: Kerry McLaughlin
---
Patch is 130.62 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/74066.diff
2 Files Affected
Author: Simon Tatham
Date: 2023-12-01T12:00:18Z
New Revision: 8727982bdfb84ce4adbd138c146a6b7ecaf98fdb
URL:
https://github.com/llvm/llvm-project/commit/8727982bdfb84ce4adbd138c146a6b7ecaf98fdb
DIFF:
https://github.com/llvm/llvm-project/commit/8727982bdfb84ce4adbd138c146a6b7ecaf98fdb.diff
LOG:
https://github.com/CarolineConcatto updated
https://github.com/llvm/llvm-project/pull/73258
>From e0f245e8d6a395afac5de471b55358c7b730a170 Mon Sep 17 00:00:00 2001
From: Caroline Concatto
Date: Wed, 22 Nov 2023 10:03:50 +
Subject: [PATCH 1/3] [Clang][AArch64] Add fix vector types to header
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Daniel Grumberg (daniel-grumberg)
Changes
As part of https://reviews.llvm.org/D154130 the logic of LocationFileChecker
changed slightly to try and get the absolute external file path instead of the
name as requested when the file was open
https://github.com/martinboehme updated
https://github.com/llvm/llvm-project/pull/73860
>From a7138289989afaa1348185e52469d670c316eb45 Mon Sep 17 00:00:00 2001
From: Martin Braenne
Date: Wed, 29 Nov 2023 21:32:55 +
Subject: [PATCH 1/4] [clang][dataflow] Defer initialization of `Environment`
Author: Vlad Serebrennikov
Date: 2023-12-01T17:56:27+04:00
New Revision: 6ab7662f35bb5bc1d19a7e68ec0a710bbf71c2c4
URL:
https://github.com/llvm/llvm-project/commit/6ab7662f35bb5bc1d19a7e68ec0a710bbf71c2c4
DIFF:
https://github.com/llvm/llvm-project/commit/6ab7662f35bb5bc1d19a7e68ec0a710bbf71c2c4.
@@ -492,6 +492,56 @@ transferCFGBlock(const CFGBlock &Block, AnalysisContext
&AC,
return State;
}
+static Environment initializeEnvironment(const Environment &InitEnv) {
martinboehme wrote:
> Why not include this function as part of the Environment API?
G
@@ -492,6 +492,56 @@ transferCFGBlock(const CFGBlock &Block, AnalysisContext
&AC,
return State;
}
+static Environment initializeEnvironment(const Environment &InitEnv) {
+ Environment ResultEnv = InitEnv.fork();
martinboehme wrote:
Now that this code has
@@ -92,11 +96,39 @@ class DataflowAnalysisContext {
/*Logger=*/nullptr});
~DataflowAnalysisContext();
+ /// Sets a callback that returns the names and types of the synthetic fields
+ /// to add to a `RecordStorageLocation` of a given type.
+
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 f1d0276e4c42301155e900424ea734aca7ec97a8
a70de331784f4058f11ab6e01efaa025263bd232 --
@@ -92,11 +96,39 @@ class DataflowAnalysisContext {
/*Logger=*/nullptr});
~DataflowAnalysisContext();
+ /// Sets a callback that returns the names and types of the synthetic fields
+ /// to add to a `RecordStorageLocation` of a given type.
+
@@ -73,7 +73,13 @@ class ScalarStorageLocation final : public StorageLocation {
///
/// Contains storage locations for all modeled fields of the record (also
/// referred to as "children"). The child map is flat, so accessible members of
-/// the base class are directly accesib
@@ -54,6 +54,18 @@ void clang::dataflow::copyRecord(RecordStorageLocation &Src,
}
}
+ for (const auto &[Name, PropLocSrc] : Src.synthetic_fields()) {
+if (PropLocSrc->getType()->isRecordType()) {
+ copyRecord(*cast(PropLocSrc),
+ cast(Dst.getSyn
@@ -92,11 +96,39 @@ class DataflowAnalysisContext {
/*Logger=*/nullptr});
~DataflowAnalysisContext();
+ /// Sets a callback that returns the names and types of the synthetic fields
+ /// to add to a `RecordStorageLocation` of a given type.
+
@@ -88,12 +94,12 @@ class ScalarStorageLocation final : public StorageLocation {
class RecordStorageLocation final : public StorageLocation {
public:
using FieldToLoc = llvm::DenseMap;
+ using SyntheticFieldMap = llvm::StringMap;
martinboehme wrote:
This is
Author: Matthew Devereau
Date: 2023-12-01T14:30:39Z
New Revision: e59a0cd7d80a9f1ab803c4ff7416c77e9a34ed1d
URL:
https://github.com/llvm/llvm-project/commit/e59a0cd7d80a9f1ab803c4ff7416c77e9a34ed1d
DIFF:
https://github.com/llvm/llvm-project/commit/e59a0cd7d80a9f1ab803c4ff7416c77e9a34ed1d.diff
L
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 076ec9f5f5bf03983f43f703e3f9d4600bad9653
5a18e55780467b2a07de60da0b6cc50933a5d2d1 --
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 ff485a0e77a55847cb50768b01c04fe45a6879ea
120bdd51496dd69c601181bccae072effb547920 --
Author: Daniel Grumberg
Date: 2023-12-01T15:54:36Z
New Revision: 14e991740b5425680d49d75336132e793f1315e8
URL:
https://github.com/llvm/llvm-project/commit/14e991740b5425680d49d75336132e793f1315e8
DIFF:
https://github.com/llvm/llvm-project/commit/14e991740b5425680d49d75336132e793f1315e8.diff
LO
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Dinar Temirbulatov (dtemirbulatov)
Changes
Patch by: Kerry McLaughlin
---
Patch is 30.66 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/74100.diff
2 Files Affected:
https://github.com/chrulski-intel updated
https://github.com/llvm/llvm-project/pull/71447
>From c7a15dcfed077f95470eaa5781a24d54fd3c Mon Sep 17 00:00:00 2001
From: chrulski-intel
Date: Mon, 6 Nov 2023 09:39:33 -0800
Subject: [PATCH 1/3] Report pass name when -llvm-verify-each reports breaka
Author: cor3ntin
Date: 2023-12-01T17:44:22+01:00
New Revision: f40d25151c25e257f3ebd2696e0bf133fe2a30ff
URL:
https://github.com/llvm/llvm-project/commit/f40d25151c25e257f3ebd2696e0bf133fe2a30ff
DIFF:
https://github.com/llvm/llvm-project/commit/f40d25151c25e257f3ebd2696e0bf133fe2a30ff.diff
LOG:
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/73103
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lwshanbd updated
https://github.com/llvm/llvm-project/pull/73861
>From 9eb00076c22197f223649b420994176a170a2671 Mon Sep 17 00:00:00 2001
From: Baodi Shan
Date: Wed, 29 Nov 2023 16:26:33 -0500
Subject: [PATCH 1/2] [Clang][OpenMP] Bug #69214 fix
---
clang/lib/CodeGen/CGStmtOp
john-brawn-arm wrote:
I'm not completely sure if we should be giving an error for the example I gave
above. Looking through the C++20 standard I see temp.res paragraph 2:
> A name used in a template declaration or definition and that is dependent on
> a template-parameter is assumed
not to nam
https://github.com/lwshanbd updated
https://github.com/llvm/llvm-project/pull/73861
>From 8396dd8a1343451f786a2391df864636925eb11a Mon Sep 17 00:00:00 2001
From: Baodi Shan
Date: Fri, 1 Dec 2023 11:57:47 -0500
Subject: [PATCH] Update test
---
clang/lib/CodeGen/CGStmtOpenMP.cpp| 2
https://github.com/lwshanbd closed
https://github.com/llvm/llvm-project/pull/73861
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lwshanbd created
https://github.com/llvm/llvm-project/pull/74105
Fix https://github.com/llvm/llvm-project/issues/69214.
In emitOMPSimdRegion, the EmitOMPPrivateLoopCounters should be after
EmitOMPPrivateClause.
>From 8396dd8a1343451f786a2391df864636925eb11a Mon Sep 17 00:00:
https://github.com/elizabethandrews updated
https://github.com/llvm/llvm-project/pull/71706
>From 534fad70af45a6a22ba2d03f474089e896f4fcd6 Mon Sep 17 00:00:00 2001
From: Elizabeth Andrews
Date: Thu, 26 Oct 2023 08:53:54 -0700
Subject: [PATCH 1/3] [Clang] Fix linker error for function multivers
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Nikolas Klauser (philnik777)
Changes
I've come across this while working on implementing lambdas in C++03.
---
Full diff: https://github.com/llvm/llvm-project/pull/74110.diff
2 Files Affected:
- (modified) clang/lib/AST/DeclCXX.cpp (+3
elizabethandrews wrote:
> > I requested some minor changes.
> > Can we document the `.ifunc` symbols as a deprecated feature? With this
> > change, they will never be referenced except by code compiled by older
> > compiler versions. Maybe plan to deprecate them a year from now?
>
> How/where
elizabethandrews wrote:
Hmm the build fails with:
⚠️ Warning: Checkout failed! checking out commit
"af600cbf98ce1bf55c51ef88ddf94cd9114181c2": exit status 128 (Attempt 3/3)
🚨 Error: checking out commit "af600cbf98ce1bf55c51ef88ddf94cd9114181c2": exit
status 128
Would anyone happen to know
https://github.com/Logikable updated
https://github.com/llvm/llvm-project/pull/73176
>From 5d4b6cac10d84bf8bf76d50730fdd5ef65261076 Mon Sep 17 00:00:00 2001
From: Sean Luchen
Date: Fri, 17 Nov 2023 17:29:52 +
Subject: [PATCH] [clang][CodeGen] Emit atomic IR instead of libcalls for
misalign
https://github.com/lwshanbd updated
https://github.com/llvm/llvm-project/pull/74105
>From 8396dd8a1343451f786a2391df864636925eb11a Mon Sep 17 00:00:00 2001
From: Baodi Shan
Date: Fri, 1 Dec 2023 11:57:47 -0500
Subject: [PATCH 1/2] Update test
---
clang/lib/CodeGen/CGStmtOpenMP.cpp
llvmbot wrote:
@llvm/pr-subscribers-flang-driver
@llvm/pr-subscribers-clang-driver
Author: Tom Eccles (tblah)
Changes
Reverts llvm/llvm-project#73124
This caused a regression building programs which implement `main()` in C and
then call into some Fortran code, and which link using `flang
https://github.com/lwshanbd edited
https://github.com/llvm/llvm-project/pull/74105
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lwshanbd ready_for_review
https://github.com/llvm/llvm-project/pull/74105
___
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-codegen
Author: Baodi (lwshanbd)
Changes
Fix #69214
In `emitOMPSimdRegion`, the `EmitOMPPrivateLoopCounters` should be after
`EmitOMPPrivateClause`.
---
Patch is 266.43 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/l
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Baodi (lwshanbd)
Changes
Fix #69214
In `emitOMPSimdRegion`, the `EmitOMPPrivateLoopCounters` should be after
`EmitOMPPrivateClause`.
---
Patch is 266.41 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-proj
https://github.com/lwshanbd edited
https://github.com/llvm/llvm-project/pull/74105
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lwshanbd edited
https://github.com/llvm/llvm-project/pull/74105
___
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
Author: Artem Belevich (Artem-B)
Changes
https://github.com/llvm/llvm-project/pull/73838
---
Full diff: https://github.com/llvm/llvm-project/pull/74123.diff
3 Files Affected:
- (modified) clang/lib/Headers/CMakeLists.txt (+2)
- (added) clang/l
https://github.com/lwshanbd edited
https://github.com/llvm/llvm-project/pull/74105
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lwshanbd edited
https://github.com/llvm/llvm-project/pull/74105
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lwshanbd edited
https://github.com/llvm/llvm-project/pull/74105
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
chrulski-intel wrote:
@aeubanks Thanks for merging this.
https://github.com/llvm/llvm-project/pull/71447
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Philip Reames
Date: 2023-12-01T11:00:59-08:00
New Revision: e81796671890b59c110f8e41adc7ca26f8484d20
URL:
https://github.com/llvm/llvm-project/commit/e81796671890b59c110f8e41adc7ca26f8484d20
DIFF:
https://github.com/llvm/llvm-project/commit/e81796671890b59c110f8e41adc7ca26f8484d20.diff
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 ca2d79f9cad48b7165bf81a7cc24b67f277915f1
3f82059172f7e9020ff14e41063208c6d67b7cce --
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/74110
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin commented:
The tests changes look mostly unrelated to this PR
https://github.com/llvm/llvm-project/pull/74110
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit
@@ -286,7 +286,33 @@
clang::analyze_format_string::ParseLengthModifier(FormatSpecifier &FS,
lmKind = LengthModifier::AsInt3264;
break;
case 'w':
- lmKind = LengthModifier::AsWide; ++I; break;
+ ++I;
+ if (I == E) return false;
+ if (*I == 'f
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-driver
Author: Michael Klemm (mjklemm)
Changes
This is related to PR #74120 and (merged) PR #73124.
This PR adds the `-fno-fortran-main` command line option to remove
`Fortran_main.a` from the link and to allow for link
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 1f8f9e3163f6367258281f50b9d0492855c996e8
44b684ae43a6da37bb56c5b699628c6807257ad9 --
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Piotr Zegar (PiotrZSL)
Changes
Added support for size-like method returning signed type, and corrected false
positive caused by always-false check for size bellow zero.
Closes #72619
---
Full diff: https://github.com/llvm/llvm-proje
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-static-analyzer-1
Author: None (DonatNagyE)
Changes
This commit extends the class `SValBuilder` with the methods `getMinValue()`
and `getMaxValue()` to that work like `SValBuilder::getKnownValue()` but return
the minima
Author: Yaxun (Sam) Liu
Date: 2023-12-01T16:22:16-05:00
New Revision: a4d85490e029e797d22881b37d476c2050d0d6a2
URL:
https://github.com/llvm/llvm-project/commit/a4d85490e029e797d22881b37d476c2050d0d6a2
DIFF:
https://github.com/llvm/llvm-project/commit/a4d85490e029e797d22881b37d476c2050d0d6a2.dif
Author: Yaxun (Sam) Liu
Date: 2023-12-01T16:24:01-05:00
New Revision: 2b76e20ea782790a78ec58d5f94ce88a173bab7f
URL:
https://github.com/llvm/llvm-project/commit/2b76e20ea782790a78ec58d5f94ce88a173bab7f
DIFF:
https://github.com/llvm/llvm-project/commit/2b76e20ea782790a78ec58d5f94ce88a173bab7f.dif
https://github.com/pizzud updated
https://github.com/llvm/llvm-project/pull/67467
>From 6d5d35e1273f595e8a0382053d5183cbce7a9d8a Mon Sep 17 00:00:00 2001
From: David Pizzuto
Date: Tue, 26 Sep 2023 10:45:42 -0700
Subject: [PATCH 1/2] [clang-tidy] Add bugprone-move-shared-pointer-contents
check.
https://github.com/pizzud updated
https://github.com/llvm/llvm-project/pull/67467
>From 6d5d35e1273f595e8a0382053d5183cbce7a9d8a Mon Sep 17 00:00:00 2001
From: David Pizzuto
Date: Tue, 26 Sep 2023 10:45:42 -0700
Subject: [PATCH 1/2] [clang-tidy] Add bugprone-move-shared-pointer-contents
check.
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 d22944d1cc54a3384a88d654d144ef62a693df16
528146e8d1fae56d2d4cc2d32a0823aa1f9cbc2b --
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Juergen Ributzka (ributzka)
Changes
CodeGen options do not affect the AST, so they usually can be ignored.
The only exception to the rule is when a PCM is created with `-gmodules`.
In that case the Clang module format is switched to object
@@ -0,0 +1,60 @@
+//===--- MoveSharedPointerContentsCheck.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: Apa
https://github.com/pizzud updated
https://github.com/llvm/llvm-project/pull/67467
>From 6d5d35e1273f595e8a0382053d5183cbce7a9d8a Mon Sep 17 00:00:00 2001
From: David Pizzuto
Date: Tue, 26 Sep 2023 10:45:42 -0700
Subject: [PATCH 1/3] [clang-tidy] Add bugprone-move-shared-pointer-contents
check.
@@ -0,0 +1,37 @@
+//===--- MoveSharedPointerContentsCheck.h - clang-tidy --*- C++
-*-===//
+//
+// 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
@@ -0,0 +1,60 @@
+//===--- MoveSharedPointerContentsCheck.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: Apa
@@ -0,0 +1,60 @@
+//===--- MoveSharedPointerContentsCheck.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: Apa
@@ -0,0 +1,37 @@
+//===--- MoveSharedPointerContentsCheck.h - clang-tidy --*- C++
-*-===//
+//
+// 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
@@ -0,0 +1,37 @@
+//===--- MoveSharedPointerContentsCheck.h - clang-tidy --*- C++
-*-===//
+//
+// 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
@@ -0,0 +1,17 @@
+.. title:: clang-tidy - bugprone-move-shared-pointer-contents
+
+bugprone-move-shared-pointer-contents
+=
+
+Detects calls to move the contents out of a ``std::shared_ptr`` rather than
+moving the pointer itself. In other words
pizzud wrote:
> I noticed a problem with your matcher, so I reviewed the rest of it while I
> was at it.
>
> The problem is that you do not consider a type-dependent `std::shared_ptr`
> and the following test case fails:
>
> ```c++
> template
> void dependentType() {
> std::shared_ptr p;
>
https://github.com/ZijunZhaoCCK updated
https://github.com/llvm/llvm-project/pull/71771
>From 06c4cf02dfb4b20c8349c5f3c7209276f6d56edf Mon Sep 17 00:00:00 2001
From: zijunzhao
Date: Thu, 9 Nov 2023 02:21:46 +
Subject: [PATCH 1/3] Fix clang to recognize new C23 modifiers %w and %wf when
pri
https://github.com/ZijunZhaoCCK updated
https://github.com/llvm/llvm-project/pull/71771
>From 06c4cf02dfb4b20c8349c5f3c7209276f6d56edf Mon Sep 17 00:00:00 2001
From: zijunzhao
Date: Thu, 9 Nov 2023 02:21:46 +
Subject: [PATCH 1/4] Fix clang to recognize new C23 modifiers %w and %wf when
pri
https://github.com/ZijunZhaoCCK edited
https://github.com/llvm/llvm-project/pull/71771
___
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-format
Author: Owen Pan (owenca)
Changes
Fixed #74165.
---
Full diff: https://github.com/llvm/llvm-project/pull/74176.diff
1 Files Affected:
- (modified) clang/tools/clang-format/git-clang-format (+1)
``diff
diff --git a/clang/tools/
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Brad Smith (brad0)
Changes
Copying
https://github.com/llvm/llvm-project/commit/1881832994840baa6e42f908b8822ce4d15ab632
to the last of the targets that use LTO.
But I am not sure about tests for these targets, especially the AMD toolchai
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Youngsuk Kim (JOE1994)
Changes
Remove ptr-to-ptr bitcast which was added back in
939352b6ec31db4e8defe07856868438fbc5340d . With opaque pointers, the bitcast is
now redundant.
Opaque ptr cleanup effort.
---
Full diff: https://github.com
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Kirill Stoimenov (kstoimenov)
Changes
This is the failure:
https://lab.llvm.org/buildbot/#/builders/236/builds/7728/steps/10/logs/stdio
This started with eef8e1d206dc01c081a0ca29b7f9e0c39d33446e, but because there
were a couple of
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 28eead018d80a5384b8be6f259c3d2e2b849e8cf
ef876c72f3d828055ce58d0f22ec40c7468bc6c1 --
Author: Brad Smith
Date: 2023-12-02T05:15:30-05:00
New Revision: 37da4e3d80d7136121e74e2b8d23afb14ae7ab69
URL:
https://github.com/llvm/llvm-project/commit/37da4e3d80d7136121e74e2b8d23afb14ae7ab69
DIFF:
https://github.com/llvm/llvm-project/commit/37da4e3d80d7136121e74e2b8d23afb14ae7ab69.diff
LO
@@ -92,14 +94,14 @@ namespace ImplicitCapture {
[] { return ref_i; }; // expected-error {{variable 'ref_i' cannot be
implicitly captured in a lambda with no capture-default specified}}
expected-note {{lambda expression begins here}} expected-note 2 {{capture
'ref_i' by}} e
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/73376
___
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
@llvm/pr-subscribers-backend-x86
Author: Shengchen Kan (KanRobert)
Changes
Positive options: -mapx-features=
Negative options: -mno-apx-features=
-m[no-]apx-features is designed to be able to con
Author: Nathan Sidwell
Date: 2023-12-02T11:54:59-05:00
New Revision: 1fa35f0b5dc2f3427fbade0eaaca6e2d8c32caef
URL:
https://github.com/llvm/llvm-project/commit/1fa35f0b5dc2f3427fbade0eaaca6e2d8c32caef
DIFF:
https://github.com/llvm/llvm-project/commit/1fa35f0b5dc2f3427fbade0eaaca6e2d8c32caef.diff
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-codegen
Author: Nathan Sidwell (urnathan)
Changes
This implements -Wstrict-aliasing(=[123])? along the same lines as GCC. It's
not 100% the same for reasons expanded on below. The default is level 3, and I
have verified
llvmbot wrote:
@llvm/pr-subscribers-mlir-memref
@llvm/pr-subscribers-mlir-tensor
Author: Rik Huijzer (rikhuijzer)
Changes
This PR fixes https://github.com/llvm/llvm-project/issues/73383 and is another
shot at the refactoring proposed in
https://github.com/llvm/llvm-project/pull/72885.
-
Author: Youngsuk Kim
Date: 2023-12-02T13:50:58-05:00
New Revision: c6381615ef9bc869a708ab8f786c4350f7e00ee7
URL:
https://github.com/llvm/llvm-project/commit/c6381615ef9bc869a708ab8f786c4350f7e00ee7
DIFF:
https://github.com/llvm/llvm-project/commit/c6381615ef9bc869a708ab8f786c4350f7e00ee7.diff
Author: sstwcw
Date: 2023-12-02T19:26:07Z
New Revision: b3e80d8ed251bfdad4a49fee19b8354eba407d1d
URL:
https://github.com/llvm/llvm-project/commit/b3e80d8ed251bfdad4a49fee19b8354eba407d1d
DIFF:
https://github.com/llvm/llvm-project/commit/b3e80d8ed251bfdad4a49fee19b8354eba407d1d.diff
LOG: [clang
https://github.com/sstwcw closed https://github.com/llvm/llvm-project/pull/71354
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/EricWF updated
https://github.com/llvm/llvm-project/pull/73998
>From 2e7676bac9fb0c8694dd1ee635508ae4d4a6421d Mon Sep 17 00:00:00 2001
From: Eric Fiselier
Date: Thu, 30 Nov 2023 17:23:37 -0500
Subject: [PATCH] Work around GCC test failure that is caused by enabling
optimizat
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 7ec4f6094e54911794c142b5d88496a220d807d6
aaa004f3bd13743195865d5ab09f5ed81757b2a7 --
https://github.com/EricWF updated
https://github.com/llvm/llvm-project/pull/73998
>From 2e7676bac9fb0c8694dd1ee635508ae4d4a6421d Mon Sep 17 00:00:00 2001
From: Eric Fiselier
Date: Thu, 30 Nov 2023 17:23:37 -0500
Subject: [PATCH 1/2] Work around GCC test failure that is caused by enabling
optim
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
Author: Eric Biggers (ebiggers)
Changes
This is an updated version of https://github.com/llvm/llvm-project/pull/69000,
which hasn't had activity in a few weeks
---
Patch is 272.35 KiB, truncated to 20.00 KiB below, full version:
https:
4001 - 4100 of 429108 matches
Mail list logo