h-vetinari wrote:
> @h-vetinari -- would you mind doing some initial cleanup on the patch for
> things like rebasing, removing spurious formatting changes, naming, and the
> likes?
I'll try to do that!
https://github.com/llvm/llvm-project/pull/68620
___
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 9dd15f7486a30c4269b183f72c13006eb8c929f4
2ef1ddfb977da35f31f1f351ac4daf0478fff166 --
https://github.com/Xinmudotmoe created
https://github.com/llvm/llvm-project/pull/68851
Currently, there are no officially released half-precision and quad-precision
floating-point instructions for the LoongArch architecture.
This request aims to ensure that when there are projects that require
https://github.com/tbaederr edited
https://github.com/llvm/llvm-project/pull/68679
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hiraditya updated
https://github.com/llvm/llvm-project/pull/68735
>From 5b85613483861b3734edf9c94be390f2b3b0dd2a Mon Sep 17 00:00:00 2001
From: Alex Fan
Date: Fri, 6 Oct 2023 12:32:38 -0700
Subject: [PATCH] add support for riscv64
Implements for sv39 and sv48 VMA layout.
Us
https://github.com/hiraditya updated
https://github.com/llvm/llvm-project/pull/68735
>From bcd63227792a992d6e5cd851d2fa2355d2f3c4f8 Mon Sep 17 00:00:00 2001
From: Alex Fan
Date: Fri, 6 Oct 2023 12:32:38 -0700
Subject: [PATCH] [TSAN] add support for riscv64
Implements for sv39 and sv48 VMA layo
https://github.com/alexfanqi requested changes to this pull request.
I missed a little piece for sv48 here
```
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform.h
@@ -303,7 +303,7 @@
#define SANITIZER_MMAP_RANGE_SIZE FIRST_3
alexfanqi wrote:
Sorry. It took some time to reply. Since newer linux kernel supports sv57 and
sv48, I tested this again with latest qemu and 6.6 kernel, by passing `-cpu
rv64,sv48=on` to qemu.
I missed a little piece here for sv48,
Also to note, if we want to support sv57, we could directly
https://github.com/brad0 closed https://github.com/llvm/llvm-project/pull/68349
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Brad Smith
Date: 2023-10-12T00:34:19-04:00
New Revision: 894927b491b7c62917ffa7ad665841683095317c
URL:
https://github.com/llvm/llvm-project/commit/894927b491b7c62917ffa7ad665841683095317c
DIFF:
https://github.com/llvm/llvm-project/commit/894927b491b7c62917ffa7ad665841683095317c.diff
LO
https://github.com/frederick-vs-ja created
https://github.com/llvm/llvm-project/pull/68846
I'm unsure whether [P2460R2](https://wg21.link/p2460r2) should be listed in the
page. The paper seemingly requires no changes.
### References
- [N4891](https://wg21.link/n4891)
- [P1949R7](https://wg21
https://github.com/brad0 edited https://github.com/llvm/llvm-project/pull/68349
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/brad0 updated https://github.com/llvm/llvm-project/pull/68349
>From c01c08f813264327f1c641b4aa49ea7a20dd45cd Mon Sep 17 00:00:00 2001
From: Brad Smith
Date: Thu, 5 Oct 2023 16:09:04 -0400
Subject: [PATCH] [Driver] Group together linker options using addAllArgs
---
clang/lib/
minglotus-6 wrote:
> we prioritize inlining the memcpy code for a specific range based on the
> hotness of that range in a particular inline context
@htyu Pretty much a drive-by question if it's convenient for you to share more,
how ranges are selected out of sampled values? For example, are r
https://github.com/chenzheng1030 closed
https://github.com/llvm/llvm-project/pull/68476
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Chen Zheng
Date: 2023-10-12T08:54:45+08:00
New Revision: c661c4f57613b5f85af94ee4e905708e0ba820f8
URL:
https://github.com/llvm/llvm-project/commit/c661c4f57613b5f85af94ee4e905708e0ba820f8
DIFF:
https://github.com/llvm/llvm-project/commit/c661c4f57613b5f85af94ee4e905708e0ba820f8.diff
LO
emaste abandoned this revision.
emaste added a comment.
Herald added a project: All.
Allowed for all ELF OSes as of
commit ee957e045f526ce45d24b0f081f277262c3da43d
Author: Fangrui Song
Date: Thu Mar 28 08:24:00 2019 +
[Driver] Allow -gsplit-dwarf on ELF OSes other than Linux
brad0 wrote:
ping.
https://github.com/llvm/llvm-project/pull/68351
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vabridgers updated
https://github.com/llvm/llvm-project/pull/68276
>From 3bb0c8483c61e04f5ff76de920dcad89793f1326 Mon Sep 17 00:00:00 2001
From: Vince Bridgers
Date: Thu, 5 Oct 2023 02:39:12 +0200
Subject: [PATCH] [Sema] Add check for bitfield assignments to integral types
W
snehasish wrote:
> @david-xl It's interesting to know this. How is that going on your end?
Currently we are exploring the design space to accommodate the variety of
platforms and FDO types we use internally. This is a priority for us though so
we should have some updates to share externally by
https://github.com/weltschildkroete edited
https://github.com/llvm/llvm-project/pull/68540
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
htyu wrote:
> The AutoFDO support Mingming mentioned is the vtable profiling part using
> MEM_INST_RETIRED event that captures data address. This data access profiling
> will/can also be used for global variable layout. However this is current
> Intel only so having a branch profiling based me
@@ -406,7 +406,7 @@ AliasAnalysis::Source AliasAnalysis::getSource(mlir::Value
v) {
attributes.set(Attribute::Pointer);
}
- if (type == SourceKind::Global)
+ if (type == SourceKind::Global || type == SourceKind::Direct)
tblah wrote:
Yeah that s
@@ -6171,6 +6171,11 @@ def warn_signed_bitfield_enum_conversion : Warning<
"signed bit-field %0 needs an extra bit to represent the largest positive "
"enumerators of %1">,
InGroup, DefaultIgnore;
+def warn_bitfield_too_small_for_integral_type : Warning<
+ "conversion fr
https://github.com/bwendling updated
https://github.com/llvm/llvm-project/pull/68750
>From b7b0c40542589e9c54c21140dbb5b163dd8ffc7b Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Wed, 4 Oct 2023 17:55:49 -0700
Subject: [PATCH 1/4] [Clang] Implement the 'counted_by' attribute
The 'counted_b
bwendling wrote:
@AaronBallman I just added a patch that modifies the diagnostics to be more in
line with what you wanted. PTAL.
https://github.com/llvm/llvm-project/pull/68750
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm
https://github.com/bwendling updated
https://github.com/llvm/llvm-project/pull/68750
>From b7b0c40542589e9c54c21140dbb5b163dd8ffc7b Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Wed, 4 Oct 2023 17:55:49 -0700
Subject: [PATCH 1/3] [Clang] Implement the 'counted_by' attribute
The 'counted_b
vabridgers wrote:
> > Hi @AaronBallman , I ran a compile using this change on clang as you asked
> > and have results. The compile ran with no crashes or errors, and produced
> > 1478 bitfield-conversion warnings. I'll show a few examples below. To put
> > that number into context, I enabled -
https://github.com/banach-space edited
https://github.com/llvm/llvm-project/pull/68657
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -5077,6 +5077,7 @@ def module_file_info : Flag<["-"], "module-file-info">,
Flags<[NoXarchOption]>,
HelpText<"Provide information about a particular module file">;
def mthumb : Flag<["-"], "mthumb">, Group;
def mtune_EQ : Joined<["-"], "mtune=">, Group,
+ Flags<[TargetSpe
https://github.com/banach-space requested changes to this pull request.
Thanks for working on. I would appreciate if you could add a bit more testing.
https://github.com/llvm/llvm-project/pull/68657
___
cfe-commits mailing list
cfe-commits@lists.llvm.o
https://github.com/banach-space edited
https://github.com/llvm/llvm-project/pull/68657
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -10,6 +10,9 @@
! Make sure that `-L' is "visible" to Flang's driver
! RUN: %flang -L/ -### %s
+! Make sure that `-fcommon' is "visible" to Flang's driver
banach-space wrote:
This is not clear because I didn't leave any comment in this file (mea culpa,
sor
haoNoQ wrote:
We will need a new warning text here. "To preserve bounds information" isn't
our goal; the traditional C array already preserves bounds information as part
of the type. Theoretically, we could teach the compiler to harden all raw C
array operations without converting it to `std::
https://github.com/vabridgers updated
https://github.com/llvm/llvm-project/pull/68276
>From f70a9fb484d5bdee8319833cde28ee02f3a248ff Mon Sep 17 00:00:00 2001
From: Vince Bridgers
Date: Thu, 5 Oct 2023 02:39:12 +0200
Subject: [PATCH] [Sema] Add check for bitfield assignments to integral types
W
https://github.com/weltschildkroete updated
https://github.com/llvm/llvm-project/pull/68540
>From 613ea6809b478ff7391614b24ec177fc19339cdd Mon Sep 17 00:00:00 2001
From: Leonardo Duarte
Date: Sun, 8 Oct 2023 12:59:15 +0200
Subject: [PATCH 1/6] [clang][Sema] Emit more specific diagnostic for aut
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 606f89ab7d537ca068fb1be9fd89d96a30de38f8
031e76900f6e63c97ed8666066ff98d967305af4 --
@@ -406,7 +406,7 @@ AliasAnalysis::Source AliasAnalysis::getSource(mlir::Value
v) {
attributes.set(Attribute::Pointer);
}
- if (type == SourceKind::Global)
+ if (type == SourceKind::Global || type == SourceKind::Direct)
Renaud-K wrote:
I am sti
@@ -3605,8 +3605,11 @@ static QualType
GetDeclSpecTypeForDeclarator(TypeProcessingState &state,
Info = &SemaRef.InventedParameterInfos.back();
} else {
// In C++14, generic lambdas allow 'auto' in their parameters.
-if (!SemaRef.getLangOpts().CPlu
https://github.com/weltschildkroete updated
https://github.com/llvm/llvm-project/pull/68540
>From 613ea6809b478ff7391614b24ec177fc19339cdd Mon Sep 17 00:00:00 2001
From: Leonardo Duarte
Date: Sun, 8 Oct 2023 12:59:15 +0200
Subject: [PATCH 1/5] [clang][Sema] Emit more specific diagnostic for aut
fel-cab wrote:
I have prepared a presentation to better explain the proposed changes
https://docs.google.com/presentation/d/1lLlR7g29MWidaX9BLCUaKZhdvN-dphUE2BGMXhZCIoA/edit?usp=sharing
https://github.com/llvm/llvm-project/pull/68016
___
cfe-commits ma
fel-cab wrote:
I have prepared a presentation to better explain the proposed changes
https://docs.google.com/presentation/d/1lLlR7g29MWidaX9BLCUaKZhdvN-dphUE2BGMXhZCIoA/edit?usp=sharing
https://github.com/llvm/llvm-project/pull/68016
___
cfe-commits ma
fel-cab wrote:
I have prepared a presentation to better explain the proposed changes
https://docs.google.com/presentation/d/1lLlR7g29MWidaX9BLCUaKZhdvN-dphUE2BGMXhZCIoA/edit?usp=sharing
https://github.com/llvm/llvm-project/pull/68016
___
cfe-commits ma
arichardson wrote:
> This would look good to me, but we seem to be failing the Windows tests!
Unfortunately I can't see what's going wrong there and I don't have an easy way
of reproducing it. I'll try to add some debugging code to this PR in the coming
days.
https://github.com/llvm/llvm-proj
https://github.com/sgatev closed https://github.com/llvm/llvm-project/pull/68558
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Stanislav Gatev
Date: 2023-10-11T22:18:46+02:00
New Revision: 52d06963551938cfe9a2cf481608699cd988d824
URL:
https://github.com/llvm/llvm-project/commit/52d06963551938cfe9a2cf481608699cd988d824
DIFF:
https://github.com/llvm/llvm-project/commit/52d06963551938cfe9a2cf481608699cd988d824.dif
https://github.com/banach-space approved this pull request.
LGTM, thank you for addressing my comments!
https://github.com/llvm/llvm-project/pull/68595
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listi
https://github.com/tblah edited https://github.com/llvm/llvm-project/pull/68727
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -406,7 +406,7 @@ AliasAnalysis::Source AliasAnalysis::getSource(mlir::Value
v) {
attributes.set(Attribute::Pointer);
}
- if (type == SourceKind::Global)
+ if (type == SourceKind::Global || type == SourceKind::Direct)
tblah wrote:
So, if I un
@@ -6171,6 +6171,11 @@ def warn_signed_bitfield_enum_conversion : Warning<
"signed bit-field %0 needs an extra bit to represent the largest positive "
"enumerators of %1">,
InGroup, DefaultIgnore;
+def warn_bitfield_too_small_for_integral_type : Warning<
+ "conversion fr
https://github.com/zahiraam updated
https://github.com/llvm/llvm-project/pull/68820
>From 91de35737b74233f29da76573b4099bf64e8bdd4 Mon Sep 17 00:00:00 2001
From: Ammarguellat
Date: Tue, 10 Oct 2023 08:31:41 -0700
Subject: [PATCH 1/2] Add support for -fcx-limited-range and #pragma
CX_LIMTED_RAN
@@ -274,20 +274,27 @@ class DefaultIntArgument :
IntArgument {
}
// This argument is more complex, it includes the enumerator type name,
-// a list of strings to accept, and a list of enumerators to map them to.
-class EnumArgument values,
+// a list of possible values, and a
@@ -406,7 +406,7 @@ AliasAnalysis::Source AliasAnalysis::getSource(mlir::Value
v) {
attributes.set(Attribute::Pointer);
}
- if (type == SourceKind::Global)
+ if (type == SourceKind::Global || type == SourceKind::Direct)
Renaud-K wrote:
Would it
@@ -282,7 +282,7 @@ LANGOPT(HIPUseNewLaunchAPI, 1, 0, "Use new kernel launching
API for HIP")
LANGOPT(OffloadUniformBlock, 1, 0, "Assume that kernels are launched with
uniform block sizes (default true for CUDA/HIP and false otherwise)")
LANGOPT(HIPStdPar, 1, 0, "Enable Standa
@@ -2821,6 +2821,10 @@ def fms_compatibility : Flag<["-"],
"fms-compatibility">, Group,
Visibility<[ClangOption, CC1Option, CLOption]>,
HelpText<"Enable full Microsoft Visual C++ compatibility">,
MarshallingInfoFlag>;
+def fms_define_stdc : Flag<["-"], "fms-define-stdc">
@@ -123,6 +123,10 @@
// CHECK-CHAR8_T_: "-fno-char8_t"
+// RUN: %clang_cl /dev/null /E -Xclang -dM 2> /dev/null | FileCheck
-match-full-lines %s --check-prefix=STDCOFF
+// RUN: %clang_cl /dev/null /E -Xclang -dM /Zc:__STDC__ 2> /dev/null |
FileCheck -match-full-lines %s --c
https://github.com/AaronBallman commented:
Thank you for working on this! Please be sure to add a release note to
`clang/docs/ReleaseNotes.rst` so users know about the new functionality.
https://github.com/llvm/llvm-project/pull/68690
___
cfe-commits
@@ -7922,6 +7926,10 @@ void Clang::AddClangCLArgs(const ArgList &Args,
types::ID InputType,
CmdArgs.push_back("-fno-wchar");
}
+ if (Args.hasArg(options::OPT_fms_define_stdc)) {
+ CmdArgs.push_back("-fms-define-stdc");
+ }
AaronBallman wrote:
```sugges
https://github.com/AaronBallman edited
https://github.com/llvm/llvm-project/pull/68690
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -483,6 +483,56 @@ struct FragmentCompiler {
FullyQualifiedNamespaces.begin(), FullyQualifiedNamespaces.end());
});
}
+auto QuotedFilter = compileHeaderRegexes(F.QuotedHeaders);
+if (QuotedFilter.has_value()) {
+ Out.Apply.push_back(
+
@@ -886,7 +893,7 @@ def ARMInterrupt : InheritableAttr,
TargetSpecificAttr {
// MSP430Interrupt's, MipsInterrupt's and AnyX86Interrupt's spellings
// must match.
let Spellings = [GCC<"interrupt">];
- let Args = [EnumArgument<"Interrupt", "InterruptType",
+ let Args = [
https://github.com/arichardson closed
https://github.com/llvm/llvm-project/pull/68815
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Alexander Richardson
Date: 2023-10-11T19:46:09+01:00
New Revision: eb21049b4b904b072679ece60e73c6b0dc0d1ebf
URL:
https://github.com/llvm/llvm-project/commit/eb21049b4b904b072679ece60e73c6b0dc0d1ebf
DIFF:
https://github.com/llvm/llvm-project/commit/eb21049b4b904b072679ece60e73c6b0dc0d1eb
AaronBallman wrote:
> Hi @AaronBallman , I ran a compile using this change on clang as you asked
> and have results. The compile ran with no crashes or errors, and produced
> 1478 bitfield-conversion warnings. I'll show a few examples below. To put
> that number into context, I enabled -Wconve
@@ -6171,6 +6171,11 @@ def warn_signed_bitfield_enum_conversion : Warning<
"signed bit-field %0 needs an extra bit to represent the largest positive "
"enumerators of %1">,
InGroup, DefaultIgnore;
+def warn_bitfield_too_small_for_integral_type : Warning<
+ "conversion fr
https://github.com/arichardson updated
https://github.com/llvm/llvm-project/pull/68815
>From 5d4e2bc5570f9fbcdebff2532370ad21f5cef2bb Mon Sep 17 00:00:00 2001
From: Alex Richardson
Date: Wed, 11 Oct 2023 08:52:45 -0700
Subject: [PATCH] [libunwind] Avoid reading OOB for non-existent .eh_frame_hd
https://github.com/arichardson updated
https://github.com/llvm/llvm-project/pull/68815
>From 63415241cd457cd4bcd0661e077b9f8c48e246e2 Mon Sep 17 00:00:00 2001
From: Alex Richardson
Date: Wed, 11 Oct 2023 08:52:45 -0700
Subject: [PATCH] [libunwind] Avoid reading OOB for non-existent .eh_frame_hd
https://github.com/arichardson closed
https://github.com/llvm/llvm-project/pull/68813
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Alexander Richardson
Date: 2023-10-11T19:35:11+01:00
New Revision: 05181a849b4c1ec14fdd6d667285d6f5ad34a5a2
URL:
https://github.com/llvm/llvm-project/commit/05181a849b4c1ec14fdd6d667285d6f5ad34a5a2
DIFF:
https://github.com/llvm/llvm-project/commit/05181a849b4c1ec14fdd6d667285d6f5ad34a5a
https://github.com/shraiysh updated
https://github.com/llvm/llvm-project/pull/68825
>From ff635ce0ce910f0cde248a4babb3c27333ddc108 Mon Sep 17 00:00:00 2001
From: Shraiysh Vaishay
Date: Sun, 3 Sep 2023 22:40:10 -0500
Subject: [PATCH 1/3] [mlir][OpenMP] Added omp.region operation
This patch adds
https://github.com/shraiysh updated
https://github.com/llvm/llvm-project/pull/68825
>From ff635ce0ce910f0cde248a4babb3c27333ddc108 Mon Sep 17 00:00:00 2001
From: Shraiysh Vaishay
Date: Sun, 3 Sep 2023 22:40:10 -0500
Subject: [PATCH 1/3] [mlir][OpenMP] Added omp.region operation
This patch adds
https://github.com/compnerd approved this pull request.
Thank you!
https://github.com/llvm/llvm-project/pull/68815
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
shraiysh wrote:
Restarting discussion about yield here because something went wrong with
rebasing on previous PR. Hopefully this won't have the same issues. Sorry :(
I will push commit with yield as terminator soon.
https://github.com/llvm/llvm-project/pull/68825
__
shraiysh wrote:
Restarting discussion about yield here because something went wrong with
rebasing on previous PR. Hopefully this won't have the same issues. Sorry :(
I will push commit with yield as terminator soon.
https://github.com/llvm/llvm-project/pull/68825
__
llvmbot wrote:
@llvm/pr-subscribers-mlir
Author: Shraiysh (shraiysh)
Changes
This patch adds `omp.structured_region` operation. This is equivalent to a code
block surrounded by an OpenMP construct in C/C++/Fortran. This is a part of the
effort to implement the canonical loop operation in
llvmbot wrote:
@llvm/pr-subscribers-mlir
Author: Shraiysh (shraiysh)
Changes
This patch adds `omp.structured_region` operation. This is equivalent to a code
block surrounded by an OpenMP construct in C/C++/Fortran. This is a part of the
effort to implement the canonical loop operation in
https://github.com/shraiysh created
https://github.com/llvm/llvm-project/pull/68825
This patch adds `omp.structured_region` operation. This is equivalent to a code
block surrounded by an OpenMP construct in C/C++/Fortran. This is a part of the
effort to implement the canonical loop operation i
https://github.com/shraiysh created
https://github.com/llvm/llvm-project/pull/68825
This patch adds `omp.structured_region` operation. This is equivalent to a code
block surrounded by an OpenMP construct in C/C++/Fortran. This is a part of the
effort to implement the canonical loop operation i
https://github.com/SuperSodaSea updated
https://github.com/llvm/llvm-project/pull/68485
>From 03276260c48d9cafb2a0d80825156e77cdf02eba Mon Sep 17 00:00:00 2001
From: SuperSodaSea
Date: Sat, 7 Oct 2023 21:05:17 +0800
Subject: [PATCH 1/6] [clang] static operators should evaluate object argument
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
@@ -136,6 +136,17 @@ int main(void) {
// Cleanup happens automatically -> no warning.
}
+ /// Function pointers
+ {
+int __attribute__((requires_capability(&mu1))) (*function_ptr)(int) =
Foo_fun1;
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
@@ -8141,6 +8141,16 @@ static void handleRequiresCapabilityAttr(Sema &S, Decl
*D,
if (!AL.checkAtLeastNumArgs(S, 1))
return;
+ // We allow this on function declaration as well as
+ // variable declarations of function
Timm =?utf-8?q?B=C3=A4der?=
Message-ID:
In-Reply-To:
https://github.com/AaronBallman commented:
The changes also need a release note at some point.
https://github.com/llvm/llvm-project/pull/67095
___
cfe-commits mailing list
cfe-commits@lists.llvm.o
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/AaronBallman edited
https://github.com/llvm/llvm-project/pull/67095
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
@@ -3315,7 +3315,7 @@ def RequiresCapability : InheritableAttr {
let TemplateDependent = 1;
let ParseArgumentsAsUnevaluated = 1;
let InheritEvenIfAlreadyPresent = 1;
- let Subjects = SubjectList<[Function]>;
+ /*let Sub
@@ -289,6 +289,11 @@ Bug Fixes to Compiler Builtins
Bug Fixes to Attribute Support
^^
+- Clang now emits a warning instead of an error when using the one or two
+ argument form of GCC 11's ``__attribute__((malloc(deallocator)))``
+ or ``__attribut
@@ -1,12 +1,14 @@
-// RUN: %clang_cc1 -verify -Wunused -Wused-but-marked-unused
-Wunused-parameter -fsyntax-only %s
+// RUN: %clang_cc1 -verify -Wunused -Wused-but-marked-unused
-Wunused-parameter -fsyntax-only -fdeclspec %s
int a;
inline __attribute__((noreturn(a))) void *f
@@ -177,6 +177,10 @@ def warn_unknown_attribute_ignored : Warning<
"unknown attribute %0 ignored">, InGroup;
def warn_attribute_ignored : Warning<"%0 attribute ignored">,
InGroup;
+def warn_multiarg_malloc_attribute_ignored: Warning<
+ "'malloc' attribute ignored because"
hubert-reinterpretcast wrote:
The code formatting check failure seems to be a infrastructure problem:
https://discourse.llvm.org/t/clang-format-github-action-cannot-find-merge-base/73894
https://github.com/llvm/llvm-project/pull/68476
___
cfe-commits
https://github.com/stefanp-ibm edited
https://github.com/llvm/llvm-project/pull/68476
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/stefanp-ibm approved this pull request.
Thank you for fixing this!
LGTM.
https://github.com/llvm/llvm-project/pull/68476
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm
@@ -828,10 +829,7 @@ const TargetInfo::AddlRegName GCCAddlRegNames[] = {
};
ArrayRef PPCTargetInfo::getGCCAddlRegNames() const {
- if (ABI == "elfv2")
-return llvm::ArrayRef(GCCAddlRegNames);
- else
-return TargetInfo::getGCCAddlRegNames();
+ return llvm::ArrayRef(G
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 c1b6ed42b75a17d1718aa377f76633b27e15a4e2
91de35737b74233f29da76573b4099bf64e8bdd4 --
@@ -483,6 +483,56 @@ struct FragmentCompiler {
FullyQualifiedNamespaces.begin(), FullyQualifiedNamespaces.end());
});
}
+auto QuotedFilter = compileHeaderRegexes(F.QuotedHeaders);
+if (QuotedFilter.has_value()) {
+ Out.Apply.push_back(
+
https://github.com/zahiraam edited
https://github.com/llvm/llvm-project/pull/68820
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/zahiraam created
https://github.com/llvm/llvm-project/pull/68820
None
>From 91de35737b74233f29da76573b4099bf64e8bdd4 Mon Sep 17 00:00:00 2001
From: Ammarguellat
Date: Tue, 10 Oct 2023 08:31:41 -0700
Subject: [PATCH] Add support for -fcx-limited-range and #pragma
CX_LIMTED_R
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM!
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158069/new/
https://reviews.llvm.org/D158069
___
cfe-commits mailing lis
https://github.com/arichardson updated
https://github.com/llvm/llvm-project/pull/68815
>From ff360ee7f304424dd0d12d00b8c0ba6801241410 Mon Sep 17 00:00:00 2001
From: Alex Richardson
Date: Wed, 11 Oct 2023 08:34:55 -0700
Subject: [PATCH 1/2] [libunwind] Fix wrong end argument passed to
decodeEHH
arichardson wrote:
> > Can we merge this into #68815 please?
>
> I'd like to keep the two commits separate since they are addressing different
> bugs.
This would be a lot easier if I could chose rebase+merge in the PR flow.
https://github.com/llvm/llvm-project/pull/68813
_
arichardson wrote:
> Can we merge this into #68815 please?
I'd like to keep the two commits separate since they are addressing different
bugs.
https://github.com/llvm/llvm-project/pull/68813
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
htt
https://github.com/hubert-reinterpretcast approved this pull request.
LGTM, but I am not sure if @stefanp-ibm continues to be concerned about
enabling this for ABIs that have not been updated to specify a treatment of the
VSX registers.
https://github.com/llvm/llvm-project/pull/68476
_
1 - 100 of 244 matches
Mail list logo