DeinAlptraum wrote:
@Endilll I think I might not have been clear, the issue I am the most concerned
about is the following.
As an example, consider `clang_PrintingPolicy_getProperty`. Previously, it was
defined in `FUNCTION_LIST` as
```python
("clang_PrintingPolicy_getProperty", [PrintingPolic
https://github.com/jeremyd2019 approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/143115
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -99,6 +99,128 @@ enum class SamplerFeedbackType : uint32_t {
const unsigned MinWaveSize = 4;
const unsigned MaxWaveSize = 128;
+// Definition of the various d3d12.h enumerations and flags. The definitions of
+// all values here correspond to their description in the d3d12.h
https://github.com/kikairoya updated
https://github.com/llvm/llvm-project/pull/143115
>From c64472a188825a1d814ea0523a6097d25949d6fb Mon Sep 17 00:00:00 2001
From: kikairoya
Date: Sun, 25 May 2025 14:07:29 +0900
Subject: [PATCH 1/2] [Cygwin] va_list must be treated like normal Windows
Handling
https://github.com/joaosaffran approved this pull request.
https://github.com/llvm/llvm-project/pull/143019
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jeremyd2019 closed
https://github.com/llvm/llvm-project/pull/143166
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -979,6 +979,9 @@ class LLVM_LIBRARY_VISIBILITY CygwinX86_64TargetInfo :
public X86_64TargetInfo {
if (Opts.CPlusPlus)
Builder.defineMacro("_GNU_SOURCE");
}
+ BuiltinVaListKind getBuiltinVaListKind() const override {
jeremyd2019 wrote:
```sugge
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/143236.diff
1 Files Affected:
- (modified) clang/tools/clang-format/ClangFormat.cpp (+22-21)
``diff
diff --git a/clang/tools/clang-for
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/143236
None
>From 1ece3adee540295efbe04fc74876efd39549e577 Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Fri, 6 Jun 2025 23:10:18 -0700
Subject: [PATCH] [clang-format][NFC] Clean up fillRanges() in ClangFormat.cpp
---
kikairoya wrote:
I have a test already: https://github.com/llvm/llvm-project/pull/143115
https://github.com/llvm/llvm-project/pull/143166
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm
https://github.com/halbi2 updated
https://github.com/llvm/llvm-project/pull/142541
>From c683b2aa84cba1b7057592e50c542cd5645adde5 Mon Sep 17 00:00:00 2001
From: halbi2
Date: Mon, 26 May 2025 15:35:13 -0400
Subject: [PATCH 1/4] [clang] [test] More coverage of [[nodiscard]]
---
clang/test/SemaC
@@ -272,6 +273,26 @@ QualType ObjCMessageExpr::getCallReturnType(ASTContext
&Ctx) const {
return Ctx.getReferenceQualifiedType(this);
}
+std::pair
+ObjCMessageExpr::getUnusedResultAttr(ASTContext &Ctx) const {
+ // If the callee is marked nodiscard, return that attribute
+
jeremyd2019 wrote:
None of those really cry out to me as a place to add a cygwin test... but
adding a new test in CodeGen that validates that the va_list works the same on
windows and cygwin based on the existing tests wouldn't be too hard.
https://github.com/llvm/llvm-project/pull/143166
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/143228
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-06-06T22:55:42-07:00
New Revision: 4f304e2e7203d3deb97d20816836aae82de8b24c
URL:
https://github.com/llvm/llvm-project/commit/4f304e2e7203d3deb97d20816836aae82de8b24c
DIFF:
https://github.com/llvm/llvm-project/commit/4f304e2e7203d3deb97d20816836aae82de8b24c.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/143226
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-06-06T22:55:26-07:00
New Revision: 0ef1e69f224086e105ddaeebf2f90e7658a2fe93
URL:
https://github.com/llvm/llvm-project/commit/0ef1e69f224086e105ddaeebf2f90e7658a2fe93
DIFF:
https://github.com/llvm/llvm-project/commit/0ef1e69f224086e105ddaeebf2f90e7658a2fe93.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/143224
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-06-06T22:55:11-07:00
New Revision: d953ca5659d60c46c6e9352b6e75bb20d35d9e1d
URL:
https://github.com/llvm/llvm-project/commit/d953ca5659d60c46c6e9352b6e75bb20d35d9e1d
DIFF:
https://github.com/llvm/llvm-project/commit/d953ca5659d60c46c6e9352b6e75bb20d35d9e1d.diff
L
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`clang-aarch64-sve2-vla-2stage` running on `linaro-g4-02` while building
`clang` at step 12 "ninja check 2".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/199/builds/3909
Here is the relevant piece
brad0 wrote:
@no92 Ping.
https://github.com/llvm/llvm-project/pull/139271
___
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 HEAD~1 HEAD --extensions cpp --
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/143083
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Owen Pan
Date: 2025-06-06T20:43:35-07:00
New Revision: 0c495ce9c4237f0f090b672efd94839e52cb5f18
URL:
https://github.com/llvm/llvm-project/commit/0c495ce9c4237f0f090b672efd94839e52cb5f18
DIFF:
https://github.com/llvm/llvm-project/commit/0c495ce9c4237f0f090b672efd94839e52cb5f18.diff
LOG:
ojhunt wrote:
Updating formatting before review - had discussed with Louis and he expressed a
preference for some of it, but this llvm.org style bot complains many other
cases (likely a local config issue when I was trying to cleanup the downstream
code.
So I've updated with a direct clang-fo
asl wrote:
@kovdan01 @atrosinenko Please take a look
https://github.com/llvm/llvm-project/pull/143230
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ojhunt updated
https://github.com/llvm/llvm-project/pull/143230
>From 637245f9be6ed0163c9129d27a572f153b6f8523 Mon Sep 17 00:00:00 2001
From: Oliver Hunt
Date: Fri, 6 Jun 2025 18:50:28 -0700
Subject: [PATCH] [runtimes][PAC] Harden unwinding when possible (#138571)
This harde
https://github.com/ojhunt updated
https://github.com/llvm/llvm-project/pull/143230
>From 68103962b254565fdfad069c350af90ede7109b4 Mon Sep 17 00:00:00 2001
From: Oliver Hunt
Date: Fri, 6 Jun 2025 18:50:28 -0700
Subject: [PATCH] [runtimes][PAC] Harden unwinding when possible (#138571)
This harde
cjacek wrote:
> Hmm, so a "regular" mingw object file would end up having both DWARF (if
> building with -g) and codeview (for the compiler info)?
Yes.
> Does this cause confusion when linking (probably not, as it would either
> retain the DWARF or the codeview parts, depending on linker argu
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 HEAD~1 HEAD --extensions c,h,cpp,hpp --
compiler-rt/lib/builtins/gcc_personality_v0.c
ojhunt wrote:
I've finally got our downstream hardening to the point where it should be sane:
https://github.com/llvm/llvm-project/pull/143230
https://github.com/llvm/llvm-project/pull/113368
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
htt
llvmbot wrote:
@llvm/pr-subscribers-libcxxabi
@llvm/pr-subscribers-libunwind
Author: Oliver Hunt (ojhunt)
Changes
This hardens the unwinding logic and datastructures on systems that support
pointer authentication.
The approach taken to hardening is to harden the schemas of as many high v
https://github.com/ojhunt created
https://github.com/llvm/llvm-project/pull/143230
This hardens the unwinding logic and datastructures on systems that support
pointer authentication.
The approach taken to hardening is to harden the schemas of as many high value
fields in the myriad structs as
https://github.com/shiltian approved this pull request.
https://github.com/llvm/llvm-project/pull/143228
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shiltian approved this pull request.
https://github.com/llvm/llvm-project/pull/143226
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shiltian approved this pull request.
https://github.com/llvm/llvm-project/pull/143224
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/143228.diff
1 Files Affected:
- (modified) clang/lib/Sema/SemaDeclCXX.cpp (+1-2)
``diff
diff --git a/clang/lib/Sema/SemaDeclCXX.cp
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/143228
None
>From 70700b238caab426df97d2132a1cbcb56a3de1d5 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Fri, 6 Jun 2025 09:22:34 -0700
Subject: [PATCH] [clang] Use llvm::count (NFC)
---
clang/lib/Sema/Sem
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
We don't need lambdas here.
---
Full diff: https://github.com/llvm/llvm-project/pull/143226.diff
2 Files Affected:
- (modified) clang/lib/CodeGen/CGCall.cpp (+2-3)
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/143226
We don't need lambdas here.
>From e1f047717a0b39911ec5a9d698bc6bed8e56 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Fri, 6 Jun 2025 09:12:42 -0700
Subject: [PATCH] [clang] Strip away lambdas (NF
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/143224.diff
1 Files Affected:
- (modified) clang/lib/Sema/SemaOpenMP.cpp (+1-1)
``diff
diff --git a/clang/lib/Sema/SemaOpenMP.cpp
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/143224
None
>From 43d5ddb7d2f6ea21b9a7634dcbe5fca7964ec210 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Fri, 6 Jun 2025 11:04:39 -0700
Subject: [PATCH] [Sema] Drop const from a return type (NFC)
---
clang
https://github.com/DanielKristofKiss updated
https://github.com/llvm/llvm-project/pull/113368
>From 114455c05ea84fc47fd22a34490d388ba8d5ddc6 Mon Sep 17 00:00:00 2001
From: Daniel Kiss
Date: Wed, 16 Oct 2024 14:48:25 -0700
Subject: [PATCH 1/3] [libunwind][AArch64] Protect PC within libunwind's
https://github.com/andykaylor updated
https://github.com/llvm/llvm-project/pull/143195
>From 6fb28507d57ce04faa712b630e308ba029230fd5 Mon Sep 17 00:00:00 2001
From: Andy Kaylor
Date: Fri, 30 May 2025 16:07:19 -0700
Subject: [PATCH 1/2] [CIR] Add support for accessing members of base classes
Th
snarang181 wrote:
> LGTM. Thanks for the patch
Awesome, feel free to merge when you see fit. I don't think I can do so myself.
https://github.com/llvm/llvm-project/pull/142273
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm
https://github.com/ilovepi approved this pull request.
LGTM. Thanks for the patch
https://github.com/llvm/llvm-project/pull/142273
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ilovepi edited
https://github.com/llvm/llvm-project/pull/142273
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Wenju He
Date: 2025-06-07T08:05:13+08:00
New Revision: 8a51fb29b6f315f1ee0ba3b0b9f0f4a4c2b51dcc
URL:
https://github.com/llvm/llvm-project/commit/8a51fb29b6f315f1ee0ba3b0b9f0f4a4c2b51dcc
DIFF:
https://github.com/llvm/llvm-project/commit/8a51fb29b6f315f1ee0ba3b0b9f0f4a4c2b51dcc.diff
LOG:
Author: erichkeane
Date: 2025-06-06T17:06:49-07:00
New Revision: eed98e1493414ae9c30596b1eeb8f4a9b260e42a
URL:
https://github.com/llvm/llvm-project/commit/eed98e1493414ae9c30596b1eeb8f4a9b260e42a
DIFF:
https://github.com/llvm/llvm-project/commit/eed98e1493414ae9c30596b1eeb8f4a9b260e42a.diff
LO
wenju-he wrote:
thank you @nathanchance for the review.
https://github.com/llvm/llvm-project/pull/142509
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he closed
https://github.com/llvm/llvm-project/pull/142509
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: erichkeane
Date: 2025-06-06T16:54:58-07:00
New Revision: 4eb72312e26b19f745d57bbafad3b378493bce70
URL:
https://github.com/llvm/llvm-project/commit/4eb72312e26b19f745d57bbafad3b378493bce70
DIFF:
https://github.com/llvm/llvm-project/commit/4eb72312e26b19f745d57bbafad3b378493bce70.diff
LO
https://github.com/evelez7 updated
https://github.com/llvm/llvm-project/pull/142483
>From 806c2c1f1846879f0217398f81f36a8e49447bdf Mon Sep 17 00:00:00 2001
From: Erick Velez
Date: Mon, 2 Jun 2025 12:53:36 -0700
Subject: [PATCH 1/6] [clang-doc] add a JSON generator
---
clang-tools-extra/clang-
Author: erichkeane
Date: 2025-06-06T16:36:11-07:00
New Revision: b09b1d65efd7a3d6dd4f61333a5f09c0e69b42a4
URL:
https://github.com/llvm/llvm-project/commit/b09b1d65efd7a3d6dd4f61333a5f09c0e69b42a4
DIFF:
https://github.com/llvm/llvm-project/commit/b09b1d65efd7a3d6dd4f61333a5f09c0e69b42a4.diff
LO
https://github.com/nathanchance approved this pull request.
Sorry, did not realize you were waiting on me to review. I am still reverting
this locally so LGTM.
https://github.com/llvm/llvm-project/pull/142509
___
cfe-commits mailing list
cfe-commits@l
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/143195
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
snehasish wrote:
Thanks for sharing the draft, here are my thoughts --
1. The Darwin sanitizer changes are numerous but as you noted, a matter of
following what asan does today. I don't think there are any fundamental
challenges to making it work (though I am not a CMake expert). For the
comm
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/142288
>From 758e921e4811697269a317b693ef40e1dcf46d61 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sat, 31 May 2025 19:53:56 +0200
Subject: [PATCH 1/6] [CIR] Upstream ShuffleOp for VectorType
---
clang/incl
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/143214
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3619,6 +3619,19 @@ class Sema final : public SemaBase {
SourceLocation NameLoc,
bool IsTemplateTypeArg);
+ /// Computes the unique Root Signature identifier from the given signature,
-
@@ -3619,6 +3619,19 @@ class Sema final : public SemaBase {
SourceLocation NameLoc,
bool IsTemplateTypeArg);
+ /// Computes the unique Root Signature identifier from the given signature,
+ /// then l
@@ -4942,18 +4942,13 @@ void
Parser::ParseMicrosoftRootSignatureAttributeArgs(ParsedAttributes &Attrs) {
// Construct our identifier
hekota wrote:
Not really related to this change, I just noticed the
`ParseMicrosoftRootSignatureAttributeArgs` name. Would
Artem-B wrote:
@yxsamliu Sam, do you have any thoughts on this?
https://github.com/llvm/llvm-project/pull/142857
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,11 @@
+// RUN: %clang_cc1 -triple aarch64 -ast-dump -ast-dump-filter foo %s \
+// RUN: | FileCheck --strict-whitespace %s
+
+// CHECK: {{foo1 'void \(\) __attribute__\(\(device_kernel\)\)'$}}
sarnex wrote:
applied this change and added a release note,
https://github.com/andykaylor approved this pull request.
lgtm
https://github.com/llvm/llvm-project/pull/142288
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sarnex updated
https://github.com/llvm/llvm-project/pull/143160
>From 56f19d4f839d1c65a3f1145fcdcac5207ff61c11 Mon Sep 17 00:00:00 2001
From: "Sarnie, Nick"
Date: Fri, 6 Jun 2025 08:21:56 -0700
Subject: [PATCH 1/5] [clang][AST] Fix spaces TypePrinter for some calling
convs
https://github.com/vitalybuka approved this pull request.
https://github.com/llvm/llvm-project/pull/141997
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tarunprabhu approved this pull request.
https://github.com/llvm/llvm-project/pull/142800
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/inbelic updated
https://github.com/llvm/llvm-project/pull/143041
>From e9d782af7335af47b83db3bffcc6b91a6465ee6f Mon Sep 17 00:00:00 2001
From: Finn Plummer
Date: Thu, 5 Jun 2025 18:40:36 +
Subject: [PATCH 1/6] move defs to DXILABI
---
.../llvm/Frontend/HLSL/HLSLRootSign
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Erick Velez (evelez7)
Changes
Adds a JSON generator backend to emit mapped information as JSON. This will
enable a better testing format for upcoming changes. It can also potentially
serve to feed our other backend generators
@@ -0,0 +1,194 @@
+// RUN: rm -rf %t && mkdir -p %t
+// RUN: clang-doc --output=%t --format=json --executor=standalone %s
+// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.json
+
+struct Foo;
+
+// This is a nice class.
+// It has some nice methods and fields.
+// @brief This is
@@ -143,3 +143,8 @@ namespace fold_initializer {
const float A::f = __builtin_is_constant_evaluated();
static_assert(fold(A::f == 1.0f));
}
+
+struct GH99680 {
+ static const int x = 1/(1-__builtin_is_constant_evaluated()); //
expected-error {{in-class initializer for sta
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: Andy Kaylor (andykaylor)
Changes
Although support for declaring enums and using value's whose type was an enumi
was previously upstreamed, we didn't have support for referencing the constant
values declared in the enum. This change adds
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Andy Kaylor (andykaylor)
Changes
Although support for declaring enums and using value's whose type was an enumi
was previously upstreamed, we didn't have support for referencing the constant
values declared in the enum. This change adds t
https://github.com/andykaylor created
https://github.com/llvm/llvm-project/pull/143214
Although support for declaring enums and using value's whose type was an enumi
was previously upstreamed, we didn't have support for referencing the constant
values declared in the enum. This change adds tha
Author: Nuri Amari
Date: 2025-06-06T17:58:19-04:00
New Revision: 347186b25969adcb8621c0b21226f10e7a193f8d
URL:
https://github.com/llvm/llvm-project/commit/347186b25969adcb8621c0b21226f10e7a193f8d
DIFF:
https://github.com/llvm/llvm-project/commit/347186b25969adcb8621c0b21226f10e7a193f8d.diff
LO
Author: Thurston Dang
Date: 2025-06-06T14:59:32-07:00
New Revision: 428afa62b0aa1bb0ac344cbfc62429a60c42b265
URL:
https://github.com/llvm/llvm-project/commit/428afa62b0aa1bb0ac344cbfc62429a60c42b265
DIFF:
https://github.com/llvm/llvm-project/commit/428afa62b0aa1bb0ac344cbfc62429a60c42b265.diff
@@ -143,3 +143,8 @@ namespace fold_initializer {
const float A::f = __builtin_is_constant_evaluated();
static_assert(fold(A::f == 1.0f));
}
+
+struct GH99680 {
+ static const int x = 1/(1-__builtin_is_constant_evaluated()); //
expected-error {{in-class initializer for sta
@@ -16,7 +16,7 @@
; argc is the first debug location.
; ASM: .Ldebug_loc1:
; ASM-NEXT: .quad .Lfunc_begin0-.Lfunc_begin0
-; ASM-NEXT: .quad [[argc_range_end]]-.Lfunc_begin0
+; ASM-NEXT: .quad .Ltmp3-.Lfunc_begin0
cjacek wrote:
The test emits DWARF debug
https://github.com/ilovepi edited
https://github.com/llvm/llvm-project/pull/142483
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,194 @@
+// RUN: rm -rf %t && mkdir -p %t
+// RUN: clang-doc --output=%t --format=json --executor=standalone %s
+// RUN: FileCheck %s < %t/GlobalNamespace/MyClass.json
+
+struct Foo;
+
+// This is a nice class.
+// It has some nice methods and fields.
+// @brief This is
@@ -143,3 +143,8 @@ namespace fold_initializer {
const float A::f = __builtin_is_constant_evaluated();
static_assert(fold(A::f == 1.0f));
}
+
+struct GH99680 {
+ static const int x = 1/(1-__builtin_is_constant_evaluated()); //
expected-error {{in-class initializer for sta
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/143192
>From 0ee92db03198e2364ade53e5c0bbd0f844fe634f Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Fri, 6 Jun 2025 20:56:49 +0200
Subject: [PATCH 1/2] [CIR] Upstream CreateOp for ComplexType with folder
---
@@ -1845,8 +1986,14 @@ class _LIBUNWIND_HIDDEN Registers_arm64 {
uint64_t getSP() const { return _registers.__sp; }
void setSP(uint64_t value) { _registers.__sp = value; }
- uint64_t getIP() const { return _registers.__pc; }
- void setIP(uint6
Author: Cameron McInally
Date: 2025-06-06T17:59:24-04:00
New Revision: a42bb8b57a6dcf298789ae88b36a19e151fb
URL:
https://github.com/llvm/llvm-project/commit/a42bb8b57a6dcf298789ae88b36a19e151fb
DIFF:
https://github.com/llvm/llvm-project/commit/a42bb8b57a6dcf298789ae88b36a19e151fb.di
@@ -143,3 +143,8 @@ namespace fold_initializer {
const float A::f = __builtin_is_constant_evaluated();
static_assert(fold(A::f == 1.0f));
}
+
+struct GH99680 {
+ static const int x = 1/(1-__builtin_is_constant_evaluated()); //
expected-error {{in-class initializer for sta
https://github.com/thurstond closed
https://github.com/llvm/llvm-project/pull/141997
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/eugeneepshteyn closed
https://github.com/llvm/llvm-project/pull/142800
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/NuriAmari closed
https://github.com/llvm/llvm-project/pull/129736
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mcinally wrote:
All checks have passed, if someone wouldn't mind merging for me. Thanks in
advance!
https://github.com/llvm/llvm-project/pull/142800
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
@@ -3167,3 +3167,25 @@ void tools::handleInterchangeLoopsArgs(const ArgList
&Args,
options::OPT_fno_loop_interchange, EnableInterchange))
CmdArgs.push_back("-floop-interchange");
}
+
+// Parse -mprefer-vector-width=. Return the Value string if well-forme
https://github.com/evelez7 ready_for_review
https://github.com/llvm/llvm-project/pull/142483
___
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 HEAD~1 HEAD --extensions h,cpp --
clang-tools-extra/clang-tidy/bugprone/SizeofExpress
https://github.com/malavikasamak updated
https://github.com/llvm/llvm-project/pull/143205
>From 52e4413ea1e701dfe0b24cf957a26bb72732f066 Mon Sep 17 00:00:00 2001
From: MalavikaSamak
Date: Wed, 21 May 2025 16:06:44 -0700
Subject: [PATCH 1/2] Place holder message for sizeof operator in loops.
--
mstorsjo wrote:
> I'm not seeing an obvious place for a target-specific va_list test, can you
> suggest where this would go?
No idea offhand; I tried breaking the existing `getBuiltinVaListKind` for
`WindowsX86_64TargetInfo` and running `check-clang`, which caused failures in
the following te
@@ -143,3 +143,8 @@ namespace fold_initializer {
const float A::f = __builtin_is_constant_evaluated();
static_assert(fold(A::f == 1.0f));
}
+
+struct GH99680 {
+ static const int x = 1/(1-__builtin_is_constant_evaluated()); //
expected-error {{in-class initializer for sta
vitalybuka wrote:
> By "switch to" do you mean remove
I mean downstream we already like how nice e.g `__ubsan_check_array_bounds` in
the top of the crash thread.
If we have `__clang_trap_msg_array_bounds`, it's as good as
`__ubsan_check_array_bounds` now.
https://github.com/llvm/llvm-pro
inbelic wrote:
Based on feedback here: https://github.com/llvm/llvm-project/pull/143198. I
will address this feedback before this can be merged.
https://github.com/llvm/llvm-project/pull/143019
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
h
https://github.com/andykaylor edited
https://github.com/llvm/llvm-project/pull/143192
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/inbelic converted_to_draft
https://github.com/llvm/llvm-project/pull/143019
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 545 matches
Mail list logo