@@ -3742,20 +3742,18 @@ void ExprEngine::evalLocation(ExplodedNodeSet &Dst,
BldrTop.addNodes(Tmp);
}
-std::pair
-ExprEngine::geteagerlyAssumeBinOpBifurcationTags() {
- static SimpleProgramPointTag
- eagerlyAssumeBinOpBifurcationTrue(TagProviderName,
-
https://github.com/isuckatcs edited
https://github.com/llvm/llvm-project/pull/112209
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From 8db1c6225cb938433f57414594cc3accae39f03c Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/6] [WebAssembly] Define a new "Trail1" CPU
First, define some
https://github.com/dkrupp converted_to_draft
https://github.com/llvm/llvm-project/pull/112215
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -7,3 +7,15 @@ namespace PR5840 {
int Base = 10;
struct Derived : Base {};
}
+
+namespace issue_16855 {
+ struct x {};
+ namespace
+ {
+ namespace x
+ {
+ struct y : x
+ {};
+ }
+ }
+}
Sirraide wrote:
nit: missing new
https://github.com/dougsonos updated
https://github.com/llvm/llvm-project/pull/112148
>From f34e4ac55d04bcd8e34bef57afec5a39fbf2acb9 Mon Sep 17 00:00:00 2001
From: Doug Wyatt
Date: Sun, 13 Oct 2024 11:35:10 -0700
Subject: [PATCH 1/3] [Clang] Diagnose ObjC @autoreleasepool statements as
functio
@@ -357,9 +357,10 @@ ParsedType Sema::getTypeName(const IdentifierInfo &II,
SourceLocation NameLoc,
return nullptr;
}
- // FIXME: LookupNestedNameSpecifierName isn't the right kind of
- // lookup for class-names.
- LookupNameKind Kind = isClassName ? LookupNestedNa
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/112166
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Sirraide commented:
I think the implementation is fine. This still needs a release note, though.
https://github.com/llvm/llvm-project/pull/112166
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/
https://github.com/budimirarandjelovichtec updated
https://github.com/llvm/llvm-project/pull/105479
From 6f290b60fc6a433395f2b26c622dd5d0af1bd644 Mon Sep 17 00:00:00 2001
From: budimirarandjelovicsyrmia
Date: Fri, 5 Apr 2024 15:20:37 +0200
Subject: [PATCH] [clang] Catch missing format attribute
@@ -583,14 +583,14 @@ class ExprEngine {
ExplodedNode *Pred,
ExplodedNodeSet &Dst);
- /// evalEagerlyAssumeBinOpBifurcation - Given the nodes in 'Src', eagerly
assume symbolic
- /// expressions of the form 'x
@@ -3767,28 +3765,27 @@ void
ExprEngine::evalEagerlyAssumeBinOpBifurcation(ExplodedNodeSet &Dst,
continue;
}
-ProgramStateRef state = Pred->getState();
-SVal V = state->getSVal(Ex, Pred->getLocationContext());
+ProgramStateRef State = Pred->getState();
+
justincady wrote:
@Baiyi27 Could you please file an issue as opposed to adding it as a comment
here? It may or may not be related to this original change, and separating it
out into its own discussion would be helpful. Thanks!
https://github.com/llvm/llvm-project/pull/91400
___
https://github.com/NagyDonat updated
https://github.com/llvm/llvm-project/pull/112209
From ea6ab3fe84e5ac89f82def877c37c8409889d01d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Don=C3=A1t=20Nagy?=
Date: Mon, 14 Oct 2024 15:34:55 +0200
Subject: [PATCH 1/4] [analyzer][clang-tidy][NFC] Clean up eagerl
@@ -34,13 +38,20 @@ namespace usage_ok {
struct A {
A();
A(int);
+A(const char*, const int& def3 [[clang::lifetimebound]] = 0); // #def3
int *class_member() [[clang::lifetimebound]];
operator int*() [[clang::lifetimebound]];
+static const int &defaul
https://github.com/higher-performance updated
https://github.com/llvm/llvm-project/pull/112047
>From d643b4f6301705790a42db110adbca596ae29c6e Mon Sep 17 00:00:00 2001
From: higher-performance
Date: Fri, 11 Oct 2024 17:09:13 -0400
Subject: [PATCH] Make [[clang::lifetimebound]] work for expressio
@@ -465,17 +466,27 @@ static void visitFunctionCallArguments(IndirectLocalPath
&Path, Expr *Call,
for (unsigned I = 0,
N = std::min(Callee->getNumParams(), Args.size());
I != N; ++I) {
+Expr *Arg = Args[I];
+auto *DAE = dyn_cast(Arg);
+if (
@@ -34,13 +38,20 @@ namespace usage_ok {
struct A {
A();
A(int);
+A(const char*, const int& def3 [[clang::lifetimebound]] = 0); // #def3
int *class_member() [[clang::lifetimebound]];
operator int*() [[clang::lifetimebound]];
+static const int &defaul
@@ -3742,23 +3742,20 @@ void ExprEngine::evalLocation(ExplodedNodeSet &Dst,
BldrTop.addNodes(Tmp);
}
-std::pair
-ExprEngine::geteagerlyAssumeBinOpBifurcationTags() {
- static SimpleProgramPointTag
- eagerlyAssumeBinOpBifurcationTrue(TagProviderName,
-
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
Comparing their PrimTypes isn't enough in this case. We can have a floating
cast here as well.
---
Full diff: https://github.com/llvm/llvm-project/pull/112238.diff
2 Files Affected:
- (modified) clang/lib
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/112238
Comparing their PrimTypes isn't enough in this case. We can have a floating
cast here as well.
>From 7c9ea06f6bda11c3c41477028fd39453acfd8954 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date:
https://github.com/Artem-B updated
https://github.com/llvm/llvm-project/pull/112028
>From 17989b287b28fa1234dc7aca726f973086b687f2 Mon Sep 17 00:00:00 2001
From: Sergey Kozub
Date: Tue, 2 Jul 2024 02:44:56 -0700
Subject: [PATCH 1/2] [CUDA] Add support for CUDA-12.6 and sm_100
---
clang/docs/R
https://github.com/spaits updated
https://github.com/llvm/llvm-project/pull/112166
From 64aa2ad0fa41ac93db311c70d4113886fd4d6ffd Mon Sep 17 00:00:00 2001
From: Gabor Spaits
Date: Mon, 14 Oct 2024 10:12:42 +0200
Subject: [PATCH] Use tag name lookup for class names
This PR would fix #16855 .
I
https://github.com/hekota updated
https://github.com/llvm/llvm-project/pull/110327
>From 4f235c0e9c539cdaa2bab9a7f8228f33c0fea2b8 Mon Sep 17 00:00:00 2001
From: Helena Kotas
Date: Thu, 26 Sep 2024 14:34:16 -0700
Subject: [PATCH 1/9] Add codegen for existing resource types and make
HLSLAttribut
https://github.com/shafik approved this pull request.
If you have approvals you don't have to wait for other reviewers unless they
have made a comment that required a change and you them to confirm the fix or
they explicitly blocked the review.
https://github.com/llvm/llvm-project/pull/96464
https://github.com/jhuber6 approved this pull request.
I swear there's got to be a way to automate this.
https://github.com/llvm/llvm-project/pull/112028
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/lis
=?utf-8?q?Donát?= Nagy ,
=?utf-8?q?Donát?= Nagy ,
=?utf-8?q?Donát?= Nagy
Message-ID:
In-Reply-To:
@@ -3742,23 +3742,20 @@ void ExprEngine::evalLocation(ExplodedNodeSet &Dst,
BldrTop.addNodes(Tmp);
}
-std::pair
-ExprEngine::geteagerlyAssumeBinOpBifurcationTags() {
- stati
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/112241
This fixes instantiation of definition for friend function templates, when the
declaration found and the one containing the definition have different template
contexts.
In these cases, the the function declar
llvmbot wrote:
@llvm/pr-subscribers-clang-modules
@llvm/pr-subscribers-clang
Author: Matheus Izvekov (mizvekov)
Changes
This fixes instantiation of definition for friend function templates, when the
declaration found and the one containing the definition have different template
contexts.
https://github.com/spaits updated
https://github.com/llvm/llvm-project/pull/112166
From 6935e90c94679129422cb00a7b05913b1ae83a5e Mon Sep 17 00:00:00 2001
From: Gabor Spaits
Date: Mon, 14 Oct 2024 10:12:42 +0200
Subject: [PATCH] Use tag name lookup for class names
This PR would fix #16855 .
I
carlosgalvezp wrote:
> @carlosgalvezp That message is because I got a new computer and it wasn't
> properly setup yet. I would like to remove it if possible. What is the
> process for updating a commit message in this repo? Should I just force push
> a modified message to this branch?
I'm not
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/112047
___
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 `sanitizer-windows` running
on `sanitizer-windows` while building `clang,compiler-rt,lld,llvm` at step 4
"annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/107/builds/3945
Here is the relevan
Author: Artem Belevich
Date: 2024-10-14T11:51:05-07:00
New Revision: 30a06e8022e9c569989035d192d3aa373753125a
URL:
https://github.com/llvm/llvm-project/commit/30a06e8022e9c569989035d192d3aa373753125a
DIFF:
https://github.com/llvm/llvm-project/commit/30a06e8022e9c569989035d192d3aa373753125a.diff
https://github.com/Artem-B closed
https://github.com/llvm/llvm-project/pull/112028
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hokein updated
https://github.com/llvm/llvm-project/pull/111753
>From 354b33432d0dafbf54667a9ee973f5b2712c5773 Mon Sep 17 00:00:00 2001
From: Haojian Wu
Date: Wed, 9 Oct 2024 21:34:49 +0200
Subject: [PATCH 1/2] [clang] Diagnose the dangling references for vector.
---
clang/
@@ -404,7 +404,7 @@ shouldTrackFirstArgumentForConstructor(const
CXXConstructExpr *Ctor) {
if (LHSRecordDecl->hasAttr())
return true;
- if (Ctor->getConstructor()->getNumParams() != 1 ||
+ if (Ctor->getConstructor()->getNumParams() < 1 ||
hokein wrote
https://github.com/higher-performance updated
https://github.com/llvm/llvm-project/pull/112047
>From f2153f0d9da362063c9d8311bb1d653dd51beb98 Mon Sep 17 00:00:00 2001
From: higher-performance
Date: Fri, 11 Oct 2024 17:09:13 -0400
Subject: [PATCH] Make [[clang::lifetimebound]] work for expressio
@@ -34,13 +38,20 @@ namespace usage_ok {
struct A {
A();
A(int);
+A(const char*, const int& def3 [[clang::lifetimebound]] = 0); // #def3
int *class_member() [[clang::lifetimebound]];
operator int*() [[clang::lifetimebound]];
+static const int &defaul
https://github.com/higher-performance deleted
https://github.com/llvm/llvm-project/pull/112047
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/usx95 approved this pull request.
https://github.com/llvm/llvm-project/pull/111753
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/njriasan updated
https://github.com/llvm/llvm-project/pull/112162
>From e5a70cb2f9d744716e376ec0939645a7b0365ead Mon Sep 17 00:00:00 2001
From: Nicholas Riasanovsky
Date: Mon, 14 Oct 2024 01:42:39 -0400
Subject: [PATCH] Replace _not_ in reserved-identifier.rst from the clang-
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Arvind Sudarsanam (asudarsa)
Changes
This PR is one of the many PRs in the SYCL upstreaming effort focusing on
device code linking during the SYCL offload compilation process. RFC:
https://discourse.llvm.org/t/rfc-offloading-design
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Arvind Sudarsanam (asudarsa)
Changes
This PR is one of the many PRs in the SYCL upstreaming effort focusing on
device code linking during the SYCL offload compilation process. RFC:
https://discourse.llvm.org/t/rfc-offloading-design-for-sy
https://github.com/asudarsa created
https://github.com/llvm/llvm-project/pull/112245
…ng device code
This PR is one of the many PRs in the SYCL upstreaming effort focusing on
device code linking during the SYCL offload compilation process. RFC:
https://discourse.llvm.org/t/rfc-offloading-desi
llvmbot wrote:
@llvm/pr-subscribers-backend-spir-v
Author: Arvind Sudarsanam (asudarsa)
Changes
This PR is one of the many PRs in the SYCL upstreaming effort focusing on
device code linking during the SYCL offload compilation process. RFC:
https://discourse.llvm.org/t/rfc-offloading-desi
https://github.com/asudarsa edited
https://github.com/llvm/llvm-project/pull/112245
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/asudarsa edited
https://github.com/llvm/llvm-project/pull/112245
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
njriasan wrote:
@carlosgalvezp I think the force push fixed it. Could you confirm that you no
longer see the second author? Thanks.
https://github.com/llvm/llvm-project/pull/112162
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.
https://github.com/asudarsa edited
https://github.com/llvm/llvm-project/pull/112245
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Haojian Wu
Date: 2024-10-14T21:09:00+02:00
New Revision: 0eaccee1800331d6a4a3a58d52325279ca187066
URL:
https://github.com/llvm/llvm-project/commit/0eaccee1800331d6a4a3a58d52325279ca187066
DIFF:
https://github.com/llvm/llvm-project/commit/0eaccee1800331d6a4a3a58d52325279ca187066.diff
LO
asudarsa wrote:
This PR is the first in the list of multiple PRs that will be submitted to add
SYCL offloading support using the new offloading model. Upcoming PRs include:
1. SYCL finalization steps that will run after llvm-link will be added to the
linking clow inside clang-sycl-link-wrapper.
asudarsa wrote:
@jhuber6
Can you please take a look at this PR when convenient? Thanks for all your
inputs in getting this PR ready.
Sincerely
https://github.com/llvm/llvm-project/pull/112245
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
h
https://github.com/hokein closed
https://github.com/llvm/llvm-project/pull/111753
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
@bricknerb Congratulations on having your first Pull Request (PR) merged into
the LLVM Project!
Your changes will be combined with recent changes from other authors, then
tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a
problem with a buil
https://github.com/4JustMe4 created
https://github.com/llvm/llvm-project/pull/112190
[Here](https://github.com/llvm/llvm-project/blob/6a98c4a1602591c942f01dceb3aa29ffd4cf1e5b/clang/include/clang/ASTMatchers/ASTMatchers.h#L4188-L4203)
and
[here](https://github.com/llvm/llvm-project/blob/6a98c4a
https://github.com/usx95 updated
https://github.com/llvm/llvm-project/pull/111499
>From 4951a7b9b87f9800bc3629bd44f65141ba98c6b0 Mon Sep 17 00:00:00 2001
From: Utkarsh Saxena
Date: Tue, 8 Oct 2024 08:19:56 +
Subject: [PATCH 1/7] start working on lifetime capture
---
clang/include/clang/Ba
ilya-biryukov wrote:
We are seeing some internal tests (and tools) failing because the canonical
declaration for template specializations has changed in cases like this:
```cpp
template
void Foo(T target); // #1
template
void Foo(T defn) {} // #2
template <>
void Foo(int specialization) {}
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/112033
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/112177
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
arsenm wrote:
I fixed an apparent missing test dependency in
1ac6ef5af28b72e534496a9833a2b75a2aba66cc and this commit removed the llvm-mc
dependency
https://github.com/llvm/llvm-project/pull/112041
___
cfe-commits mailing list
cfe-commits@lists.llvm
Author: Aaron Ballman
Date: 2024-10-14T09:41:42-04:00
New Revision: c2d8112f71d59384d77ac56e278147afc1947ce9
URL:
https://github.com/llvm/llvm-project/commit/c2d8112f71d59384d77ac56e278147afc1947ce9
DIFF:
https://github.com/llvm/llvm-project/commit/c2d8112f71d59384d77ac56e278147afc1947ce9.diff
AaronBallman wrote:
Thanks, things seem to be better now!
https://github.com/llvm/llvm-project/pull/112041
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jhuber6 wrote:
> I fixed an apparent missing test dependency in
> [1ac6ef5](https://github.com/llvm/llvm-project/commit/1ac6ef5af28b72e534496a9833a2b75a2aba66cc)
> and this commit removed the llvm-mc dependency
I probably should've remembered to include removing that in this patch.
https://gi
Baiyi27 wrote:
I found a problem. In my project, I used `vcpkg` to manage the qt5 library.
```c++
#include "qapplication.h"
#include "qpushbutton.h"
#include "qstring.h"
#include "fmt/format.h"
class MainWindow: public QWidget {
public:
MainWindow(QWidget *parent= nullptr)
: QWidget(
https://github.com/spaits updated
https://github.com/llvm/llvm-project/pull/112166
From e9d43ef25b882071822cf3f16a988197c07967b1 Mon Sep 17 00:00:00 2001
From: Gabor Spaits
Date: Mon, 14 Oct 2024 10:12:42 +0200
Subject: [PATCH 1/6] Use tag name lookup for class names
This PR would fix #16855 .
ilya-biryukov wrote:
cc @usx95 @bricknerb who were looking at the lifetime annotations recently too.
https://github.com/llvm/llvm-project/pull/112047
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
spaits wrote:
Thank you @Sirraide for reviewing my PR. I have added this change to the
release notes and addressed the other comments.
https://github.com/llvm/llvm-project/pull/112166
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lis
https://github.com/higher-performance updated
https://github.com/llvm/llvm-project/pull/112047
>From 7422a13bbf2a4cd2a7994df77c5c89acb5ea84de Mon Sep 17 00:00:00 2001
From: higher-performance
Date: Fri, 11 Oct 2024 17:09:13 -0400
Subject: [PATCH] Make [[clang::lifetimebound]] work for expressio
https://github.com/Sirraide commented:
The implementation lgtm, but this still needs a test and a release note.
https://github.com/llvm/llvm-project/pull/112111
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mail
ilya-biryukov wrote:
> @ilya-biryukov When instantiating a template from a member template that was
> explicitly specialized for a given implicitly instantiated specialization of
> its enclosing class template, we need to keep track of which template was
> actually used as the primary template
@@ -357,10 +357,12 @@ ParsedType Sema::getTypeName(const IdentifierInfo &II,
SourceLocation NameLoc,
return nullptr;
}
- // FIXME: LookupNestedNameSpecifierName isn't the right kind of
- // lookup for class-names.
- LookupNameKind Kind = isClassName ? LookupNestedN
@@ -151,6 +151,8 @@ C++ Language Changes
- The builtin type alias ``__builtin_common_type`` has been added to improve
the
performance of ``std::common_type``.
+- During the lookup for a base class name, non-type names are ignored.
+
Sirraide wrote:
This sh
steakhal wrote:
I want to have a look at this PR tomorrow.
https://github.com/llvm/llvm-project/pull/112209
___
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-14T18:32:50+03:00
New Revision: 09fa2f012fccb6f1cf2f540856e67f55431da800
URL:
https://github.com/llvm/llvm-project/commit/09fa2f012fccb6f1cf2f540856e67f55431da800
DIFF:
https://github.com/llvm/llvm-project/commit/09fa2f012fccb6f1cf2f540856e67f55431da800.dif
https://github.com/spaits updated
https://github.com/llvm/llvm-project/pull/112166
From e9d43ef25b882071822cf3f16a988197c07967b1 Mon Sep 17 00:00:00 2001
From: Gabor Spaits
Date: Mon, 14 Oct 2024 10:12:42 +0200
Subject: [PATCH 1/7] Use tag name lookup for class names
This PR would fix #16855 .
https://github.com/vgvassilev closed
https://github.com/llvm/llvm-project/pull/108276
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/spaits updated
https://github.com/llvm/llvm-project/pull/112166
From e9d43ef25b882071822cf3f16a988197c07967b1 Mon Sep 17 00:00:00 2001
From: Gabor Spaits
Date: Mon, 14 Oct 2024 10:12:42 +0200
Subject: [PATCH 1/8] Use tag name lookup for class names
This PR would fix #16855 .
@@ -151,6 +151,8 @@ C++ Language Changes
- The builtin type alias ``__builtin_common_type`` has been added to improve
the
performance of ``std::common_type``.
+- During the lookup for a base class name, non-type names are ignored.
+
spaits wrote:
Sorry I d
501 - 579 of 579 matches
Mail list logo