https://github.com/d3x0r updated
https://github.com/llvm/llvm-project/pull/118188
>From 8ce527dc2cc7ac285f782648838664491abffc30 Mon Sep 17 00:00:00 2001
From: d3x0r
Date: Sat, 30 Nov 2024 02:32:40 -0800
Subject: [PATCH 1/3] Add *.cjs handling for JavaScript Language.
---
clang/lib/Format/For
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/118274
instead of silently accepting them and failing later.
>From 989573d4b67760096a40edfae42f853a55f893fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 2 Dec 2024 10:36:58 +0100
Subject: [
graphite-app[bot] wrote:
## Your org has enabled the Graphite merge queue for merging into main
Add the label “FP Bundles” to the PR and Graphite will automatically add it to
the merge queue when it’s ready to merge.
You must have a Graphite account and log in to Graphite in order to use the
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
instead of silently accepting them and failing later.
---
Full diff: https://github.com/llvm/llvm-project/pull/118274.diff
1 Files Affected:
- (modified) clang/lib/AST/ByteCode/Compiler.cpp (+2)
```
graphite-app[bot] wrote:
## Your org has enabled the Graphite merge queue for merging into main
Add the label “FP Bundles” to the PR and Graphite will automatically add it to
the merge queue when it’s ready to merge.
You must have a Graphite account and log in to Graphite in order to use the
@@ -10488,7 +10488,14 @@ static bool AnalyzeBitFieldAssignment(Sema &S,
FieldDecl *Bitfield, Expr *Init,
// The RHS is not constant. If the RHS has an enum type, make sure the
// bitfield is wide enough to hold all the values of the enum without
// truncation.
-
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/118278
Not handling all the special- and error cases yet. Just making sure the bitcast
code can be used for this as well.
>From 9313b6992afc5e49b0c863b1ad0513b1d75bfc83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=2
graphite-app[bot] wrote:
## Your org has enabled the Graphite merge queue for merging into main
Add the label “FP Bundles” to the PR and Graphite will automatically add it to
the merge queue when it’s ready to merge.
You must have a Graphite account and log in to Graphite in order to use the
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
Not handling all the special- and error cases yet. Just making sure the bitcast
code can be used for this as well.
---
Full diff: https://github.com/llvm/llvm-project/pull/118278.diff
2 Files Affected:
-
@@ -50,20 +50,30 @@ using TypeSpec = std::string;
namespace {
class SVEType {
- bool Float, Signed, Immediate, Void, Constant, Pointer, BFloat, MFloat;
- bool DefaultType, IsScalable, Predicate, PredicatePattern, PrefetchOp,
- Svcount;
+
+ enum TypeKind {
+Void,
+
https://github.com/emaxx-google edited
https://github.com/llvm/llvm-project/pull/118281
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/emaxx-google edited
https://github.com/llvm/llvm-project/pull/118281
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2024-12-02T13:11:22+01:00
New Revision: 0611fdd32046c41647a7719252166033f7bce2f2
URL:
https://github.com/llvm/llvm-project/commit/0611fdd32046c41647a7719252166033f7bce2f2
DIFF:
https://github.com/llvm/llvm-project/commit/0611fdd32046c41647a7719252166033f7bce2f2.diff
L
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Maksim Ivanov (emaxx-google)
Changes
Emit the "cannot be applied to types" warning instead of silently ignoring the
attribute when it's attempted to be used on a type (instead of a function
argument or the function definition).
Before th
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/118278
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/emaxx-google ready_for_review
https://github.com/llvm/llvm-project/pull/118281
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/118287
None
>From 4c5d7a068871216dfa57f03412c2e47b4e58f865 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 2 Dec 2024 13:11:04 +0100
Subject: [PATCH] [clang][bytecode] Implement __builtin_redu
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/118287.diff
3 Files Affected:
- (modified) clang/lib/AST/ByteCode/Integral.h (+3-1)
- (modified) clang/lib/AST/ByteCode/InterpBuiltin.cpp (+32-21)
graphite-app[bot] wrote:
## Your org has enabled the Graphite merge queue for merging into main
Add the label “FP Bundles” to the PR and Graphite will automatically add it to
the merge queue when it’s ready to merge.
You must have a Graphite account and log in to Graphite in order to use the
@@ -292,7 +292,7 @@ class ArgType {
};
private:
- const Kind K;
+ Kind K;
apple-fcloutier wrote:
The `const` field was the only thing that prevented `ArgType` from getting a
copy constructor and assignment operators.
https://github.com/llvm/llvm-project
@@ -0,0 +1 @@
+-ffast-math -Wl,--as-needed | -lm -Wl,-Bstatic -lhappy -Wl,-Bdynamic
pawosm-arm wrote:
mid-air collision. yeah, either '$' or '@' would do :)
https://github.com/llvm/llvm-project/pull/117573
___
cfe-com
jyknight wrote:
Hm, I had a thought which might meet the needs here, and not add additional
confusion: we could have the Darwin SDKROOT environment variable override both
`-isysroot` and `--sysroot`. Would that help the original issue?
https://github.com/llvm/llvm-project/pull/115993
_
https://github.com/shafik commented:
This looks good but I want agreement on the diagnostic message.
https://github.com/llvm/llvm-project/pull/118031
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
https://github.com/erichkeane commented:
Also forgot: this needs a release note.
https://github.com/llvm/llvm-project/pull/118031
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/118031
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/nickdesaulniers approved this pull request.
https://github.com/llvm/llvm-project/pull/117140
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ilya-biryukov approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/118281
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -10264,6 +10264,10 @@ def warn_depr_array_comparison : Warning<
"to compare array addresses, use unary '+' to decay operands to pointers">,
InGroup;
+def warn_array_comparison : Warning<
+ "comparison between two arrays compare their addresses and will be
deprecated i
https://github.com/AmrDeveloper edited
https://github.com/llvm/llvm-project/pull/118031
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AmrDeveloper edited
https://github.com/llvm/llvm-project/pull/118031
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Szelethus created
https://github.com/llvm/llvm-project/pull/118291
Discussion here:
https://discourse.llvm.org/t/analyzer-rfc-taming-z3-query-times/79520/15?u=szelethus
The original patch, #97298 introduced new timeouts backed by thorough testing
and measurements to keep the
@@ -0,0 +1 @@
+-ffast-math -Wl,--as-needed | -lm -Wl,-Bstatic -lhappy -Wl,-Bdynamic
pawosm-arm wrote:
Seems neither '$' nor '@' is the best choice, '$' looks like shell variable
expansion, so I'll do `^`, e.g., '^-Wl,-Bstatic`.
https://github.com/llvm/llvm-pro
@@ -10264,6 +10264,11 @@ def warn_depr_array_comparison : Warning<
"to compare array addresses, use unary '+' to decay operands to pointers">,
InGroup;
+def warn_array_comparison : Warning<
+ "comparison between two arrays; "
AmrDeveloper wrote:
I think
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/118307.diff
2 Files Affected:
- (modified) clang/lib/AST/ByteCode/InterpBuiltin.cpp (+40)
- (modified) clang/test/AST/ByteCode/builtin-functions.c
cachemeifyoucan wrote:
I think the correct solution for Homebrew is to never use `--sysroot` and
switch to `-isysroot` since the former is almost never used on Darwin platforms.
https://github.com/llvm/llvm-project/pull/115993
___
cfe-commits mailing
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/118313
>From 577c2b7622d81fba7fe39607e48907d6f47ef9eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 2 Dec 2024 16:47:50 +0100
Subject: [PATCH] [clang][bytecode] Check __builtin_memcpy for nul
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it
GeorgeKA wrote:
@frederick-vs-ja, were you looking for specific wording for
source_location()::current().column(), or does this cover it?
https://github.com/llvm/llvm-project/pull/118360
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://
https://github.com/SpencerAbson updated
https://github.com/llvm/llvm-project/pull/118115
>From a92b7a9faba65931918e4c3d6763896f1e1eda6b Mon Sep 17 00:00:00 2001
From: Spencer Abson
Date: Mon, 25 Nov 2024 21:47:20 +
Subject: [PATCH] [AArch64] Implement intrinsics for SME FP8 FMOPA
---
clan
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/118031
>From 9451a1e4f5db18d579b5f7eb206482708c9adc70 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Tue, 26 Nov 2024 22:28:16 +0100
Subject: [PATCH 01/11] Add support for '-Warray-compare' compiler flag
---
danilaml wrote:
@nikic By the way, are there plans to support allocation functions other than
alloca in this check? I don't see currently any llvm passes assigning
dereferenceable(_or_null) attribute to something like `malloc(42)` , but I
don't see why not and in that case this should also be
https://github.com/llvm-beanz approved this pull request.
https://github.com/llvm/llvm-project/pull/117017
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -32,3 +36,39 @@ vint32m1_t test_no_vector_cc_attr(vint32m1_t input, int32_t
*base, size_t vl) {
__riscv_vse32_v_i32m1(base, val, vl);
return ret;
}
+
+// CHECK-LLVM: define dso_local void @test_vls_no_cc(i128 noundef %arg.coerce)
+// CHECK-LLVM-ABI-VLEN: define dso_loca
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/118031
>From 9451a1e4f5db18d579b5f7eb206482708c9adc70 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Tue, 26 Nov 2024 22:28:16 +0100
Subject: [PATCH 01/10] Add support for '-Warray-compare' compiler flag
---
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/118031
>From 9451a1e4f5db18d579b5f7eb206482708c9adc70 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Tue, 26 Nov 2024 22:28:16 +0100
Subject: [PATCH 1/8] Add support for '-Warray-compare' compiler flag
---
cl
https://github.com/a-tarasyuk closed
https://github.com/llvm/llvm-project/pull/118170
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/DKLoehr updated
https://github.com/llvm/llvm-project/pull/117622
>From d944b2fde573a4fb352400ce3425121265b02685 Mon Sep 17 00:00:00 2001
From: Devon Loehr
Date: Thu, 21 Nov 2024 19:29:00 +
Subject: [PATCH] Warn when unique objects might be duplicated in shared
libraries
GeorgeKA wrote:
I don't have write permission, so requesting review via comment. Please and
thanks:
@cor3ntin
@frederick-vs-ja
https://github.com/llvm/llvm-project/pull/118360
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm
@@ -15,15 +15,15 @@ void test(const char *d) {
if (NULL == "/")
return;
if ("/" != DELIM) // expected-warning {{result of comparison against a
string literal is unspecified (use an explicit string comparison function
instead)}}
-return;
+return; // cxx
Xazax-hun wrote:
> I want to see something that shows that the attribute is actually DOING
> something on non-pointer types.
I added a test to make sure the attribute is actually applied to the AST.
Admittedly, there is not a lot that this can be used for as of now (other than
documenting the
https://github.com/GeorgeKA created
https://github.com/llvm/llvm-project/pull/118360
PR for issue #78657
Updated clang/docs/LanguageExtensions.rst to detail the return value of
__builtin_COLUMN for this implementation.
--
Fyi, this is my first contribution, so please bear with me.
There alr
@@ -15,15 +15,15 @@ void test(const char *d) {
if (NULL == "/")
return;
if ("/" != DELIM) // expected-warning {{result of comparison against a
string literal is unspecified (use an explicit string comparison function
instead)}}
-return;
+return; // cxx
@@ -0,0 +1 @@
+-ffast-math -Wl,--as-needed | -lm -Wl,-Bstatic -lhappy -Wl,-Bdynamic
pawosm-arm wrote:
Done.
https://github.com/llvm/llvm-project/pull/117573
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https
Author: Donát Nagy
Date: 2024-12-02T16:38:07+01:00
New Revision: b343f3f3faf5b732cc19c9c51d392389677477ce
URL:
https://github.com/llvm/llvm-project/commit/b343f3f3faf5b732cc19c9c51d392389677477ce
DIFF:
https://github.com/llvm/llvm-project/commit/b343f3f3faf5b732cc19c9c51d392389677477ce.diff
LO
https://github.com/DavidSpickett created
https://github.com/llvm/llvm-project/pull/118309
This adds Maintainers.md files to the sub-projects mentioned here, so that
someone going directly to that sub-project will find them more easily.
Recently I needed to find a libclc maintainer and I had no
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/118292
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -434,29 +433,17 @@ Others only have a lead maintainer listed here.
[Flang
maintainers](https://github.com/llvm/llvm-project/blob/main/flang/Maintainers.txt)
-[LLD
maintainers](https://github.com/llvm/llvm-project/blob/main/lld/CODE_OWNERS.TXT)
-
-[LLDB
maintainers](http
https://github.com/ldionne updated
https://github.com/llvm/llvm-project/pull/112978
>From fbb6db25d2d52b19486c395d0855e7af4b8812a3 Mon Sep 17 00:00:00 2001
From: Louis Dionne
Date: Fri, 13 May 2022 09:26:01 -0400
Subject: [PATCH 1/6] [libc++] Replace LIBCXX_ENABLE_STATIC_ABI_LIBRARY &
friends
Nathan =?utf-8?q?Gauër?=
Message-ID:
In-Reply-To:
@@ -0,0 +1,17 @@
+; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv64-unknown-unknown %s -o -
| FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv64-unknown-unknown %s -o -
-filetype=obj | spirv-val %}
+
+@PrivIn
https://github.com/sdesmalen-arm approved this pull request.
Thanks, LGTM!
https://github.com/llvm/llvm-project/pull/117717
___
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: Timm Baeder (tbaederr)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/118299.diff
2 Files Affected:
- (modified) clang/lib/AST/ByteCode/InterpBuiltin.cpp (+3)
- (modified) clang/test/AST/ByteCode/builtin-functions.cp
NagyDonat wrote:
I tested this commit on several open source projects, and as there were no
changes in the results, I'm merging this PR now.
https://github.com/llvm/llvm-project/pull/117898
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https
https://github.com/arsenm edited
https://github.com/llvm/llvm-project/pull/118297
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Nathan =?utf-8?q?Gau=C3=ABr?=
Message-ID:
In-Reply-To:
https://github.com/s-perron approved this pull request.
https://github.com/llvm/llvm-project/pull/116636
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/ma
https://github.com/NagyDonat closed
https://github.com/llvm/llvm-project/pull/117898
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: erichkeane
Date: 2024-12-02T11:15:35-08:00
New Revision: 1f2aeef97bf229821b1b254d7ce4e3d1c7f8683f
URL:
https://github.com/llvm/llvm-project/commit/1f2aeef97bf229821b1b254d7ce4e3d1c7f8683f
DIFF:
https://github.com/llvm/llvm-project/commit/1f2aeef97bf229821b1b254d7ce4e3d1c7f8683f.diff
LO
https://github.com/cor3ntin commented:
should we apply the c++26 changes at the same time?
https://github.com/llvm/llvm-project/pull/118031
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm
nikic wrote:
For openmp I'm not really sure, maybe @jdoerfert or @jpeyton52 can advise.
https://github.com/llvm/llvm-project/pull/118309
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/118297
>From f82bf3450e65ffd366037f6edcc803d7ec053f22 Mon Sep 17 00:00:00 2001
From: Sirish Pande
Date: Thu, 18 Jul 2024 14:27:57 -0500
Subject: [PATCH] AMDGPU: Allow f16/bf16 for DS_READ_TR16_B64 gfx950 builtins
Co-au
@@ -9,11 +9,20 @@ namespace usage_invalid {
~A() [[clang::lifetimebound]]; // expected-error {{cannot be applied to a
destructor}}
static int *static_class_member() [[clang::lifetimebound]]; //
expected-error {{static member function has no implicit object parameter}}
llvmbot wrote:
@llvm/pr-subscribers-clangd
Author: Zahira Ammarguellat (zahiraam)
Changes
Non-static class field is not initialized in constructor.
---
Full diff: https://github.com/llvm/llvm-project/pull/118324.diff
2 Files Affected:
- (modified) clang-tools-extra/clangd/index/MemInde
HerrCai0907 wrote:
IMO, we should move this check to bugprone and provide 3 level's error.
1. really implement defined behavior -> The above example about float to
unsigned
2. standard implement defined behavior but at least gcc and clang in each
target has same behavior
3. most strictly check
@@ -10264,6 +10264,10 @@ def warn_depr_array_comparison : Warning<
"to compare array addresses, use unary '+' to decay operands to pointers">,
InGroup;
+def warn_array_comparison : Warning<
+ "comparison between two arrays compare their addresses and will be
deprecated i
https://github.com/zahiraam ready_for_review
https://github.com/llvm/llvm-project/pull/118324
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -36,6 +36,7 @@
#include
#include
#include
+#include
mandymimi wrote:
very good sugguestion! updated in f3f08877f08c
https://github.com/llvm/llvm-project/pull/117143
___
cfe-commits mailing list
cfe-commits@li
https://github.com/hokein edited
https://github.com/llvm/llvm-project/pull/118281
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -8612,7 +8612,11 @@ static void HandleLifetimeBoundAttr(TypeProcessingState
&State,
CurType = State.getAttributedType(
createSimpleAttr(State.getSema().Context, Attr),
CurType, CurType);
+return;
}
+ State.getSema().Diag(Attr.getLoc(), diag::err_
@@ -9,11 +9,20 @@ namespace usage_invalid {
~A() [[clang::lifetimebound]]; // expected-error {{cannot be applied to a
destructor}}
static int *static_class_member() [[clang::lifetimebound]]; //
expected-error {{static member function has no implicit object parameter}}
https://github.com/shiltian approved this pull request.
https://github.com/llvm/llvm-project/pull/118297
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shiltian edited
https://github.com/llvm/llvm-project/pull/118297
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hokein commented:
Can you add a note in llvm-project/clang/docs/ReleaseNotes.rst?
https://github.com/llvm/llvm-project/pull/118281
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
danilaml wrote:
@nikic ah, yeah. I remember the issue with dereferenceable w.r.t. free
discussion. Guess will have to roll something for allocations that don't have
this problem.
https://github.com/llvm/llvm-project/pull/109277
___
cfe-commits mailin
carlosgalvezp wrote:
Nit tip: the additional `fixup!` in the commit message for each additional
commit is rather distracting, it would be best if each commit were be named
after the changes it introduces w.r.t. the previous commit.
https://github.com/llvm/llvm-project/pull/113144
@@ -256,6 +256,14 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple,
const ArgList &Args)
ExtraOpts.push_back("-z");
ExtraOpts.push_back("max-page-size=16384");
}
+if (Triple.isAndroidVersionLT(29)) {
enh-google wrote:
this says
@@ -27,6 +27,29 @@ This check will flag:
- All applications of binary operators with a narrowing conversions.
For example: ``int i; i+= 0.1;``.
+Note that arithmetic with integer types may perform implicit conversions if
the used integer types are smaller than ``int``.
--
@@ -0,0 +1,10 @@
+! Test that --print-supported-extensions errors on unsupported architectures.
+
+! REQUIRES: x86-registered-target
+
+! RUN: not %flang --target=x86_64-linux-gnu --print-supported-extensions \
+! RUN: 2>&1 | FileCheck %s
banach-space wrote:
Th
@@ -27,6 +27,39 @@ This check will flag:
- All applications of binary operators with a narrowing conversions.
For example: ``int i; i+= 0.1;``.
+Arithmetic with smaller integer types than ``int`` trigger implicit
conversions,
+as explained under `"Integral Promotion" on c
https://github.com/EugeneZelenko deleted
https://github.com/llvm/llvm-project/pull/118209
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Niels Dekker
Date: 2024-12-03T06:45:06+08:00
New Revision: da5f330e84d74aeacdbb801c46282b9eebec6793
URL:
https://github.com/llvm/llvm-project/commit/da5f330e84d74aeacdbb801c46282b9eebec6793
DIFF:
https://github.com/llvm/llvm-project/commit/da5f330e84d74aeacdbb801c46282b9eebec6793.diff
github-actions[bot] wrote:
@N-Dekker 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
https://github.com/HerrCai0907 closed
https://github.com/llvm/llvm-project/pull/117629
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -256,6 +256,14 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple,
const ArgList &Args)
ExtraOpts.push_back("-z");
ExtraOpts.push_back("max-page-size=16384");
}
+if (Triple.isAndroidVersionLT(29)) {
+ // https://github.com/android/ndk/issue
https://github.com/DavidSpickett updated
https://github.com/llvm/llvm-project/pull/118309
>From 9d279bcb1174e80e24ddac8755962cb65e20be91 Mon Sep 17 00:00:00 2001
From: David Spickett
Date: Mon, 2 Dec 2024 15:22:50 +
Subject: [PATCH 1/2] [llvm] Move sub-project lead maintainers into their ow
@@ -38,3 +29,21 @@ Example
const S& s = fn(S{1});
s.v; // use after free
+
+
+This issue can be resolved by declaring an overload of the problematic function
+where the ``const &`` parameter is instead declared as ``&&``. The developer
has
+to ensure that the implementati
@@ -38,3 +29,21 @@ Example
const S& s = fn(S{1});
s.v; // use after free
+
+
+This issue can be resolved by declaring an overload of the problematic function
+where the ``const &`` parameter is instead declared as ``&&``. The developer
has
+to ensure that the implementati
https://github.com/5chmidti edited
https://github.com/llvm/llvm-project/pull/118315
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -184,7 +184,8 @@ Changes in existing checks
` check to
diagnose potential dangling references when returning a ``const &`` parameter
by using the conditional operator ``cond ? var1 : var2`` and no longer giving
- false positives for functions which contain lambda.
+
https://github.com/5chmidti approved this pull request.
LGTM, just small nits.
https://github.com/llvm/llvm-project/pull/118315
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -15,14 +16,23 @@ using namespace clang::ast_matchers;
namespace clang::tidy::bugprone {
+namespace {
+
+AST_MATCHER(ParmVarDecl, hasLifetimeBoundAttr) {
+ return Node.getAttr() != nullptr;
5chmidti wrote:
nit: `Node.hasAttr()`
https://github.com/llvm/ll
@@ -0,0 +1,34 @@
+! REQUIRES: arm-registered-target
+
+! RUN: %flang --target=arm-linux-gnu --print-supported-extensions 2>&1 \
+! RUN: | FileCheck --strict-whitespace --implicit-check-not=FEAT_ %s
+
+! CHECK: All available -march extensions for ARM
banach-space
301 - 400 of 549 matches
Mail list logo