@@ -3518,6 +3518,10 @@ llvm::DIType *CGDebugInfo::CreateTypeDefinition(const
EnumType *Ty) {
SmallVector Enumerators;
ED = ED->getDefinition();
+
+ if (!ED)
+return nullptr;
+
Michael137 wrote:
Do you have an example/reproducer where this would get
@@ -15858,7 +15858,7 @@ static bool FastEvaluateAsRValue(const Expr *Exp,
Expr::EvalResult &Result,
}
if (const auto *CE = dyn_cast(Exp)) {
-if (CE->hasAPValueResult()) {
+if (CE->hasAPValueResult() && !CE->getAPValueResult().isLValue()) {
tbaeder
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/97146
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Sirraide approved this pull request.
LGTM after rewording the release note a bit and addressing @tbaederr’s comment.
https://github.com/llvm/llvm-project/pull/97146
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://list
@@ -936,6 +936,7 @@ Bug Fixes to C++ Support
forward-declared class. (#GH93512).
- Fixed a bug in access checking inside return-type-requirement of compound
requirements. (#GH93788).
- Fixed an assertion failure about invalid conversion when calling lambda.
(#GH96205).
+- F
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/97146
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/philnik777 updated
https://github.com/llvm/llvm-project/pull/70976
>From a91f499900d4cea4804833d004b6c4e54a7d8b15 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser
Date: Sun, 3 Sep 2023 17:26:28 -0700
Subject: [PATCH 1/2] [clang] Extend diagnose_if to accept more detailed
warni
https://github.com/PeterChou1 updated
https://github.com/llvm/llvm-project/pull/93281
>From f5872e7c82d097ae3c141765d3f1d7e3d0b25b82 Mon Sep 17 00:00:00 2001
From: PeterChou1
Date: Fri, 24 May 2024 04:28:08 -0400
Subject: [PATCH 1/3] clang-doc switched from using relative to absolute paths
---
Author: Timm Bäder
Date: 2024-06-29T09:42:36+02:00
New Revision: 8d3abc92d663552b97de083e77d2cc76164d0dd4
URL:
https://github.com/llvm/llvm-project/commit/8d3abc92d663552b97de083e77d2cc76164d0dd4
DIFF:
https://github.com/llvm/llvm-project/commit/8d3abc92d663552b97de083e77d2cc76164d0dd4.diff
LO
Author: Timm Bäder
Date: 2024-06-29T09:42:37+02:00
New Revision: 99ff5d5c963b8bd9ccae99fbb17b8fc537fe8095
URL:
https://github.com/llvm/llvm-project/commit/99ff5d5c963b8bd9ccae99fbb17b8fc537fe8095
DIFF:
https://github.com/llvm/llvm-project/commit/99ff5d5c963b8bd9ccae99fbb17b8fc537fe8095.diff
LO
Author: Timm Bäder
Date: 2024-06-29T09:42:37+02:00
New Revision: 58160e78e5ed82bdcc1dcbda4d57442aa4e1dd9e
URL:
https://github.com/llvm/llvm-project/commit/58160e78e5ed82bdcc1dcbda4d57442aa4e1dd9e
DIFF:
https://github.com/llvm/llvm-project/commit/58160e78e5ed82bdcc1dcbda4d57442aa4e1dd9e.diff
LO
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 8823448807f3b1a1362d1417e062d763734e02f5
48ceff111ef4ce2bfd6c9dd4ec7df272b35f3872 --
https://github.com/PeterChou1 edited
https://github.com/llvm/llvm-project/pull/93281
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/PeterChou1 edited
https://github.com/llvm/llvm-project/pull/93281
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Backl1ght updated
https://github.com/llvm/llvm-project/pull/97146
>From 5a443296eecbdf90d1cf274c3e52797be380bdd3 Mon Sep 17 00:00:00 2001
From: Backl1ght
Date: Sat, 29 Jun 2024 15:26:21 +0800
Subject: [PATCH 1/2] fix
---
clang/docs/ReleaseNotes.rst | 1 +
clang/lib
PeterChou1 wrote:
CC: @sam-mccall
I was told by @ilovepi and @petrhosek that you might have same insights with
libtooling/clang
We are currently facing some performance issues with clang-doc (a documentation
generator built on top of libtooling). The problem we're having is that it can
take u
https://github.com/PeterChou1 updated
https://github.com/llvm/llvm-project/pull/93281
>From f5872e7c82d097ae3c141765d3f1d7e3d0b25b82 Mon Sep 17 00:00:00 2001
From: PeterChou1
Date: Fri, 24 May 2024 04:28:08 -0400
Subject: [PATCH 1/3] clang-doc switched from using relative to absolute paths
---
Michael137 wrote:
> For CGExprConstant, the code is checking "empty" in the sense of whether
> there's a corresponding LLVM field. So almost certainly needs changes. Not
> sure how that isn't causing test failures; maybe there's missing test
> coverage.
Yea I was pretty sure we'd have to adju
ziyao233 wrote:
> (Sorry for the late reply. I have many notifications.)
>
> Can you print the relevant command line arguments before and after this
> patch? I think the current `-lc` is added in the normal no-as-needed mode:
> `... --no-as-needed -lc `
No, it isn't.
Without the patch,
```s
https://github.com/zyn0217 updated
https://github.com/llvm/llvm-project/pull/94740
>From 2f60e51f2017e4448047f64983b2f22cdb67e816 Mon Sep 17 00:00:00 2001
From: Younan Zhang
Date: Fri, 7 Jun 2024 18:08:10 +0800
Subject: [PATCH 1/5] [Clang] Substitute for the type aliases inside of a CTAD
guide
https://github.com/philnik777 updated
https://github.com/llvm/llvm-project/pull/70976
>From a91f499900d4cea4804833d004b6c4e54a7d8b15 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser
Date: Sun, 3 Sep 2023 17:26:28 -0700
Subject: [PATCH 1/3] [clang] Extend diagnose_if to accept more detailed
warni
Author: Nikita Popov
Date: 2024-06-29T11:50:28+02:00
New Revision: 5cc1287bdbb2de9ad91e4ba8dc9eeb9508c734a5
URL:
https://github.com/llvm/llvm-project/commit/5cc1287bdbb2de9ad91e4ba8dc9eeb9508c734a5
DIFF:
https://github.com/llvm/llvm-project/commit/5cc1287bdbb2de9ad91e4ba8dc9eeb9508c734a5.diff
@@ -2220,23 +2220,103 @@ namespace {
class ExtractTypeForDeductionGuide
: public TreeTransform {
llvm::SmallVectorImpl &MaterializedTypedefs;
+ ClassTemplateDecl *NestedPattern;
+ const MultiLevelTemplateArgumentList *OuterInstantiationArgs;
public:
typedef TreeTran
@@ -16,3 +16,73 @@ using T = A::B;
using Copy = decltype(copy);
using Copy = A::B;
+
+namespace GH94614 {
+
+template struct S {};
zyn0217 wrote:
Yeah, and I've even tried `#pragma clang __debug dump param,` which doesn't
work either...
I was expecting we
https://github.com/zyn0217 edited
https://github.com/llvm/llvm-project/pull/94740
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MitalAshok updated
https://github.com/llvm/llvm-project/pull/78060
>From 6ed7cad5d4993603221c3d9a777463675d69643b Mon Sep 17 00:00:00 2001
From: Mital Ashok
Date: Sat, 13 Jan 2024 18:03:15 +
Subject: [PATCH 1/3] [SemaCXX] Implement CWG2351 `void{}`
---
clang/docs/Releas
https://github.com/MitalAshok updated
https://github.com/llvm/llvm-project/pull/78112
>From 92f8720e3d21521b589d5291f086a2f32b87bfe0 Mon Sep 17 00:00:00 2001
From: Mital Ashok
Date: Sun, 14 Jan 2024 19:52:31 +
Subject: [PATCH 1/9] [clang] [SemaCXX] Implement CWG2627 Bit-fields and
narrowin
zyn0217 wrote:
So, here is the offending case:
```cpp
template
concept True = true;
template
using MeowMeow = decltype([](U...) {}.template operator()(U()...));
void foo() {
using T = MeowMeow;
}
```
In this example, the lambda does not have the `TypeAliasTemplateDecl` where it
is define
https://github.com/weliveindetail updated
https://github.com/llvm/llvm-project/pull/97071
From ca2ab5f9e3470e87923c7b950b7b06e5ff21119e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Gr=C3=A4nitz?=
Date: Fri, 28 Jun 2024 16:43:42 +0200
Subject: [PATCH 1/2] [clang-repl] Fix RuntimeInterfaceBu
weliveindetail wrote:
> Any chance of adding a test case?
We could add a lot more tests in general, but I don't think this specific
detail requires a dedicated one. It's a fix for an existing bug, so we have
coverage already.
https://github.com/llvm/llvm-project/pull/97071
___
https://github.com/MitalAshok updated
https://github.com/llvm/llvm-project/pull/90353
>From b81ffefb52981276b70570f878e3e75e30a49fbb Mon Sep 17 00:00:00 2001
From: Mital Ashok
Date: Sat, 27 Apr 2024 19:15:00 +0100
Subject: [PATCH] [Clang] Qualified functions can't decay into pointers
---
clan
zyn0217 wrote:
Thinking more, I still maintain that the check for `ParentFD` is redundant.
So, suppose we need to find a case to compromise the previous logic. In that
case, we need to find a generic lambda whose `Pattern` is defined inside a
function (i.e. `Pattern` is non-null) while its `In
https://github.com/MitalAshok updated
https://github.com/llvm/llvm-project/pull/92767
>From f87cb4c754a477515746e2ac2f8906b93ccd1fe3 Mon Sep 17 00:00:00 2001
From: Mital Ashok
Date: Mon, 20 May 2024 15:58:58 +0100
Subject: [PATCH 1/5] [Clang] [C23] Fix typeof_unqual for qualified array types
P
https://github.com/MitalAshok updated
https://github.com/llvm/llvm-project/pull/95112
>From e53dfbc9b2c6b7f30c1378731d7de284fa99d568 Mon Sep 17 00:00:00 2001
From: Mital Ashok
Date: Tue, 11 Jun 2024 14:26:38 +0100
Subject: [PATCH 1/5] [Clang] Implement CWG2813
---
clang/docs/ReleaseNotes.rst
https://github.com/MitalAshok updated
https://github.com/llvm/llvm-project/pull/95112
>From e53dfbc9b2c6b7f30c1378731d7de284fa99d568 Mon Sep 17 00:00:00 2001
From: Mital Ashok
Date: Tue, 11 Jun 2024 14:26:38 +0100
Subject: [PATCH 1/6] [Clang] Implement CWG2813
---
clang/docs/ReleaseNotes.rst
Author: Emilia Kond
Date: 2024-06-29T14:39:34+03:00
New Revision: 834ac2e205dd8e492d6084a7952e68e19a1f54db
URL:
https://github.com/llvm/llvm-project/commit/834ac2e205dd8e492d6084a7952e68e19a1f54db
DIFF:
https://github.com/llvm/llvm-project/commit/834ac2e205dd8e492d6084a7952e68e19a1f54db.diff
L
https://github.com/rymiel closed https://github.com/llvm/llvm-project/pull/96801
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/samolisov created
https://github.com/llvm/llvm-project/pull/97164
When clang compiles the following expression:
```c++
return A{B{"Move Ctor"}};
```
(where `B` is a base class for `A`), it adds a call to the move constructor of
`B`. When the code is changed to...
```c++
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Pavel Samolysov (samolisov)
Changes
When clang compiles the following expression:
```c++
return A{B{"Move Ctor"}};
```
(where `B` is a base class for `A`), it adds a call to the move constructor of
`B`. When the code is changed to...
`
https://github.com/samolisov updated
https://github.com/llvm/llvm-project/pull/97164
>From 0d9db6b69674dc3e33ab6b411c062b0126486d4c Mon Sep 17 00:00:00 2001
From: Pavel Samolysov
Date: Sat, 29 Jun 2024 15:18:11 +0300
Subject: [PATCH] [Clang][Sema] Add a test for move ctor calling for a base
cl
https://github.com/samolisov updated
https://github.com/llvm/llvm-project/pull/97164
>From edf0d10b41099068ef49a2d2fe0ce60356d2f2fd Mon Sep 17 00:00:00 2001
From: Pavel Samolysov
Date: Sat, 29 Jun 2024 15:18:11 +0300
Subject: [PATCH] [Clang][Sema] Add a test for move ctor calling for a base
cl
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-ppc64le-linux`
running on `ppc64le-sanitizer` while building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/72/builds/596
Here is the relevant piece of the buil
samolisov wrote:
This is a pre-fix test (but, actually, I have no fix for now) to demonstrate
the difference in compilation between some looking very similar pieces of the
code. I sure the root cause (if this is an issue at all) lies in
`SemaInit.cpp`, this is why I've added the developers who
@@ -437,7 +460,206 @@ void SemaHLSL::handleShaderAttr(Decl *D, const ParsedAttr
&AL) {
D->addAttr(NewAttr);
}
+struct register_binding_flags {
+ bool resource = false;
+ bool udt = false;
+ bool other = false;
+ bool basic = false;
+
+ bool srv = false;
+ bool uav =
https://github.com/Endilll updated
https://github.com/llvm/llvm-project/pull/96097
>From b77b2d9b10ad90ee67893904732003bf11eec21d Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Wed, 19 Jun 2024 19:47:43 +0200
Subject: [PATCH 1/3] [Clang] Move the builtin workaround logic to the lexer
---
@@ -21,6 +21,7 @@
#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Sema/Scope.h"
+#include "clang/Sema/Sema.h"
python3kgae wrote:
If only SemaHLSL.cpp needs the header, could we move the include to
SemaHLSL.cpp?
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 f80bd9b8a8103f39f5fece019abf86d41098cec1
f860bb65f8fe82aa1d5b727abb20de1cb8164b7e --
Author: Jie Fu
Date: 2024-06-29T21:42:26+08:00
New Revision: 74197925dcb144ba31c7abfc61494c31c03d1f64
URL:
https://github.com/llvm/llvm-project/commit/74197925dcb144ba31c7abfc61494c31c03d1f64
DIFF:
https://github.com/llvm/llvm-project/commit/74197925dcb144ba31c7abfc61494c31c03d1f64.diff
LOG: [
https://github.com/zyn0217 created
https://github.com/llvm/llvm-project/pull/97166
The noexcept specifiers of dependent lambdas would be transformed and rebuilt,
where the map of instantiation should also contain captured variables in case
they are used from the noexcept specifier.
I also unc
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Younan Zhang (zyn0217)
Changes
The noexcept specifiers of dependent lambdas would be transformed and rebuilt,
where the map of instantiation should also contain captured variables in case
they are used from the noexcept specifier.
I also
Stefan =?utf-8?q?Gr=C3=A4nitz?=
Message-ID:
In-Reply-To:
https://github.com/vgvassilev approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/97071
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/c
Author: Corentin Jabot
Date: 2024-06-29T09:23:41-05:00
New Revision: 101a936bde47744084e04a64aa9af85c75d03afd
URL:
https://github.com/llvm/llvm-project/commit/101a936bde47744084e04a64aa9af85c75d03afd
DIFF:
https://github.com/llvm/llvm-project/commit/101a936bde47744084e04a64aa9af85c75d03afd.diff
Author: Krzysztof Parzyszek
Date: 2024-06-29T09:37:32-05:00
New Revision: 0ce801f91cd79bd2f94469bdf4c48e82f2721ec1
URL:
https://github.com/llvm/llvm-project/commit/0ce801f91cd79bd2f94469bdf4c48e82f2721ec1
DIFF:
https://github.com/llvm/llvm-project/commit/0ce801f91cd79bd2f94469bdf4c48e82f2721ec1
https://github.com/kparzysz closed
https://github.com/llvm/llvm-project/pull/97089
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kparzysz edited
https://github.com/llvm/llvm-project/pull/97090
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
101 - 155 of 155 matches
Mail list logo