https://github.com/nikic approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/113071
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/112424
>From a22c6bae4f42f42e67f8e0c2b1f914e50d140099 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Tue, 15 Oct 2024 22:43:24 +0300
Subject: [PATCH 1/2] [Clang] prevent setting default lexical access specifier
f
yonghong-song wrote:
For commit 2, I see the following commit messages:
```
Unlike existing atomic operations that only support BPF_W (32-bit) and
BPF_DW (64-bit) size modifiers, load-acquires and store-releases also
support BPF_B (8-bit) and BPF_H (16-bit). An 8- or 16-bit load-acquire
zero-ext
@@ -1110,6 +1110,10 @@ static bool isTrivialForMSVC(const CXXRecordDecl *RD,
QualType Ty,
isa(Base)) {
return true;
}
+ if (CGM.getTarget().getTriple().isX86() &&
+ CGM.getABIInfo().isHomogeneousAggregate(Ty, Base, NumElts)) {
efriedma-quic w
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/113089
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2024-10-21T07:51:49+02:00
New Revision: df8b785838a2db01b4d056e603f7317209accefb
URL:
https://github.com/llvm/llvm-project/commit/df8b785838a2db01b4d056e603f7317209accefb
DIFF:
https://github.com/llvm/llvm-project/commit/df8b785838a2db01b4d056e603f7317209accefb.diff
L
owenca wrote:
> That's a great idea, I'll have to look into that more!
@amygrinn Do you still need to go forward with this PR?
https://github.com/llvm/llvm-project/pull/78904
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.o
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/113128
None
>From 89a268bbdbc0194c9d46abf7607b458320cd27ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 21 Oct 2024 07:42:40 +0200
Subject: [PATCH] [clang][bytecode] Check ai32_bextr builti
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/113128.diff
1 Files Affected:
- (modified) clang/lib/AST/ByteCode/InterpBuiltin.cpp (+4)
``diff
diff --git a/clang/lib/AST/ByteCode/Inte
tbaederr wrote:
I think this reference should go as well:
https://github.com/llvm/llvm-project/blob/main/clang/www/index.html#L20 ?
https://github.com/llvm/llvm-project/pull/112916
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.
@@ -115,3 +115,14 @@ namespace nested_union {
// of Test3, or we should exclude f(Test3) as a candidate.
static_assert(f({1}) == 2, ""); // expected-error {{call to 'f' is
ambiguous}}
}
+
+// Fix crash issue https://github.com/llvm/llvm-project/issues/112560.
+// Make sure
Author: Timm Baeder
Date: 2024-10-21T08:15:51+02:00
New Revision: 615a5eb02c91ef78f59461f842873617dd187450
URL:
https://github.com/llvm/llvm-project/commit/615a5eb02c91ef78f59461f842873617dd187450
DIFF:
https://github.com/llvm/llvm-project/commit/615a5eb02c91ef78f59461f842873617dd187450.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/113128
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Thomas Fransham
Date: 2024-10-21T08:14:52+03:00
New Revision: d80b9cf713fd1698641c5b265de6b66618991476
URL:
https://github.com/llvm/llvm-project/commit/d80b9cf713fd1698641c5b265de6b66618991476
DIFF:
https://github.com/llvm/llvm-project/commit/d80b9cf713fd1698641c5b265de6b66618991476.dif
https://github.com/vgvassilev closed
https://github.com/llvm/llvm-project/pull/110206
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/113091
>From 19bd55a4150c39fc29758c20fb31ac76d20beddc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 20 Oct 2024 18:08:08 +0200
Subject: [PATCH] [clang][bytecode] Check ia32_{pext,pdep} builti
Author: Timm Baeder
Date: 2024-10-20T19:37:41+02:00
New Revision: 5405ba50de6753e3969f4e6c690f53f2abb29b2f
URL:
https://github.com/llvm/llvm-project/commit/5405ba50de6753e3969f4e6c690f53f2abb29b2f
DIFF:
https://github.com/llvm/llvm-project/commit/5405ba50de6753e3969f4e6c690f53f2abb29b2f.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/113091
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ChuanqiXu9 wrote:
I'd like to land this in 2 weeks if no more comments came in. Given:
- In our downstream, we've landed this patch for more than a year and it seems
running well. And also in the open source world, I tried to send it to
https://github.com/ChuanqiXu9/clangd-for-modules . Everyon
@@ -94,3 +94,45 @@ template void g2(Ts... p1s) {
void f1() { g(); }
} // namespace GH61460
+
+namespace GH112352 {
+
+template
+constexpr bool foo = false;
+
+template
+constexpr bool bar = false;
+
+template class>
+constexpr bool baz = false;
+
+struct S {
+ template v
https://github.com/zyn0217 updated
https://github.com/llvm/llvm-project/pull/112896
>From 6caf16d6ce8eb939c91ed87493c2ccab82d38411 Mon Sep 17 00:00:00 2001
From: Younan Zhang
Date: Fri, 18 Oct 2024 20:22:08 +0800
Subject: [PATCH 1/3] [Clang] Don't assert on substituted-but-yet-expanded
packs f
arsenm wrote:
> More specifically, how do you expect Clang to figure this out when e.g.
> compiling C++ for some AS rich target that decided to default to something
> odd
I do not expect clang to be using the datalayout to decide anything. That is
not really the purpose of the datalayout. It
AlexVlx wrote:
> > I do believe that this is a necessary bit of query-able information,
> > especially from a Clang, for correctness reasons (more on that below).
>
> I don't think this buys frontends much. Clang still needs to understand the
> full language address space -> target address spa
Author: Timm Baeder
Date: 2024-10-20T17:44:48+02:00
New Revision: 490b7d12f6bef2c399fca83e6a6dde31be021913
URL:
https://github.com/llvm/llvm-project/commit/490b7d12f6bef2c399fca83e6a6dde31be021913
DIFF:
https://github.com/llvm/llvm-project/commit/490b7d12f6bef2c399fca83e6a6dde31be021913.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/113083
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/113089
Otherwise we treat this like an array element even though we should treat it as
a single object.
>From 9ad54bebfd5c3572b3338e30c6a3047fb922c057 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Dat
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
Otherwise we treat this like an array element even though we should treat it as
a single object.
---
Full diff: https://github.com/llvm/llvm-project/pull/113089.diff
2 Files Affected:
- (modified) clang/l
@@ -952,13 +952,15 @@ static void PrintPreprocessedTokens(Preprocessor &PP,
Token &Tok,
continue;
} else if (Tok.is(tok::annot_header_unit)) {
// This is a header-name that has been (effectively) converted into a
- // module-name.
+ // module-name, pr
owenca wrote:
> > Because only part of the doc is generated by dump_format_style.py.
>
> It should still be possible to only include the non-generated parts in the
> repo and then modify the script to add all the generated components on
> afterwards as a build step? Not sure if I'm missing som
https://github.com/chapuni created
https://github.com/llvm/llvm-project/pull/113114
None
>From 52f072e5058267660aa8c8fbb00c5d09634f22b3 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri, 18 Oct 2024 08:32:39 +0900
Subject: [PATCH] clang/test/CoverageMapping/single-byte-counters.cpp: Rew
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: NAKAMURA Takumi (chapuni)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/113114.diff
1 Files Affected:
- (modified) clang/test/CoverageMapping/single-byte-counters.cpp (+65-98)
``diff
diff --git a/clang/tes
owenca wrote:
> > I'm inclined to think that all the AllowShort options should work the same
> > way whether ColumnLimit is 0. However, a couple of them I checked
> > (AllowShortLoops and AllowShortBlocks) have no effect unless set to false.
> > I suggest that we mark the test as a FIXME or do
https://github.com/kakkoko updated
https://github.com/llvm/llvm-project/pull/113100
>From 506a4a497b7a0d5a5fed2504428d8114400c2467 Mon Sep 17 00:00:00 2001
From: kakkoko
Date: Mon, 21 Oct 2024 03:48:13 +0900
Subject: [PATCH] [clang-format] Fix working -assume-filename with
.clang-format-ignore
https://github.com/kakkoko updated
https://github.com/llvm/llvm-project/pull/113100
>From 506a4a497b7a0d5a5fed2504428d8114400c2467 Mon Sep 17 00:00:00 2001
From: kakkoko
Date: Mon, 21 Oct 2024 03:48:13 +0900
Subject: [PATCH] [clang-format] Fix working -assume-filename with
.clang-format-ignore
chapuni wrote:
I think I could dissolve `single-byte-counters.cpp` to other tests. Let me
rework.
https://github.com/llvm/llvm-project/pull/113114
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building
`clang` at step 10 "Add check check-offload".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/73/builds/7325
Here is the r
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`clang-ppc64le-linux-multistage` running on `ppc64le-clang-multistage-test`
while building `clang` at step 5 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/76/builds/3813
Here is the
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-s390x-linux`
running on `systemz-1` while building `clang` at step 6 "test-openmp".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/88/builds/3670
Here is the relevant piece of the build log fo
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/112081
>From 67c41612085489a2a17eec49f98dbfa0e5bb97cf Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Sat, 12 Oct 2024 08:27:51 +0300
Subject: [PATCH 1/2] [Clang] fix range calculation for conditionals with throw
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/112424
>From a22c6bae4f42f42e67f8e0c2b1f914e50d140099 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Tue, 15 Oct 2024 22:43:24 +0300
Subject: [PATCH 1/2] [Clang] prevent setting default lexical access specifier
f
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-x86_64-linux-android` running on `sanitizer-buildbot-android` while
building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/186/builds/3334
Here is the releva
@@ -102,7 +102,7 @@ struct __aliasing_iterator_wrapper {
_LIBCPP_HIDE_FROM_ABI _Alias operator*() const _NOEXCEPT {
_Alias __val;
- __builtin_memcpy(&__val, std::__to_address(__base_), sizeof(value_type));
+ __builtin_memcpy(&__val, static_cast(std::__to_ad
https://github.com/AlexVlx edited
https://github.com/llvm/llvm-project/pull/112849
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -337,9 +337,12 @@ void AMDGPUTargetInfo::getTargetDefines(const LangOptions
&Opts,
if (hasFastFMA())
Builder.defineMacro("FP_FAST_FMA");
- Builder.defineMacro("__AMDGCN_WAVEFRONT_SIZE__", Twine(WavefrontSize));
- // ToDo: deprecate this macro for naming consistency
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/113091
None
>From f9e95ab2ffe38ec1ade35681b24b5ed095adb8e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 20 Oct 2024 18:08:08 +0200
Subject: [PATCH] [clang][bytecode] Check ia32_{pext,pdep}
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/113091.diff
1 Files Affected:
- (modified) clang/lib/AST/ByteCode/InterpBuiltin.cpp (+8)
``diff
diff --git a/clang/lib/AST/ByteCode/Inte
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/113091
>From e947bb4ef9a80f2ba730238e668d9ea732bf40fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 20 Oct 2024 18:08:08 +0200
Subject: [PATCH] [clang][bytecode] Check ia32_{pext,pdep} builti
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 490b7d12f6bef2c399fca83e6a6dde31be021913
f9e95ab2ffe38ec1ade35681b24b5ed095adb8e2 --e
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/112126
>From 81d236ada5a300f425de447d5802714af65c98f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 13 Oct 2024 08:57:48 +0200
Subject: [PATCH] [clang][bytecode] Start implementing __builtin_
Author: Kazu Hirata
Date: 2024-10-20T09:05:55-07:00
New Revision: f13d3f72118b83e326169592e8f3c5962fd0eb29
URL:
https://github.com/llvm/llvm-project/commit/f13d3f72118b83e326169592e8f3c5962fd0eb29
DIFF:
https://github.com/llvm/llvm-project/commit/f13d3f72118b83e326169592e8f3c5962fd0eb29.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/113071
___
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 `clang-m68k-linux-cross`
running on `suse-gary-m68k-cross` while building `clang` at step 5 "ninja check
1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/27/builds/792
Here is the relevant piece of
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/113089
>From 6942291d0f529baa323cfd35e2f5d9b4f818c0f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 20 Oct 2024 13:57:49 +0200
Subject: [PATCH] [clang][bytecode] Narrow pointer in UO_Deref un
https://github.com/rjmccall commented:
Thanks, LGTM other than the memory leak.
https://github.com/llvm/llvm-project/pull/110569
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -119,6 +120,7 @@ class CodeGenTBAA {
llvm::Module &Module;
const CodeGenOptions &CodeGenOpts;
const LangOptions &Features;
+ MangleContext *MangleCtx;
rjmccall wrote:
This should either be a unique_ptr or you need to delete it in the destructor.
htt
https://github.com/rjmccall edited
https://github.com/llvm/llvm-project/pull/110569
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vabridgers updated
https://github.com/llvm/llvm-project/pull/110471
>From 1cf734f9f39f8ef9268d3eafd89634a93693ad63 Mon Sep 17 00:00:00 2001
From: einvbri
Date: Thu, 26 Sep 2024 16:24:59 +0200
Subject: [PATCH] [clang-tidy] [analyzer] Move nondeterministic pointer usage
check
@@ -0,0 +1,67 @@
+//===--- NondetermnisticPointerUsageCheck.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,67 @@
+//===--- NondetermnisticPointerUsageCheck.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,67 @@
+//===--- NondetermnisticPointerUsageCheck.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,67 @@
+//===--- NondetermnisticPointerUsageCheck.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,67 @@
+//===--- NondetermnisticPointerUsageCheck.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,67 @@
+//===--- NondetermnisticPointerUsageCheck.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,67 @@
+//===--- NondetermnisticPointerUsageCheck.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
@@ -174,6 +175,8 @@ class BugproneModule : public ClangTidyModule {
"bugprone-multiple-new-in-one-expression");
CheckFactories.registerCheck(
"bugprone-multiple-statement-macro");
+CheckFactories.registerCheck(
+"bugprone-nondeterministic-pointer
@@ -0,0 +1,67 @@
+//===--- NondetermnisticPointerUsageCheck.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,67 @@
+//===--- NondetermnisticPointerUsageCheck.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,35 @@
+
+#ifndef _SIM_MAP
+#define _SIM_MAP
+
+#pragma clang system_header
+#include "sim_stl_pair"
+
+namespace std {
+
+template
+class map {
+ public:
+ using value_type = pair;
+ map();
+ map(initializer_list> initList);
+ value_type& operator[](const Key& key)
@@ -0,0 +1,35 @@
+.. title:: clang-tidy - bugprone-nondeterministic-pointer-iteration-order
+
+bugprone-nondeterministic-pointer-iteration-order
+=
+
+Finds nondeterministic usages of pointers in unordered containers.
+
+One canonica
@@ -0,0 +1,45 @@
+
+#ifndef _SIM_SET
+#define _SIM_SET
+
+#pragma clang system_header
+#include "sim_initializer_list"
+
+namespace std {
+
+template< class T = void >
+struct less;
+
+template< class T >
+struct allocator;
+
+template< class Key >
+struct hash;
+
+template<
+ cl
@@ -0,0 +1,67 @@
+//===--- NondetermnisticPointerUsageCheck.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,67 @@
+//===--- NondetermnisticPointerUsageCheck.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,35 @@
+#ifndef _SIM_UNORDERED_MAP
+#define _SIM_UNORDERED_MAP
+
+
+#pragma clang system_header
+#include "sim_initializer_list"
+
+namespace std {
+
+template
+class unordered_map {
+ public:
+ using value_type = pair;
+ unordered_map();
+ unordered_map(initializer_
@@ -121,6 +121,12 @@ New checks
Gives warnings for tagged unions, where the number of tags is
different from the number of data members inside the union.
+- New :doc:`bugprone-nondeterministic-pointer-iteration-order
vabridgers wrote:
I believe I've addre
@@ -0,0 +1,83 @@
+// RUN: %check_clang_tidy %s bugprone-nondeterministic-pointer-iteration-order
%t -- -- -I%S -std=c++!4
+
+#include "Inputs/system-header-simulator/sim_set"
+#include "Inputs/system-header-simulator/sim_unordered_set"
+#include "Inputs/system-header-simulator/si
vabridgers wrote:
Thanks for the comments, I've resolved most, but not all. Not requested updated
review comments yet, but if you're so inclined, would appreciate a quick scan
to see if if I missed anything. Thanks.
https://github.com/llvm/llvm-project/pull/110471
_
https://github.com/kin4stat updated
https://github.com/llvm/llvm-project/pull/113104
>From 86127708ed74db3c6a826c13f7c21b11a457c76d Mon Sep 17 00:00:00 2001
From: kin4stat
Date: Sun, 20 Oct 2024 23:43:03 +0300
Subject: [PATCH] [clang codegen] Fix ABI for HVA/HFA returns on x86_64 MSVC
MSVC nor
https://github.com/kin4stat updated
https://github.com/llvm/llvm-project/pull/113104
>From 86127708ed74db3c6a826c13f7c21b11a457c76d Mon Sep 17 00:00:00 2001
From: kin4stat
Date: Sun, 20 Oct 2024 23:43:03 +0300
Subject: [PATCH] [clang codegen] Fix ABI for HVA/HFA returns on x86_64 MSVC
MSVC nor
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/113083
None
>From c72b3ea5ef4e1e51f5832886a722d310e6b98498 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 19 Oct 2024 12:04:17 +0200
Subject: [PATCH] [clang][NFC] Pass const ASTContext& to CX
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/113083.diff
2 Files Affected:
- (modified) clang/include/clang/AST/ExprCXX.h (+2-2)
- (modified) clang/lib/AST/ExprCXX.cpp (+2-2)
``dif
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/113083
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
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 d1401822e2d2753bed3ac597a42cc0b261de40a4
74e9d297f6090d77e52dd93fa356f37cf1afc2f7 --e
https://github.com/fsfod updated
https://github.com/llvm/llvm-project/pull/108051
>From e39aee57ce8a98723f40f67ae33808bc6213c61d Mon Sep 17 00:00:00 2001
From: Thomas Fransham
Date: Sat, 7 Sep 2024 15:53:09 +0100
Subject: [PATCH 1/5] [llvm] Support llvm::Any across shared libraries on
windows
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Daniil (kin4stat)
Changes
MSVC normally has a bunch of restrictions on returning values directly which
don't apply to passing values directly. (This roughly corresponds to the
definition of a C++14 aggregate.) However, these res
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Daniil (kin4stat)
Changes
MSVC normally has a bunch of restrictions on returning values directly which
don't apply to passing values directly. (This roughly corresponds to the
definition of a C++14 aggregate.) However, these restriction
https://github.com/kin4stat created
https://github.com/llvm/llvm-project/pull/113104
MSVC normally has a bunch of restrictions on returning values directly which
don't apply to passing values directly. (This roughly corresponds to the
definition of a C++14 aggregate.) However, these restrict
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/kin4stat edited
https://github.com/llvm/llvm-project/pull/113104
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kakkoko created
https://github.com/llvm/llvm-project/pull/113100
Fixes #113099.
>From e095b552d4d7588c74f2f59951045d546e00fe6d Mon Sep 17 00:00:00 2001
From: kakkoko
Date: Mon, 21 Oct 2024 03:48:13 +0900
Subject: [PATCH] [clang-format] Fix working -assume-filename with
.cla
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: kakkoko (kakkoko)
Changes
Fixes #113099.
---
Full diff: https://github.com/llvm/llvm-project/pull/113100.diff
2 Files Affected:
- (modified) clang/test/Format/clang-format-ignore.cpp (+11)
- (modified) clang/tools/clang-format/C
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/kakkoko updated
https://github.com/llvm/llvm-project/pull/113100
>From 7a315297c29244fb9a7358b962784c2fd984986c Mon Sep 17 00:00:00 2001
From: kakkoko
Date: Mon, 21 Oct 2024 03:48:13 +0900
Subject: [PATCH] [clang-format] Fix working -assume-filename with
.clang-format-ignore
https://github.com/kakkoko updated
https://github.com/llvm/llvm-project/pull/113100
>From 7a315297c29244fb9a7358b962784c2fd984986c Mon Sep 17 00:00:00 2001
From: kakkoko
Date: Mon, 21 Oct 2024 03:48:13 +0900
Subject: [PATCH] [clang-format] Fix working -assume-filename with
.clang-format-ignore
@@ -69,48 +69,7 @@
Clang Static Analyzer
-The Clang Static Analyzer is a source code analysis tool that finds bugs in
-C, C++, and Objective-C programs.
-
-Currently it can be run either from the command
- line or if you use macOS then within Xcode. When
-invoked from the co
@@ -0,0 +1,199 @@
+//== BoundsInformationChecker.cpp - bounds information checker --*- 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: Ap
@@ -0,0 +1,76 @@
+// RUN: %clang %s -std=c++20 -Xclang -verify --analyze \
+// RUN: -Xclang -analyzer-checker=core,alpha.cplusplus.BoundsInformation \
+// RUN: -Xclang -analyzer-checker=debug.ExprInspection
haoNoQ wrote:
`ExprInspection` is probably unnecessa
@@ -0,0 +1,199 @@
+//== BoundsInformationChecker.cpp - bounds information checker --*- 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: Ap
@@ -0,0 +1,199 @@
+//== BoundsInformationChecker.cpp - bounds information checker --*- 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: Ap
@@ -8385,14 +8385,19 @@ TreeTransform::TransformDeclStmt(DeclStmt *S) {
if (Transformed != D)
DeclChanged = true;
-if (LSI && isa(Transformed))
- LSI->ContainsUnexpandedParameterPack |=
- getSema()
- .getASTContext()
- .get
99 matches
Mail list logo