https://github.com/ojhunt edited
https://github.com/llvm/llvm-project/pull/117953
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -662,12 +662,13 @@ static EnumDecl *findEnumForBlockReturn(ReturnStmt *ret) {
/// Attempt to find a common type T for which all of the returned
/// expressions in a block are enumerator-like expressions of that
/// type.
-static EnumDecl *findCommonEnumForBlockReturns(ArrayR
@@ -575,8 +577,7 @@ void Sema::ActOnLambdaExplicitTemplateParameterList(
assert(LSI->TemplateParams.empty() &&
"Explicit template parameters should come "
"before invented (auto) ones");
- assert(!TParams.empty() &&
- "No template parameters to act
@@ -676,17 +677,18 @@ static EnumDecl
*findCommonEnumForBlockReturns(ArrayRef returns) {
}
// Never infer an anonymous enum type.
- if (!ED->hasNameForLinkage()) return nullptr;
+ if (!ED->hasNameForLinkage())
ojhunt wrote:
NFC formatting change
https
@@ -1207,12 +1222,61 @@ void
Sema::ActOnLambdaExpressionAfterIntroducer(LambdaIntroducer &Intro,
// for e.g., [n{0}] { }; <-- if no is included.
// FIXME: we should create the init capture variable and mark it invalid
// in this case.
- if (C->InitCaptu
@@ -662,12 +662,13 @@ static EnumDecl *findEnumForBlockReturn(ReturnStmt *ret) {
/// Attempt to find a common type T for which all of the returned
/// expressions in a block are enumerator-like expressions of that
/// type.
-static EnumDecl *findCommonEnumForBlockReturns(ArrayR
Endilll wrote:
Numbers for clang-format uncleanliness of `Parser.h` with changes from this PR:
`92 insertions(+), 87 deletions(-)` (all in grammar productions).
https://github.com/llvm/llvm-project/pull/138511
___
cfe-commits mailing list
cfe-commits@
@@ -1500,7 +1523,10 @@ FormatStyle getLLVMStyle(FormatStyle::LanguageKind
Language) {
LLVMStyle.AllowShortCaseLabelsOnASingleLine = false;
LLVMStyle.AllowShortCompoundRequirementOnASingleLine = true;
LLVMStyle.AllowShortEnumsOnASingleLine = true;
- LLVMStyle.AllowShortF
@@ -73,3 +73,4 @@ pythonenv*
/clang/utils/analyzer/projects/*/RefScanBuildResults
# automodapi puts generated documentation files here.
/lldb/docs/python_api/
+clang-build/
owenca wrote:
Why this?
https://github.com/llvm/llvm-project/pull/134337
_
https://github.com/madhur13490 closed
https://github.com/llvm/llvm-project/pull/139763
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Madhur Amilkanthwar
Date: 2025-05-14T10:23:17+05:30
New Revision: aef39f5dcb8b0c73cef4192c5d49a32de7d4ef44
URL:
https://github.com/llvm/llvm-project/commit/aef39f5dcb8b0c73cef4192c5d49a32de7d4ef44
DIFF:
https://github.com/llvm/llvm-project/commit/aef39f5dcb8b0c73cef4192c5d49a32de7d4ef44
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/139833
None
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/139833.diff
1 Files Affected:
- (modified) clang/lib/Sema/SemaARM.cpp (+1-1)
``diff
diff --git a/clang/lib/Sema/SemaARM.
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
We don't need to emit the nullptr and compare to it anymore.
---
Full diff: https://github.com/llvm/llvm-project/pull/139846.diff
1 Files Affected:
- (modified) clang/lib/AST/ByteCode/Compiler.cpp (+2-5)
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/139845
getCharByteWidth() returns an unsigned.
>From 4fa9f128a32eb30865cbf760c13091b6804a87c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 14 May 2025 06:57:39 +0200
Subject: [PATCH] [clang
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/139846
We don't need to emit the nullptr and compare to it anymore.
>From 0339fcfd54521c35b3612e2c91805dc179ed9fe7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 14 May 2025 06:57:55 +0200
Su
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
getCharByteWidth() returns an unsigned.
---
Full diff: https://github.com/llvm/llvm-project/pull/139845.diff
1 Files Affected:
- (modified) clang/lib/AST/ByteCode/Compiler.cpp (+1-1)
``diff
diff
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
Author: Jim Lin (tclin914)
Changes
The spec can be found at:
https://github.com/andestech/andes-v5-isa/releases/tag/ast-v5_4_0-release.
This patch only supports assembler.
Intrinsics support will be added in a later patch.
---
Full diff
https://github.com/tclin914 created
https://github.com/llvm/llvm-project/pull/139849
The spec can be found at:
https://github.com/andestech/andes-v5-isa/releases/tag/ast-v5_4_0-release.
This patch only supports assembler.
Intrinsics support will be added in a later patch.
>From bc8ae48aa392d2
llvmbot wrote:
@llvm/pr-subscribers-mc
Author: Jim Lin (tclin914)
Changes
The spec can be found at:
https://github.com/andestech/andes-v5-isa/releases/tag/ast-v5_4_0-release.
This patch only supports assembler.
Intrinsics support will be added in a later patch.
---
Full diff: https://gi
@@ -1825,6 +1825,37 @@ static ExprResult PointerAuthStringDiscriminator(Sema
&S, CallExpr *Call) {
return Call;
}
+static ExprResult GetVTablePointer(Sema &S, CallExpr *Call) {
+ if (S.checkArgCount(Call, 1))
+return ExprError();
+ ExprResult ThisArg = S.DefaultFuncti
@@ -1825,6 +1825,37 @@ static ExprResult PointerAuthStringDiscriminator(Sema
&S, CallExpr *Call) {
return Call;
}
+static ExprResult GetVTablePointer(Sema &S, CallExpr *Call) {
+ if (S.checkArgCount(Call, 1))
+return ExprError();
+ ExprResult ThisArg = S.DefaultFuncti
https://github.com/Wolfram70 updated
https://github.com/llvm/llvm-project/pull/139244
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans
https://github.com/cor3ntin commented:
Can you add tests for const types, and tests that check
`__is_same_as(decltype(__builtin_get_vtable_pointer(foo)), const void*)` ?
LGTM otherwise
https://github.com/llvm/llvm-project/pull/139790
___
cfe-commits m
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/139790
___
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 `lldb-x86_64-debian`
running on `lldb-x86_64-debian` while building `clang` at step 6 "test".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/162/builds/22351
Here is the relevant piece of the build lo
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/139833
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ritter-x2a wrote:
> If you would like to credit the original author for the PTRADD nodd that
> would be @davidchisnall (and probably some parts by @jrtc27, although that
> might just be the combines). I don't see any problems in landing that part
> separately
Sounds like a good use for GitHub
@@ -622,15 +622,38 @@ template <> struct
ScalarEnumerationTraits {
}
};
-template <> struct ScalarEnumerationTraits {
- static void enumeration(IO &IO, FormatStyle::ShortFunctionStyle &Value) {
-IO.enumCase(Value, "None", FormatStyle::SFS_None);
-IO.enumCase(Value,
@@ -619,20 +619,39 @@ TEST(ConfigParseTest, ParsesConfiguration) {
CHECK_PARSE("AllowShortBlocksOnASingleLine: true",
AllowShortBlocksOnASingleLine, FormatStyle::SBS_Always);
- Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline;
CHECK_PARSE("A
llvmbot wrote:
@llvm/pr-subscribers-hlsl
@llvm/pr-subscribers-clang
Author: Helena Kotas (hekota)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/139842.diff
3 Files Affected:
- (modified)
clang/test/CodeGenHLSL/builtins/ByteAddressBuffers-constructors.hlsl (+8-45)
https://github.com/hekota created
https://github.com/llvm/llvm-project/pull/139842
None
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,s
https://github.com/hekota edited
https://github.com/llvm/llvm-project/pull/139842
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,23 @@
+// RUN: rm -rf %t
+// RUN: split-file %s %t
+// RUN: %clang_cc1 -triple x86_64-linux-gnu -fsanitize=signed-integer-overflow
-fsanitize-ignorelist=%t/src.ignorelist -emit-llvm %t/test1.c -o - | FileCheck
%s -check-prefix=CHECK-ALLOWLIST
+// RUN: %clang_cc1 -trip
Author: Kazu Hirata
Date: 2025-05-13T23:52:51-07:00
New Revision: 65eb5e8b87f2d5755988e3d0eee4461180298b4d
URL:
https://github.com/llvm/llvm-project/commit/65eb5e8b87f2d5755988e3d0eee4461180298b4d
DIFF:
https://github.com/llvm/llvm-project/commit/65eb5e8b87f2d5755988e3d0eee4461180298b4d.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/139833
___
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/130458
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/139709
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-
Author: JJ Marr
Date: 2025-05-14T08:47:38+02:00
New Revision: b77109ff8c17cd20ac2c791761028a358c9e3447
URL:
https://github.com/llvm/llvm-project/commit/b77109ff8c17cd20ac2c791761028a358c9e3447
DIFF:
https://github.com/llvm/llvm-project/commit/b77109ff8c17cd20ac2c791761028a358c9e3447.diff
LOG:
github-actions[bot] wrote:
@jj-marr 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 build,
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building
`clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/174/builds/17728
Her
@@ -314,6 +308,11 @@ function(add_link_opts target_name)
set_property(TARGET ${target_name} APPEND_STRING PROPERTY
LINK_FLAGS " -Wl,-brtl")
endif()
+
+ if (NOT MINGW)
+llvm_check_linker_flag(CXX "-Wl,-Bsymbolic-functions"
+
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/139693
>From 79bb502c9ca1e35fb76b71b528cc7a12940ce1d8 Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Tue, 13 May 2025 11:00:51 +0200
Subject: [PATCH] [Clang] Remove workaround for libstdc++4.7
We document libstd
https://github.com/Endilll closed
https://github.com/llvm/llvm-project/pull/138511
___
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/139693
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: cor3ntin
Date: 2025-05-14T08:41:10+02:00
New Revision: 6c1bb48cc45396894597c8cb897c31205d1bdeb6
URL:
https://github.com/llvm/llvm-project/commit/6c1bb48cc45396894597c8cb897c31205d1bdeb6
DIFF:
https://github.com/llvm/llvm-project/commit/6c1bb48cc45396894597c8cb897c31205d1bdeb6.diff
LOG:
@@ -293,15 +293,14 @@ class LineJoiner {
auto ShouldMergeShortFunctions = [this, &I, &NextLine, PreviousLine,
TheLine]() {
- if (Style.AllowShortFunctionsOnASingleLine == FormatStyle::SFS_All)
+ if (Style.AllowShortFunctionsO
https://github.com/Wolfram70 updated
https://github.com/llvm/llvm-project/pull/139244
>From a9588758d03a80ce055725d7d7db0b0deb685f96 Mon Sep 17 00:00:00 2001
From: Srinivasa Ravi
Date: Wed, 7 May 2025 14:41:48 +0530
Subject: [PATCH] [NVPTX] Add intrinsics and clang builtins for conversions of
@@ -44,7 +44,8 @@ bool NoSanitizeList::containsFunction(SanitizerMask Mask,
bool NoSanitizeList::containsFile(SanitizerMask Mask, StringRef FileName,
StringRef Category) const {
- return SSCL->inSection(Mask, "src", FileName, Category);
+ bo
jj-marr wrote:
OK, merge whenever.
https://github.com/llvm/llvm-project/pull/130458
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cor3ntin wrote:
> Is it something I can actually do myself? Or can only maintainers merge?
Yes, only maintainers can do it (you can become a maintainer after you make a
few contributions)
https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access
https://github.com/llvm/llvm-project/p
@@ -1825,6 +1825,37 @@ static ExprResult PointerAuthStringDiscriminator(Sema
&S, CallExpr *Call) {
return Call;
}
+static ExprResult GetVTablePointer(Sema &S, CallExpr *Call) {
+ if (S.checkArgCount(Call, 1))
+return ExprError();
+ ExprResult ThisArg = S.DefaultFuncti
@@ -1825,6 +1825,37 @@ static ExprResult PointerAuthStringDiscriminator(Sema
&S, CallExpr *Call) {
return Call;
}
+static ExprResult GetVTablePointer(Sema &S, CallExpr *Call) {
+ if (S.checkArgCount(Call, 1))
+return ExprError();
+ ExprResult ThisArg = S.DefaultFuncti
@@ -1825,6 +1825,37 @@ static ExprResult PointerAuthStringDiscriminator(Sema
&S, CallExpr *Call) {
return Call;
}
+static ExprResult GetVTablePointer(Sema &S, CallExpr *Call) {
+ if (S.checkArgCount(Call, 1))
+return ExprError();
+ ExprResult ThisArg = S.DefaultFuncti
501 - 554 of 554 matches
Mail list logo