tyle DontAlign = getLLVMStyle();
DontAlign.AlignEscapedNewlines = FormatStyle::ENAS_DontAlign;
DontAlign.MaxEmptyLinesToKeep = 3;
``
https://github.com/llvm/llvm-project/pull/93402
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
DontAlign = getLLVMStyle();
DontAlign.AlignEscapedNewlines = FormatStyle::ENAS_DontAlign;
DontAlign.MaxEmptyLinesToKeep = 3;
``
https://github.com/llvm/llvm-project/pull/93402
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Style::ENAS_LeftWithLastLine;
+ verifyFormat(Code2, LastLine);
+
+ LastLine.ColumnLimit = 13;
+ verifyFormat(Code, LastLine);
+
+ LastLine.ColumnLimit = 0;
+ verifyFormat(Code2, LastLine);
+
FormatStyle DontAlign = getLLVMStyle();
DontAlign.AlignEscapedNewlines = FormatStyle::ENAS_DontAlign;
DontAlign.MaxEmptyLinesToKeep = 3;
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/93383
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
le) -> decltype(IntConstuctible()) {
+ return {};
+}
+
+void test() {
+ construct_at({});
+}
+
+}
_______
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
if (E->getParentContext() == SemaRef.CurContext)
return E;
_______
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
onal HasSpecializedDelete(CXXMethodDecl *Decl) {
+if (auto *Body = Decl->getBody())
+ return VisitBody(Body);
+if (auto *Tmpl = Decl->getTemplateInstantiationPattern())
rniwa wrote:
Oh oops, sorry about that.
https://github.com/llvm/llvm-project/pull/92837
_
lvm/llvm-project/pull/93338
_______
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ointer(int, const Descriptor*), but only for
Address==0
---
clang/lib/AST/Interp/MemberPointer.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/clang/lib/AST/Interp/MemberPointer.h
b/clang/lib/AST/Interp/MemberPointer.h
index d5299e0ff15c6..10ecc1d5ddf7f 100644
--- a/clang/lib/AST/Interp/MemberPointer.h
+++ b/clang/lib/AST/Interp/MemberPointer.h
@@ -32,9 +32,8 @@ class MemberPointer final {
MemberPointer() = default;
MemberPointer(Pointer Base, const Decl *Dcl) : Base(Base), Dcl(Dcl) {}
MemberPointer(uint32_t Address, const Descriptor *D) {
-// This should be impossible to hit, at least I've been unable
-// to write a test for it.
-assert(false && "This constructor shouldn't be reachable for
MemberPointers");
+// We only reach this for Address == 0, when creating a null member
pointer.
+assert(Address == 0);
}
MemberPointer(const Decl *D) : Dcl(D) {
>From c0f567ea4b46f70362beb23743227179bbad9a38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 26 May 2024 08:24:11 +0200
Subject: [PATCH 4/4] Fix another edge case
---
clang/lib/AST/Interp/MemberPointer.cpp | 3 +++
clang/test/AST/Interp/memberpointers.cpp | 13 +
2 files changed, 16 insertions(+)
diff --git a/clang/lib/AST/Interp/MemberPointer.cpp
b/clang/lib/AST/Interp/MemberPointer.cpp
index 976472b2871b8..96f63643e83c9 100644
--- a/clang/lib/AST/Interp/MemberPointer.cpp
+++ b/clang/lib/AST/Interp/MemberPointer.cpp
@@ -21,6 +21,9 @@ std::optional MemberPointer::toPointer(const Context
) const {
const FieldDecl *FD = cast(Dcl);
assert(FD);
+ if (!Base.isBlockPointer())
+return std::nullopt;
+
Pointer CastedBase =
(PtrOffset < 0 ? Base.atField(-PtrOffset) : Base.atFieldSub(PtrOffset));
diff --git a/clang/test/AST/Interp/memberpointers.cpp
b/clang/test/AST/Interp/memberpointers.cpp
index 2ee92c1f07708..54d73fe86ca18 100644
--- a/clang/test/AST/Interp/memberpointers.cpp
+++ b/clang/test/AST/Interp/memberpointers.cpp
@@ -182,3 +182,16 @@ namespace {
return x4.getMember(y);
}
}
+
+/// From test/CXX/basic/basic.def.odr/p2.cpp
+namespace {
+ void use(int);
+ struct S { int x; int f() const; };
+ constexpr S *ps = nullptr;
+ S *const = ps;
+
+ void test() {
+use(ps->*::x);
+use(psr->*::x);
+ }
+}
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
location to refer to the context in which they are used
tbaederr wrote:
```suggestion
// Rewrite to source location to refer to the context in which they are used.
```
https://github.com/llvm/llvm-project/pull/93383
___
cfe-commits mailing
only for
Address==0
---
clang/lib/AST/Interp/MemberPointer.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/clang/lib/AST/Interp/MemberPointer.h
b/clang/lib/AST/Interp/MemberPointer.h
index d5299e0ff15c6..10ecc1d5ddf7f 100644
--- a/clang/lib/AST/Interp/MemberPointer.h
+++ b/clang/lib/AST/Interp/MemberPointer.h
@@ -32,9 +32,8 @@ class MemberPointer final {
MemberPointer() = default;
MemberPointer(Pointer Base, const Decl *Dcl) : Base(Base), Dcl(Dcl) {}
MemberPointer(uint32_t Address, const Descriptor *D) {
-// This should be impossible to hit, at least I've been unable
-// to write a test for it.
-assert(false && "This constructor shouldn't be reachable for
MemberPointers");
+// We only reach this for Address == 0, when creating a null member
pointer.
+assert(Address == 0);
}
MemberPointer(const Decl *D) : Dcl(D) {
>From aec4975d63230e9f02d8536050c0aaf62c0cd686 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 26 May 2024 08:24:11 +0200
Subject: [PATCH 4/4] Fix another edge case
---
clang/lib/AST/Interp/MemberPointer.cpp | 3 +++
clang/test/AST/Interp/memberpointers.cpp | 14 ++
2 files changed, 17 insertions(+)
diff --git a/clang/lib/AST/Interp/MemberPointer.cpp
b/clang/lib/AST/Interp/MemberPointer.cpp
index 976472b2871b8..96f63643e83c9 100644
--- a/clang/lib/AST/Interp/MemberPointer.cpp
+++ b/clang/lib/AST/Interp/MemberPointer.cpp
@@ -21,6 +21,9 @@ std::optional MemberPointer::toPointer(const Context
) const {
const FieldDecl *FD = cast(Dcl);
assert(FD);
+ if (!Base.isBlockPointer())
+return std::nullopt;
+
Pointer CastedBase =
(PtrOffset < 0 ? Base.atField(-PtrOffset) : Base.atFieldSub(PtrOffset));
diff --git a/clang/test/AST/Interp/memberpointers.cpp
b/clang/test/AST/Interp/memberpointers.cpp
index 2ee92c1f07708..8612b29e9f5de 100644
--- a/clang/test/AST/Interp/memberpointers.cpp
+++ b/clang/test/AST/Interp/memberpointers.cpp
@@ -182,3 +182,17 @@ namespace {
return x4.getMember(y);
}
}
+
+/// From test/CXX/basic/basic.def.odr/p2.cpp
+namespace {
+ void use(int);
+ struct S { int x; int f() const; };
+ constexpr S *ps = nullptr;
+ S *const = ps; // expected-note 2{{here}}
+
+
+ void test() {
+use(ps->*::x); // ok (lvalue-to-rvalue conversion applied to
id-expression)
+use(psr->*::x); // expected-error {{reference to local variable}}
+ }
+}
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
here" note.
+ if (auto *FD = dyn_cast_or_null(ChosenDecl);
tbaederr wrote:
```suggestion
if (const auto *FD = dyn_cast_if_present(ChosenDecl);
```
https://github.com/llvm/llvm-project/pull/93394
___
cfe-commits mailing list
c
you
think and I'll add a FIXME then.
https://github.com/llvm/llvm-project/pull/93206
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hnakamura5 approved this pull request.
https://github.com/llvm/llvm-project/pull/92617
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
lfam pushed a commit to branch kernel-updates
in repository guix.
commit bb79f68cedba22b555a0ad69997754972aa5c428
Author: Wilko Meyer
AuthorDate: Sat May 25 19:12:54 2024 +0200
gnu: linux-libre 5.15: Update to 5.15.160.
* gnu/packages/linux.scm (linux-libre-5.15-version): Update to
lfam pushed a commit to branch kernel-updates
in repository guix.
commit 22333db8840733e3f482b8db4d51d6014f481c9a
Author: Wilko Meyer
AuthorDate: Sat May 25 19:12:55 2024 +0200
gnu: linux-libre 5.10: Update to 5.10.218.
* gnu/packages/linux.scm (linux-libre-5.10-version): Update to
lfam pushed a commit to branch kernel-updates
in repository guix.
commit 0b418d079f515f1a21a8df678676c0b63f7dfc2a
Author: Wilko Meyer
AuthorDate: Sat May 25 19:12:57 2024 +0200
gnu: linux-libre 4.19: Update to 4.19.315.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to
lfam pushed a commit to branch kernel-updates
in repository guix.
commit d4ed9dd57c9a9349995b2fadeeb7445385f9b443
Author: Wilko Meyer
AuthorDate: Sat May 25 19:12:56 2024 +0200
gnu: linux-libre 5.4: Update to 5.4.277.
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to
lfam pushed a commit to branch kernel-updates
in repository guix.
commit f219b99f2ffe68db2fcd4ca1ac743efc6f25bf89
Author: Wilko Meyer
AuthorDate: Sat May 25 19:12:52 2024 +0200
gnu: linux-libre 6.6: Update to 6.6.32.
* gnu/packages/linux.scm (linux-libre-6.6-version): Update to
lfam pushed a commit to branch kernel-updates
in repository guix.
commit 82b633aa0fdbd4bda8ae740ee7f1d5a618dd8d02
Author: Wilko Meyer
AuthorDate: Sat May 25 19:12:51 2024 +0200
gnu: linux-libre-6.8: Update to 6.8.11.
* gnu/packages/linux.scm (linux-libre-6.8-version): Update to
lfam pushed a commit to branch kernel-updates
in repository guix.
commit 90d938f41656e39c326c548468f224a3a4c03ae5
Author: Wilko Meyer
AuthorDate: Sat May 25 19:12:50 2024 +0200
gnu: linux-libre 6.9: Update to 6.9.2.
* gnu/packages/linux.scm (linux-libre-6.9-version): Update to
lfam pushed a commit to branch kernel-updates
in repository guix.
commit 9768d790494094cf213564840ba17059df092758
Author: Wilko Meyer
AuthorDate: Sat May 25 19:12:53 2024 +0200
gnu: linux-libre 6.1: Update to 6.1.92.
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to
lfam pushed a commit to branch kernel-updates
in repository guix.
commit 4e0c8860aa9fe4a06c935fb916aac03ede39c055
Author: Wilko Meyer
AuthorDate: Fri May 17 14:38:22 2024 +0200
gnu: linux-libre 6.9: Update to 6.9.1.
* gnu/packages/linux.scm (linux-libre-6.9-version): Update to
lfam pushed a change to branch kernel-updates
in repository guix.
at 0b418d079f gnu: linux-libre 4.19: Update to 4.19.315.
This branch includes the following new commits:
new 972ede798e gnu: Add linux-libre 6.9.
new 4e0c8860aa gnu: linux-libre 6.9: Update to 6.9.1.
new
https://github.com/owenca approved this pull request.
https://github.com/llvm/llvm-project/pull/92617
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 edited
https://github.com/llvm/llvm-project/pull/93388
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 edited
https://github.com/llvm/llvm-project/pull/93388
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
lfam pushed a change to branch kernel-updates
in repository guix.
was 0e24a7138a gnu: linux-libre 6.9: Update to 6.9.1.
This change permanently discards the following revisions:
discard 0e24a7138a gnu: linux-libre 6.9: Update to 6.9.1.
discard ec59f4807b gnu: Add linux-libre 6.9.
ected-note {{'AA' declared here}}
``
https://github.com/llvm/llvm-project/pull/93394
_______
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/JOE1994 edited
https://github.com/llvm/llvm-project/pull/93394
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/JOE1994 edited
https://github.com/llvm/llvm-project/pull/93394
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
\
- // expected-note {{'__sync_swap'
declared here}}
+ // not-expected-note
{{'__sync_swap' declared here}}
int AA() { return true;} // expected-note {{'AA' declared here}}
___
This is an automated email from the git hooks/post-receive script.
apteryx pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 1036f0 configure.ac: Set default value for the 'prefix' variable.
1036f0 is
https://github.com/davidstone updated
https://github.com/llvm/llvm-project/pull/93388
>From 0933b8e0f3161c0037516f677f1de2e72811d921 Mon Sep 17 00:00:00 2001
From: David Stone
Date: Sat, 25 May 2024 14:13:30 -0600
Subject: [PATCH 1/5] [clang][Modules] Move `ASTSourceDescriptor` into its own
https://github.com/davidstone updated
https://github.com/llvm/llvm-project/pull/93388
>From 0933b8e0f3161c0037516f677f1de2e72811d921 Mon Sep 17 00:00:00 2001
From: David Stone
Date: Sat, 25 May 2024 14:13:30 -0600
Subject: [PATCH 1/5] [clang][Modules] Move `ASTSourceDescriptor` into its own
https://github.com/davidstone updated
https://github.com/llvm/llvm-project/pull/93388
>From 0933b8e0f3161c0037516f677f1de2e72811d921 Mon Sep 17 00:00:00 2001
From: David Stone
Date: Sat, 25 May 2024 14:13:30 -0600
Subject: [PATCH 1/4] [clang][Modules] Move `ASTSourceDescriptor` into its own
https://github.com/davidstone updated
https://github.com/llvm/llvm-project/pull/93388
>From 0933b8e0f3161c0037516f677f1de2e72811d921 Mon Sep 17 00:00:00 2001
From: David Stone
Date: Sat, 25 May 2024 14:13:30 -0600
Subject: [PATCH 1/4] [clang][Modules] Move `ASTSourceDescriptor` into its own
om"
# gpg: Good signature from "Paolo Bonzini " [full]
# gpg: aka "Paolo Bonzini " [full]
* tag 'for-upstream' of https://gitlab.com/bonzini/qemu: (24 commits)
migration: remove unnecessary zlib dependency
meson: do not query modules before they are pro
blBaseVirtualDtorChecker.cpp:61:15:
warning: variable 'Tmpl' set but not used [-Wunused-but-set-variable]
```
https://github.com/llvm/llvm-project/pull/92837
_______
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
LocVisitor.h"
#include "clang/AST/UnresolvedSet.h"
-#include "clang/Basic/Module/ASTSourceDescriptor.h"
#include "clang/Basic/CommentOptions.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/DiagnosticError.h"
@@ -52,6 +51,7 @@
#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/LangOptions.h"
+#include "clang/Basic/Module/ASTSourceDescriptor.h"
#include "clang/Basic/Module/Module.h"
#include "clang/Basic/ObjCRuntime.h"
#include "clang/Basic/OpenACCKinds.h"
``
https://github.com/llvm/llvm-project/pull/93388
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
LocVisitor.h"
#include "clang/AST/UnresolvedSet.h"
-#include "clang/Basic/Module/ASTSourceDescriptor.h"
#include "clang/Basic/CommentOptions.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/DiagnosticError.h"
@@ -52,6 +51,7 @@
#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/LangOptions.h"
+#include "clang/Basic/Module/ASTSourceDescriptor.h"
#include "clang/Basic/Module/Module.h"
#include "clang/Basic/ObjCRuntime.h"
#include "clang/Basic/OpenACCKinds.h"
``
https://github.com/llvm/llvm-project/pull/93388
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/davidstone updated
https://github.com/llvm/llvm-project/pull/93388
>From 0933b8e0f3161c0037516f677f1de2e72811d921 Mon Sep 17 00:00:00 2001
From: David Stone
Date: Sat, 25 May 2024 14:13:30 -0600
Subject: [PATCH 1/3] [clang][Modules] Move `ASTSourceDescriptor` into its own
https://github.com/davidstone updated
https://github.com/llvm/llvm-project/pull/93388
>From 0933b8e0f3161c0037516f677f1de2e72811d921 Mon Sep 17 00:00:00 2001
From: David Stone
Date: Sat, 25 May 2024 14:13:30 -0600
Subject: [PATCH 1/3] [clang][Modules] Move `ASTSourceDescriptor` into its own
ang/lib/Basic/Module.cpp
+++ b/clang/lib/Basic/Module.cpp
@@ -11,7 +11,7 @@
//
//===--===//
-#include "clang/Basic/Module.h"
+#include "clang/Basic/Module/Module.h"
#include "clang/Basic/CharInfo.h&q
ang/lib/Basic/Module.cpp
+++ b/clang/lib/Basic/Module.cpp
@@ -11,7 +11,7 @@
//
//===--===//
-#include "clang/Basic/Module.h"
+#include "clang/Basic/Module/Module.h"
#include "clang/Basic/CharInfo.h&q
ang/lib/Basic/Module.cpp
+++ b/clang/lib/Basic/Module.cpp
@@ -11,7 +11,7 @@
//
//===--===//
-#include "clang/Basic/Module.h"
+#include "clang/Basic/Module/Module.h"
#include "clang/Basic/CharInfo.h"
ang/lib/Basic/Module.cpp
+++ b/clang/lib/Basic/Module.cpp
@@ -11,7 +11,7 @@
//
//===--===//
-#include "clang/Basic/Module.h"
+#include "clang/Basic/Module/Module.h"
#include "clang/Basic/CharInfo.h"
https://github.com/davidstone created
https://github.com/llvm/llvm-project/pull/93388
Depends on https://github.com/llvm/llvm-project/pull/67930
>From 0933b8e0f3161c0037516f677f1de2e72811d921 Mon Sep 17 00:00:00 2001
From: David Stone
Date: Sat, 25 May 2024 14:13:30 -0600
Subject: [PATCH 1/2]
https://github.com/davidstone created
https://github.com/llvm/llvm-project/pull/93388
Depends on https://github.com/llvm/llvm-project/pull/67930
>From 0933b8e0f3161c0037516f677f1de2e72811d921 Mon Sep 17 00:00:00 2001
From: David Stone
Date: Sat, 25 May 2024 14:13:30 -0600
Subject: [PATCH 1/2]
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web vi
": \"=r\" (var1), \"=\" (value)\n"
- ":\n"
-": \"memory\");");
- ASSERT_EQ(Tokens.size(), 19u) << Tokens;
- EXPECT_TOKEN(Tokens[0], tok::kw_asm, TT_Unknown);
- EXPECT_TOKEN(Tokens[3], tok::colon, TT_InlineASMColon);
- EXPECT_TOKEN(Tokens[13], tok::colon, TT_InlineASMColon);
- EXPECT_TOKEN(Tokens[14], tok::colon, TT_InlineASMColon);
-
- Tokens = annotate("asm (\n"
-"\"insn\"\n"
-": \"=r\" (var1), \"=\" (value)\n"
-":\n"
-": \"memory\");");
- ASSERT_EQ(Tokens.size(), 19u) << Tokens;
- EXPECT_TOKEN(Tokens[0], tok::kw_asm, TT_Unknown);
- EXPECT_TOKEN(Tokens[3], tok::colon, TT_InlineASMColon);
- EXPECT_TOKEN(Tokens[13], tok::colon, TT_InlineASMColon);
- EXPECT_TOKEN(Tokens[14], tok::colon, TT_InlineASMColon);
-
- Tokens = annotate("__asm__ (\n"
+ Tokens = annotate("asm(\n"
"\"insn\"\n"
": \"=r\" (var1), \"=\" (value)\n"
":\n"
@@ -1700,26 +1554,6 @@ TEST_F(TokenAnnotatorTest, UnderstandsAsm) {
EXPECT_TOKEN(Tokens[13], tok::colon, TT_InlineASMColon);
EXPECT_TOKEN(Tokens[14], tok::colon, TT_InlineASMColon);
- Tokens = annotate("__asm volatile (\n"
-"\"ldr r1, [r0, %%[sym]]\"\n"
-":\n"
-": [sym] \"J\" (a(, ))\n"
-");");
- ASSERT_EQ(Tokens.size(), 21u) << Tokens;
- EXPECT_TOKEN(Tokens[0], tok::kw_asm, TT_Unknown);
- EXPECT_TOKEN(Tokens[4], tok::colon, TT_InlineASMColon);
- EXPECT_TOKEN(Tokens[5], tok::colon, TT_InlineASMColon);
-
- Tokens = annotate("asm volatile (\n"
-"\"ldr r1, [r0, %%[sym]]\"\n"
-":\n"
-": [sym] \"J\" (a(, ))\n"
-");");
- ASSERT_EQ(Tokens.size(), 21u) << Tokens;
- EXPECT_TOKEN(Tokens[0], tok::kw_asm, TT_Unknown);
- EXPECT_TOKEN(Tokens[4], tok::colon, TT_InlineASMColon);
- EXPECT_TOKEN(Tokens[5], tok::colon, TT_InlineASMColon);
-
Tokens = annotate("__asm__ volatile (\n"
"\"ldr r1, [r0, %%[sym]]\"\n"
":\n"
>From 45806d41ac1b2903e4fb5aade0c58d6aecde60a9 Mon Sep 17 00:00:00 2001
From: Gedare Bloom
Date: Sat, 25 May 2024 17:08:40 -0600
Subject: [PATCH 6/6] Update clang/unittests/Format/TokenAnnotatorTest.cpp
Co-authored-by: Owen Pan
---
clang/unittests/Format/TokenAnnotatorTest.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/clang/unittests/Format/TokenAnnotatorTest.cpp
b/clang/unittests/Format/TokenAnnotatorTest.cpp
index ad9513b4c52e3..95d0235472f69 100644
--- a/clang/unittests/Format/TokenAnnotatorTest.cpp
+++ b/clang/unittests/Format/TokenAnnotatorTest.cpp
@@ -1563,6 +1563,7 @@ TEST_F(TokenAnnotatorTest, UnderstandsAsm) {
EXPECT_TOKEN(Tokens[0], tok::kw_asm, TT_Unknown);
EXPECT_TOKEN(Tokens[4], tok::colon, TT_InlineASMColon);
EXPECT_TOKEN(Tokens[5], tok::colon, TT_InlineASMColon);
+ EXPECT_TOKEN(Tokens[6], tok::l_square, TT_InlineASMSymbolicNameLSquare);
}
TEST_F(TokenAnnotatorTest, UnderstandsObjCBlock) {
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
;
+"\"ldr r1, [r0, %%[sym]]\"\n"
+":\n"
+ ": [sym] \"J\" (a(, ))\n"
+ ");");
+ ASSERT_EQ(Tokens.size(), 21u) << Tokens;
+ EXPECT_TOKEN(Tokens[0], tok::kw_asm, TT_Unknown);
+ EXPECT_TOKEN(Tokens[4], tok::colon, TT_InlineASMColon);
+ EXPECT_TOKEN(Tokens[5], tok::colon, TT_InlineASMColon);
}
gedare wrote:
Nice. I shouldn't review comments on my phone.
https://github.com/llvm/llvm-project/pull/92617
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
has the type of the target available
(here: library), so that's what it is restricted to.
> Then this change is +- fine.
Thank you
https://github.com/llvm/llvm-project/pull/89744
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://li
https://github.com/Meinersbur closed
https://github.com/llvm/llvm-project/pull/89744
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ToolsUnitTests PROPERTIES FOLDER "Extra Tools Unit
Tests")
+set_target_properties(ExtraToolsUnitTests PROPERTIES FOLDER "Clang Tools
Extra/Tests")
function(add_extra_unittest test_dirname)
add_unittest(ExtraToolsUnitTests ${test_dirname} ${ARGN})
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
:optional &&() const && {
-return *this ? std::move(**this) : std::optional();
- }
};
template
``
https://github.com/llvm/llvm-project/pull/93385
_______
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
rator std::optional &() const & {
-return *this ? **this : std::optional();
- }
- explicit operator std::optional &&() const && {
-return *this ? std::move(**this) : std::optional();
- }
};
template
___________
cfe-commits ma
This is an automated email from the git hooks/post-receive script.
vagrantc pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 94c8cec999 gnu: vcmi: Update to 1.5.1.
94c8cec999 is described below
commit
e your notification settings at
https://github.com/jenkins-infra/jenkins.io/settings/notifications
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-
.h
@@ -10,9 +10,15 @@
#define
LLDB_SOURCE_PLUGINS_EXPRESSIONPARSER_CLANG_CLANGEXTERNALASTSOURCECALLBACKS_H
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
-#include "clang/Basic/Module.h"
+#include "clang/Basic/ASTSourceDescriptor.h"
#include
+namespace clang {
+
+class Module;
+
+} // namespace clang
+
namespace lldb_private {
class ClangExternalASTSourceCallbacks : public clang::ExternalASTSource {
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
.h
@@ -10,9 +10,15 @@
#define
LLDB_SOURCE_PLUGINS_EXPRESSIONPARSER_CLANG_CLANGEXTERNALASTSOURCECALLBACKS_H
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
-#include "clang/Basic/Module.h"
+#include "clang/Basic/ASTSourceDescriptor.h"
#include
+namespace clang {
+
+class Module;
+
+} // namespace clang
+
namespace lldb_private {
class ClangExternalASTSourceCallbacks : public clang::ExternalASTSource {
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ails, change your notification settings at
https://github.com/jenkinsci/jenkins/settings/notifications
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
!Rec.ForRangeLifetimeExtendTemps.empty()) {
-const_cast &>(
-PrevRecord.ForRangeLifetimeExtendTemps)
-.append(Rec.ForRangeLifetimeExtendTemps);
+PrevRecord.ForRangeLifetimeExtendTemps.append(
+ Rec.ForRangeLifetimeExtendTemps);
}
WarnOnPendingNoDerefs(Rec);
"\"ldr r1, [r0, %%[sym]]\"\n"
+ ":\n"
+ ": [sym] \"J\" (a(, ))\n"
+");");
+ ASSERT_EQ(Tokens.size(), 21u) << Tokens;
+ EXPECT_TOKEN(Tokens[0], tok::kw_asm, TT_Unknown);
+ EXPECT_TOKEN(Tokens[4], tok::colon, TT_InlineASMColon);
+ EXPECT_TOKEN(Tokens[5], tok::colon, TT_InlineASMColon);
}
owenca wrote:
It’s an asm `l_square`.
https://github.com/llvm/llvm-project/pull/92617
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
glv pushed a commit to branch master
in repository guix.
commit 888d5268229e59b94c1e2616087bec4ca9d09a66
Author: Andre A. Gomes
AuthorDate: Sat May 25 21:18:28 2024 +0200
gnu: cl-misc-extensions: Update to 4.0.3.
* gnu/packages/lisp-xyz.scm (sbcl-misc-extensions): Update to 4.0.3.
glv pushed a change to branch master
in repository guix.
from 83fc6c7f72 gnu: lvm2: Remove systemd rule.
new 51966d1bae gnu: lisp-xyz : Sort packages.
new 888d526822 gnu: cl-misc-extensions: Update to 4.0.3.
The 2 revisions listed above as "new" are entirely new to this
repository
https://github.com/EricWF approved this pull request.
LGTM. Thanks for the fix.
https://github.com/llvm/llvm-project/pull/93383
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
template
+auto construct_at(IntConstuctible) -> decltype(IntConstuctible()) {
+ return {};
+}
+
+void test() {
+ construct_at({});
+}
+
+}
``
https://github.com/llvm/llvm-project/pull/93383
_______
cfe-commits mailing list
cfe-commits@li
Layer();
+auto *JITLinkObjLayer = llvm::dyn_cast();
+JITLinkObjLayer->setReturnObjectBuffer(
+[](std::unique_ptr MB) {
+ Objs.push_back(std::move(MB));
+});
+ JIT =
+return llvm::Error::success();
+ });
llvm::Error ErrOut = llvm::Error::success();
- CustomJBInterpreter Interp(std::move(CI), std::move(JBCreator), ErrOut);
+ CustomJBInterpreter Interp(std::move(CI), ErrOut, std::move(JB));
cantFail(std::move(ErrOut));
EXPECT_EQ(0U, Objs.size());
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
+auto construct_at(IntConstuctible) -> decltype(IntConstuctible()) {
+ return {};
+}
+
+void test() {
+ construct_at({});
+}
+
+}
_______
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/clayborg edited
https://github.com/llvm/llvm-project/pull/92014
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
ndexes.
https://github.com/llvm/llvm-project/pull/92014
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
https://github.com/clayborg approved this pull request.
On nit in the getitem python, but looks good! Thanks for all of the changes.
https://github.com/llvm/llvm-project/pull/92014
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
https
/notifications
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web vi
@ -3348,8 +3348,7 @@ bool ByteCodeExprGen::VisitCallExpr(const
CallExpr *E) {
return false;
if (!this->emitGetMemberPtrBase(E))
return false;
-} else {
- if (!this->visit(MC->getImplicitObjectArgument()))
+} else if (!this->visit(MC->getImplicitObjectArgument())) {
return false;
}
}
diff --git a/clang/lib/AST/Interp/MemberPointer.h
b/clang/lib/AST/Interp/MemberPointer.h
index a7551678eec20..d5299e0ff15c6 100644
--- a/clang/lib/AST/Interp/MemberPointer.h
+++ b/clang/lib/AST/Interp/MemberPointer.h
@@ -34,6 +34,7 @@ class MemberPointer final {
MemberPointer(uint32_t Address, const Descriptor *D) {
// This should be impossible to hit, at least I've been unable
// to write a test for it.
+assert(false && "This constructor shouldn't be reachable for
MemberPointers");
}
MemberPointer(const Decl *D) : Dcl(D) {
@@ -42,8 +43,7 @@ class MemberPointer final {
}
uint64_t getIntegerRepresentation() const {
-// This should be impossible to hit, at least I've been unable
-// to write a test for it.
+assert(false && "getIntegerRepresentation() shouldn't be reachable for
MemberPointers");
return 17;
}
>From d76c5855a2529c5849835043ef7d9d6a55280f8e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 25 May 2024 20:38:02 +0200
Subject: [PATCH 3/3] Allow MemberPointer(int, const Descriptor*), but only for
Address==0
---
clang/lib/AST/Interp/MemberPointer.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/clang/lib/AST/Interp/MemberPointer.h
b/clang/lib/AST/Interp/MemberPointer.h
index d5299e0ff15c6..10ecc1d5ddf7f 100644
--- a/clang/lib/AST/Interp/MemberPointer.h
+++ b/clang/lib/AST/Interp/MemberPointer.h
@@ -32,9 +32,8 @@ class MemberPointer final {
MemberPointer() = default;
MemberPointer(Pointer Base, const Decl *Dcl) : Base(Base), Dcl(Dcl) {}
MemberPointer(uint32_t Address, const Descriptor *D) {
-// This should be impossible to hit, at least I've been unable
-// to write a test for it.
-assert(false && "This constructor shouldn't be reachable for
MemberPointers");
+// We only reach this for Address == 0, when creating a null member
pointer.
+assert(Address == 0);
}
MemberPointer(const Decl *D) : Dcl(D) {
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
t;
+"\"ldr r1, [r0, %%[sym]]\"\n"
+":\n"
+ ": [sym] \"J\" (a(, ))\n"
+ ");");
+ ASSERT_EQ(Tokens.size(), 21u) << Tokens;
+ EXPECT_TOKEN(Tokens[0], tok::kw_asm, TT_Unknown);
+ EXPECT_TOKEN(Tokens[4], tok::colon, TT_InlineASMColon);
+ EXPECT_TOKEN(Tokens[5], tok::colon, TT_InlineASMColon);
}
gedare wrote:
There is no third colon in this test.
https://github.com/llvm/llvm-project/pull/92617
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
://github.com/jenkinsci/jenkins/settings/notifications
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-commits+unsubscr...@googlegroups.co
to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/stapler/push/
This is an automated email from the git hooks/post-receive script.
lbraun pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 83fc6c7f72 gnu: lvm2: Remove systemd rule.
83fc6c7f72 is described below
commit
, change your notification settings at
https://github.com/jenkinsci/jenkins/settings/notifications
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/stapler/push/
)
To unsubscribe from these emails, change your notification settings at
https://github.com/jenkinsci/stapler/settings/notifications
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails fro
https://github.com/PiotrZSL approved this pull request.
https://github.com/llvm/llvm-project/pull/89744
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
fine.
https://github.com/llvm/llvm-project/pull/89744
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/je
lbraun pushed a change to branch haskell-team
in repository guix.
at 3215052fcf gnu: ghc-9.2: Update to 9.2.8.
This branch includes the following new commits:
new d1832e63d5 gnu: ghc-9.2: Make Cabal respect GHC_PACKAGE_PATH
new 3215052fcf gnu: ghc-9.2: Update to 9.2.8.
The 2
lbraun pushed a commit to branch haskell-team
in repository guix.
commit d1832e63d5bc0897b1cfd9fa78190bca7a76f48d
Author: Sören Tempel
AuthorDate: Tue Dec 19 11:05:32 2023 +0100
gnu: ghc-9.2: Make Cabal respect GHC_PACKAGE_PATH
**tl;dr** Applying this patch makes Cabal work in Guix
lbraun pushed a commit to branch haskell-team
in repository guix.
commit 3215052fcf353a19f8bb55c127a0160a845df951
Author: Lars-Dominik Braun
AuthorDate: Sat May 25 12:22:34 2024 +0200
gnu: ghc-9.2: Update to 9.2.8.
* gnu/packages/haskell.scm (ghc-9.2): Update to 9.2.8.
https://github.com/rniwa closed https://github.com/llvm/llvm-project/pull/92837
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
if (otherObject)
+ otherObject->deref();
+else {
+ --refCount;
+ if (refCount)
+return;
+ delete this;
+}
+ }
+private:
+ RecursiveBaseClass* otherObject { nullptr };
+ mutable unsigned refCount { 0 };
+};
+
+class RecursiveDerivedClass : public RecursiveB
e your notification settings at
https://github.com/jenkins-infra/account-app/settings/notifications
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-
this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.c
ttings at
https://github.com/jenkins-infra/account-app/settings/notifications
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-
Meinersbur wrote:
> For me this entire change doesn't make sense.
Could you elaborate on why?
https://github.com/llvm/llvm-project/pull/89744
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
https://github.com/Meinersbur updated
https://github.com/llvm/llvm-project/pull/89744
>From 6f39beb9ee58d7c377dce6ba8ce69e71da5b8e09 Mon Sep 17 00:00:00 2001
From: Michael Kruse
Date: Tue, 23 Apr 2024 12:55:15 +0200
Subject: [PATCH 1/6] [llvm] Revise IDE folder structure
---
pull/89744
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/stapler/push/refs
101 - 200 of 1855513 matches
Mail list logo