https://github.com/serge-sans-paille updated
https://github.com/llvm/llvm-project/pull/114818
>From a1ca0d1e0cbc2f1c5eb09639a687f0eed6f6826c Mon Sep 17 00:00:00 2001
From: serge-sans-paille
Date: Mon, 4 Nov 2024 16:50:45 +0100
Subject: [PATCH] [TLI] Add support for reallocarray
>From the man p
aganea wrote:
> I would like to benchmark `lld` after this change, since I have added a loop
> that goes through every section of every object file. Could someone point in
> the direction of a good benchmark for that? I was thinking I can benchmark on
> the linking of `clang` or any other big
hekota wrote:
Since your PR that adds `__builtin_hlsl_is_typed_resource_element_compatible`
is merged do you want to incorporate here?
https://github.com/llvm/llvm-project/pull/112600
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://li
@@ -852,6 +852,7 @@ static void initializeLibCalls(TargetLibraryInfoImpl &TLI,
const Triple &T,
TLI.setUnavailable(LibFunc_memrchr);
TLI.setUnavailable(LibFunc_ntohl);
TLI.setUnavailable(LibFunc_ntohs);
+TLI.setUnavailable(LibFunc_reallocarray);
---
@@ -483,10 +581,105 @@ static BuiltinTypeDeclBuilder
setupBufferType(CXXRecordDecl *Decl, Sema &S,
.addDefaultHandleConstructor(S, RC);
}
+BinaryOperator *constructSizeOfLEQ16Expr(ASTContext &Context,
+ SourceLocation NameLoc,
+
bob80905 wrote:
> Since your PR that adds `__builtin_hlsl_is_typed_resource_element_compatible`
> is merged do you want to incorporate here?
I'd prefer not to, because this PR is already pretty big and I have a separate
task that is singularly dedicated to finalizing the constraint expression,
https://github.com/redstar closed
https://github.com/llvm/llvm-project/pull/113254
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/redstar updated
https://github.com/llvm/llvm-project/pull/113254
>From 7237a7ad870421beb147870a4cc81910be32e7b5 Mon Sep 17 00:00:00 2001
From: Kai Nacke
Date: Mon, 21 Oct 2024 22:39:57 -0400
Subject: [PATCH] [SystemZ][XRay] Enable XRay for SystemZ in clang
With the support f
Author: Matt Arsenault
Date: 2024-11-05T12:47:04-08:00
New Revision: 0c60573d1c2d19133d84da092b240f32e0574be5
URL:
https://github.com/llvm/llvm-project/commit/0c60573d1c2d19133d84da092b240f32e0574be5
DIFF:
https://github.com/llvm/llvm-project/commit/0c60573d1c2d19133d84da092b240f32e0574be5.diff
https://github.com/arsenm closed
https://github.com/llvm/llvm-project/pull/113038
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm edited
https://github.com/llvm/llvm-project/pull/113751
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jansvoboda11 wrote:
Ping.
https://github.com/llvm/llvm-project/pull/114457
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/trcrsired updated
https://github.com/llvm/llvm-project/pull/79667
>From 2b526821d4e70f3ea83f95d25f804d9fbcf82612 Mon Sep 17 00:00:00 2001
From: cqwrteur <100043421+trcrsi...@users.noreply.github.com>
Date: Sat, 1 Jun 2024 02:55:50 -0400
Subject: [PATCH] [libunwind][libcxx][lib
https://github.com/pawosm-arm updated
https://github.com/llvm/llvm-project/pull/114271
>From 45a02d4dd6102bf825943e738a15adf64361f976 Mon Sep 17 00:00:00 2001
From: Pawel Osmialowski
Date: Wed, 30 Oct 2024 14:30:08 +
Subject: [PATCH] [Transforms][Utils][PromoteMem2Reg] Propagate nnan and ni
https://github.com/llvm-beanz requested changes to this pull request.
I think there is actually a bigger problem with your earlier PR that we need to
address.
There is an inconsistency in the [design
document](https://github.com/llvm/wg-hlsl/blob/main/proposals/0011-resource-element-type-valid
https://github.com/alexey-bataev approved this pull request.
LG with a nit. Update OpenMPSupport.rst
https://github.com/llvm/llvm-project/pull/114883
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
@@ -745,12 +745,12 @@ Let ``VT`` be a vector type and ``ET`` the element type
of ``VT``.
===
==
==
Name
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/114196
>From 570a35958d772e3018a04791876d4c547f9124f2 Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Wed, 30 Oct 2024 10:25:42 +0100
Subject: [PATCH] [Clang] Correctly initialize placeholder fields from their
in
https://github.com/cyndyishida updated
https://github.com/llvm/llvm-project/pull/115048
>From 9359df8624a75b7c0c361fdfcd9fc9102824dc68 Mon Sep 17 00:00:00 2001
From: Cyndy Ishida
Date: Tue, 5 Nov 2024 10:48:09 -0800
Subject: [PATCH 1/2] [Clang][Darwin] Introduce `SubFrameworks` as a SDK
defaul
https://github.com/inbelic edited
https://github.com/llvm/llvm-project/pull/115068
___
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/115068
>From 414b07fd2276946936dc137fb633b04cd8c12fc4 Mon Sep 17 00:00:00 2001
From: Finn Plummer
Date: Tue, 5 Nov 2024 21:15:17 +
Subject: [PATCH 1/2] [HLSL][SPIRV][DXIL] Implement `dot4add_u8packed`
intrinsic
-
https://github.com/ddpagan updated
https://github.com/llvm/llvm-project/pull/114883
>From 0959f99f541f7e10e3f761b062948f2408afc0fd Mon Sep 17 00:00:00 2001
From: Dave Pagan
Date: Mon, 14 Oct 2024 15:27:56 -0500
Subject: [PATCH 1/2] [clang][OpenMP] Add 'allocator' modifier for 'allocate'
clause
@@ -2242,9 +2247,16 @@ void
OMPClausePrinter::VisitOMPAllocateClause(OMPAllocateClause *Node) {
if (Node->varlist_empty())
return;
OS << "allocate";
+ OpenMPAllocateClauseModifier Modifier = Node->getAllocatorModifier();
if (Expr *Allocator = Node->getAllocator())
cyndyishida wrote:
```
> git checkout -f baecb5c50287efebf2482739bfbe320c8147b7ff
error: unable to unlink old 'clang/lib/AST/Decl.cpp': Invalid argument
error: unable to unlink old 'clang/lib/Serialization/ASTReaderDecl.cpp':
Invalid argument
```
Seems like an unrelated issue is happening on the
@@ -3430,15 +3430,17 @@ bool Sema::SubstDefaultArgument(
ContextRAII SavedContext(*this, FD);
std::unique_ptr LIS;
-if (ForCallExpr) {
+FunctionDecl *PatternFD =
+ForCallExpr
+? FD->getTemplateInstantiationPattern(/*ForDefinition*/ false)
+
https://github.com/inbelic created
https://github.com/llvm/llvm-project/pull/115068
```- create a clang built-in in Builtins.td
- link dot4add_u8packed in hlsl_intrinsics.h
- add lowering to spirv backend through expansion of operation as OpUDot is
missing up to SPIRV 1.6 in SPIRVInstructionSel
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/111976
>From 947c0732cb8ebff4495a64d9fe7aa79ab3827926 Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Fri, 11 Oct 2024 14:33:32 +0400
Subject: [PATCH 1/9] clang: Remove requires system-linux from some driver
tests
jvoung wrote:
> A quick middle-point solution is to add an option to allow ignoring code that
> is executed from within macros, or even allow the user to specify which
> macros to ignore.
Unfortunately, the problem is exactly that we're not (fully) understanding the
content of `ASSERT_TRUE` a
https://github.com/ymand approved this pull request.
https://github.com/llvm/llvm-project/pull/115051
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -8714,6 +8714,21 @@ void Sema::CheckVariableDeclarationType(VarDecl *NewVD) {
}
}
+ // zero sized static arrays are not allowed in HIP device functions
+ if (LangOpts.CUDAIsDevice && LangOpts.HIP) {
+if (FunctionDecl *FD = getCurFunctionDecl();
+FD &&
+
https://github.com/lenary edited
https://github.com/llvm/llvm-project/pull/112983
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jvoung wrote:
> Relying on Google-test internal implementation details that are outside of
> our control and may change at any point in time does not feel good.
>
> The patch should instead fix the root cause of the problem.
I agree that it's not good to rely on implementation details, but the
@@ -745,12 +745,8 @@ Let ``VT`` be a vector type and ``ET`` the element type of
``VT``.
===
==
==
NameO
@@ -3430,15 +3430,17 @@ bool Sema::SubstDefaultArgument(
ContextRAII SavedContext(*this, FD);
std::unique_ptr LIS;
-if (ForCallExpr) {
+FunctionDecl *PatternFD =
+ForCallExpr
+? FD->getTemplateInstantiationPattern(/*ForDefinition*/ false)
+
https://github.com/arsenm edited
https://github.com/llvm/llvm-project/pull/114637
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
lenary wrote:
Gentle Ping. I'm looking for answers to two questions:
- [Should I] prepare a fixup commit that [uses `MVT::Untyped`] (and removes the
`riscv_*_pair` MVTs), if we think that's a better target-independent approach?
- Any advice on whether I should be digging deeply into changing
https://github.com/arsenm edited
https://github.com/llvm/llvm-project/pull/114637
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cyndyishida updated
https://github.com/llvm/llvm-project/pull/115048
>From dd22f1347530d8f866822074ec9b89cb8ee56867 Mon Sep 17 00:00:00 2001
From: Cyndy Ishida
Date: Tue, 5 Nov 2024 10:48:09 -0800
Subject: [PATCH 1/2] [Clang][Darwin] Introduce `SubFrameworks` as a SDK
defaul
Author: Kai Nacke
Date: 2024-11-05T16:02:20-05:00
New Revision: 0428f2cb5a91cc93897252c9dc4883efea3dbd9a
URL:
https://github.com/llvm/llvm-project/commit/0428f2cb5a91cc93897252c9dc4883efea3dbd9a
DIFF:
https://github.com/llvm/llvm-project/commit/0428f2cb5a91cc93897252c9dc4883efea3dbd9a.diff
LOG
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/114196
>From e96815e2aa85188e49bbaa20be1d196308a41354 Mon Sep 17 00:00:00 2001
From: Kai Nacke
Date: Tue, 5 Nov 2024 16:02:20 -0500
Subject: [PATCH] [SystemZ][XRay] Enable XRay for SystemZ in clang (#113254)
With the
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/113038
>From 2e3964fef9cef4b374a8451367a01c850b70e7e8 Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Sat, 19 Oct 2024 02:39:06 +0400
Subject: [PATCH] clang/AMDGPU: Emit grid size builtins with range metadata
These
arsenm wrote:
### Merge activity
* **Nov 5, 3:43 PM EST**: A user started a stack merge that includes this pull
request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/113038).
https://github.com/llvm/llvm-project/pull/113038
__
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/114196
>From a522f774996b683905c5394ab68e9f4cf5a032c7 Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Wed, 30 Oct 2024 10:25:42 +0100
Subject: [PATCH] [Clang] Correctly initialize placeholder fields from their
in
https://github.com/redstar updated
https://github.com/llvm/llvm-project/pull/113254
>From c8e629749e7cef1fff941729fe2b1b393c4f7ba5 Mon Sep 17 00:00:00 2001
From: Kai Nacke
Date: Mon, 21 Oct 2024 22:39:57 -0400
Subject: [PATCH] [SystemZ][XRay] Enable XRay for SystemZ in clang
With the support f
https://github.com/jansvoboda11 created
https://github.com/llvm/llvm-project/pull/115065
The `FileManager` sharing between module-building `CompilerInstance`s was
disabled a while ago due to `FileEntry::getName()` being unreliable. Now that
we use `FileEntryRef::getNameAsRequested()` in places
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Jan Svoboda (jansvoboda11)
Changes
The `FileManager` sharing between module-building `CompilerInstance`s was
disabled a while ago due to `FileEntry::getName()` being unreliable. Now that
we use `FileEntryRef::getNameAsRequested()` in plac
https://github.com/redstar updated
https://github.com/llvm/llvm-project/pull/113254
>From 74b626537d1e9944f18e4a0404480a27c63bb922 Mon Sep 17 00:00:00 2001
From: Kai Nacke
Date: Mon, 21 Oct 2024 22:39:57 -0400
Subject: [PATCH] [SystemZ][XRay] Enable XRay for SystemZ in clang
With the support f
https://github.com/arsenm edited
https://github.com/llvm/llvm-project/pull/113018
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tru wrote:
I can recommend the hyperfine tool when benchmarking. It runs the same command
multiple times and does all the fancy things to make sure you are measuring
correctly.
https://github.com/llvm/llvm-project/pull/114260
___
cfe-commits mailing
erichkeane wrote:
> > Release note to say we enable this in C2Y?
>
> I'm not opposed, but we've always supported this feature. Similar to `i` and
> `j` suffixes, I didn't add a release for imaginary constants which are in the
> same boat (extensions we've supported forever but are now C2y feat
@@ -4539,6 +4539,8 @@ bool Parser::ParseOpenMPVarList(OpenMPDirectiveKind DKind,
bool NeedRParenForLinear = false;
BalancedDelimiterTracker LinearT(*this, tok::l_paren,
tok::annot_pragma_openmp_end);
+ BalancedDelimiterTracker AllocateT(*
https://github.com/JustinStitt created
https://github.com/llvm/llvm-project/pull/115094
> [!NOTE]
> Expansion of https://github.com/llvm/llvm-project/pull/86618, with a larger
> scope including `no_wraps` and
> [SSCL](https://clang.llvm.org/docs/SanitizerSpecialCaseList.html)
> integration.
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Justin Stitt (JustinStitt)
Changes
> [!NOTE]
> Expansion of https://github.com/llvm/llvm-project/pull/86618, with a
larger scope including `no_wraps` and
[SSCL](https://clang.llvm.org/docs/SanitizerSpecialCaseList.html) integration.
Th
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Justin Stitt (JustinStitt)
Changes
> [!NOTE]
> Expansion of https://github.com/llvm/llvm-project/pull/86618, with a
larger scope including `no_wraps` and
[SSCL](https://clang.llvm.org/docs/SanitizerSpecialCaseList.html) integrat
https://github.com/benlangmuir approved this pull request.
https://github.com/llvm/llvm-project/pull/115065
___
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 c949500d519085a4e5b93928b14ca766a353ad73
bd63565b43c17f16b9c2a79143368e7ef607f14c --e
@@ -745,12 +745,12 @@ Let ``VT`` be a vector type and ``ET`` the element type
of ``VT``.
===
==
==
Name
@@ -745,12 +745,12 @@ Let ``VT`` be a vector type and ``ET`` the element type
of ``VT``.
===
==
==
Name
https://github.com/ojhunt edited
https://github.com/llvm/llvm-project/pull/113510
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
shafik wrote:
This crash looks linked to this change:
https://github.com/llvm/llvm-project/issues/115004
https://github.com/llvm/llvm-project/pull/79
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/li
@@ -745,12 +745,8 @@ Let ``VT`` be a vector type and ``ET`` the element type of
``VT``.
===
==
==
NameO
https://github.com/rnk updated https://github.com/llvm/llvm-project/pull/115099
>From e1331b2c00db0cdff09345b36fd484f2269ee1cc Mon Sep 17 00:00:00 2001
From: Reid Kleckner
Date: Tue, 5 Nov 2024 16:05:53 -0800
Subject: [PATCH 1/2] [Win/X86] Make _m_prefetch[w] builtins to avoid winnt.h
conflicts
ChuanqiXu9 wrote:
> I think it's reasonable to do something similar here, but I believe the
> change for that should be inside GetOrCreateLLVMGlobal, not in
> GetAddrOfGlobalVar.
The problem to make it in `GetOrCreateLLVMGlobal` is that the argument of `Ty`
is not skippable. So the semantics
@@ -0,0 +1,154 @@
+// RUN: %clang_analyze_cc1
-analyzer-checker=alpha.webkit.MemoryUnsafeCastChecker -verify %s
+
+class Base { };
+class Derived : public Base { };
+
+void test_pointers(Base *base) {
+ Derived *derived_static = static_cast(base);
+ // expected-warning@-1{{Unsa
@@ -317,38 +323,60 @@ ABIArgInfo
RISCVABIInfo::coerceAndExpandFPCCEligibleStruct(
// Fixed-length RVV vectors are represented as scalable vectors in function
// args/return and must be coerced from fixed vectors.
-ABIArgInfo RISCVABIInfo::coerceVLSVector(QualType Ty) const {
ddpagan wrote:
@alexey-bataev - I'll make that change in the next PR. Thanks for the review.
https://github.com/llvm/llvm-project/pull/114883
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co
https://github.com/ddpagan closed
https://github.com/llvm/llvm-project/pull/114883
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: David Pagan
Date: 2024-11-05T17:06:41-08:00
New Revision: 435e58468a1a99a4bbfad88d060abd37a9bc6928
URL:
https://github.com/llvm/llvm-project/commit/435e58468a1a99a4bbfad88d060abd37a9bc6928
DIFF:
https://github.com/llvm/llvm-project/commit/435e58468a1a99a4bbfad88d060abd37a9bc6928.diff
L
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-aarch64-linux-bootstrap-hwasan` running on `sanitizer-buildbot11`
while building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/55/builds/3351
Here is the rel
@@ -67,9 +67,11 @@ types specified within an ignorelist.
int a = 2147483647; // INT_MAX
++a;// Normally, an overflow with
-fsanitize=signed-integer-overflow
}
+
vitalybuka wrote:
Please do unrelated fixes in separate PRs.
https://gi
@@ -146,18 +146,104 @@ is a zero-based file offset, assuming ‘utf-8-unix’
coding."
(lambda (byte &optional _quality _coding-system)
(byte-to-position (1+ byte)
-;;;###autoload
-(defun clang-format-region (start end &optional style assume-file-name)
- "Use clang
@@ -8236,11 +8236,14 @@ void Sema::CheckShadow(NamedDecl *D, NamedDecl
*ShadowedDecl,
DeclContext *NewDC = D->getDeclContext();
if (FieldDecl *FD = dyn_cast(ShadowedDecl)) {
-// Fields are not shadowed by variables in C++ static methods.
-if (CXXMethodDecl *MD = d
https://github.com/ylzsx updated
https://github.com/llvm/llvm-project/pull/114735
>From dd4aca55c1e35ebd6dbb9d849ba9de8b930ae209 Mon Sep 17 00:00:00 2001
From: ylzsx <2375355...@qq.com>
Date: Sat, 2 Nov 2024 10:48:29 +0800
Subject: [PATCH 1/2] [Flang][LoongArch] Emit target features for Loongarc
Sirraide wrote:
> I still see `CodeGen/attr-counted-by*.c` being unnecessarily changed.
Yeah, the `-O2` definitely needs to be added back to those tests.
https://github.com/llvm/llvm-project/pull/114495
___
cfe-commits mailing list
cfe-commits@lists.l
https://github.com/Sirraide approved this pull request.
Changes lgtm.
I don’t really have a strong opinion on the release note: on the one hand,
writing one for this does feel a bit like we’d be writing a release note for
C2y itself rather than for Clang, but on the other, I guess adding some
https://github.com/rniwa updated
https://github.com/llvm/llvm-project/pull/114897
>From d08c1b364c392aa42b7ef71528a52ab6a7d9c548 Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa
Date: Mon, 4 Nov 2024 16:01:49 -0800
Subject: [PATCH 1/2] [webkit.UncountedLambdaCapturesChecker] Ignore trivial
function
https://github.com/bricknerb updated
https://github.com/llvm/llvm-project/pull/114999
>From 6f3c9f95f7ad558659bc7d868ab4d5e5f6af05c0 Mon Sep 17 00:00:00 2001
From: Boaz Brickner
Date: Tue, 5 Nov 2024 15:29:10 +0100
Subject: [PATCH 1/3] [clang] Make source locations space usage diagnostics
numb
@@ -2227,6 +2227,28 @@ LLVM_DUMP_METHOD void SourceManager::dump() const {
}
}
+static std::string NumberToHumanString(uint64_t Number) {
bricknerb wrote:
Renamed to `humanizeNumber()`.
https://github.com/llvm/llvm-project/pull/114999
_
@@ -0,0 +1,13 @@
+// RUN: %clang_cc1 -verify -fsyntax-only -std=c++2b -Wshadow-all %s
+
+namespace GH95707 {
+struct Foo {
+ int a; // expected-note {{previous declaration is here}}
+
+ void f1(this auto &self, int a) { self.a = a; }
+ void f2(int a) { } // expected-warning {{d
wlei-llvm wrote:
Hi @sdkrystian , FYI, we also hit an error/assertion that bisected to this
https://github.com/llvm/llvm-project/pull/114569
```
lvm-project/clang/lib/AST/ExprConstant.cpp:16601: bool
clang::Expr::EvaluateAsConstantExpr(EvalResult &, const ASTContext &,
ConstantExprKind) const
https://github.com/hubert-reinterpretcast edited
https://github.com/llvm/llvm-project/pull/112714
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: cor3ntin
Date: 2024-11-06T05:10:53+01:00
New Revision: e48d8f9fea69095757d3593a567316197ec70450
URL:
https://github.com/llvm/llvm-project/commit/e48d8f9fea69095757d3593a567316197ec70450
DIFF:
https://github.com/llvm/llvm-project/commit/e48d8f9fea69095757d3593a567316197ec70450.diff
LOG:
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/114196
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2378,13 +2394,28 @@ MCSection
*TargetLoweringObjectFileXCOFF::getExplicitSectionGlobal(
StringRef SectionName = GO->getSection();
hubert-reinterpretcast wrote:
See `report_fatal_error` above.
I think the new code should be moved up so that `SectionName` i
https://github.com/hubert-reinterpretcast commented:
There doesn't seem to be changes to handle the text section cases?
https://github.com/llvm/llvm-project/pull/112714
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/115114
StringMap::find takes StringRef, so we don't need to allocate
temporary instances of std::string.
>From 9614bd57bc2175e6f66bb251294dffc0855fa459 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Tue, 5 N
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/115113
Heterogenous lookups allow us to call find with StringRef, avoiding a
temporary heap allocation of std::string.
>From d83d2c1478982e3c09ef7c7e80880e3f874c69eb Mon Sep 17 00:00:00 2001
From: Kazu Hirata
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Kazu Hirata (kazutakahirata)
Changes
Heterogenous lookups allow us to call find with StringRef, avoiding a
temporary heap allocation of std::string.
---
Full diff: https://github.com/llvm/llvm-project/pull/115113.diff
2 File
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Kazu Hirata (kazutakahirata)
Changes
StringMap::find takes StringRef, so we don't need to allocate
temporary instances of std::string.
---
Full diff: https://github.com/llvm/llvm-project/pull/115114.diff
1 Files Affected:
-
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Kazu Hirata (kazutakahirata)
Changes
StringMap::find takes StringRef, so we don't need to allocate
temporary instances of std::string.
---
Full diff: https://github.com/llvm/llvm-project/pull/115114.diff
1 Files Affected:
- (modif
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/115116
None
>From 6e60305ce06368ca6f0a85407f7945d83f5bacf0 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Tue, 5 Nov 2024 09:59:27 -0800
Subject: [PATCH] [StaticAnalyzer] Simplify code with DenseMap::operator
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/115116.diff
1 Files Affected:
- (modified) clang/lib/StaticAnalyzer/Checkers/LocalizationChecker
https://github.com/chrisnc updated
https://github.com/llvm/llvm-project/pull/111334
>From 4bd5ec308b2d99c6a48457f3c9dbd96e70557e04 Mon Sep 17 00:00:00 2001
From: Chris Copeland
Date: Sun, 6 Oct 2024 20:27:48 -0700
Subject: [PATCH] [ARM] Emit an error when the hard-float ABI is enabled but
can'
@@ -317,38 +323,60 @@ ABIArgInfo
RISCVABIInfo::coerceAndExpandFPCCEligibleStruct(
// Fixed-length RVV vectors are represented as scalable vectors in function
// args/return and must be coerced from fixed vectors.
-ABIArgInfo RISCVABIInfo::coerceVLSVector(QualType Ty) const {
https://github.com/ChuanqiXu9 updated
https://github.com/llvm/llvm-project/pull/106683
>From 15aa6af1f5d22e4b837e8e2fd49469310ffbe7f1 Mon Sep 17 00:00:00 2001
From: Chuanqi Xu
Date: Fri, 30 Aug 2024 15:11:07 +0800
Subject: [PATCH 1/4] [clangd] [Modules] Support Reusable Modules Builder
---
cl
@@ -316,36 +287,169 @@ llvm::Error buildModuleFile(llvm::StringRef ModuleName,
if (Clang->getDiagnostics().hasErrorOccurred())
return llvm::createStringError("Compilation failed");
- BuiltModuleFiles.addModuleFile(ModuleName, Inputs.CompileCommand.Output);
- return llv
@@ -228,54 +223,30 @@ class StandalonePrerequisiteModules : public
PrerequisiteModules {
return BuiltModuleNames.contains(ModuleName);
}
- void addModuleFile(llvm::StringRef ModuleName,
- llvm::StringRef ModuleFilePath) {
-RequiredModules.emplac
https://github.com/ChuanqiXu9 edited
https://github.com/llvm/llvm-project/pull/106683
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -316,36 +287,169 @@ llvm::Error buildModuleFile(llvm::StringRef ModuleName,
if (Clang->getDiagnostics().hasErrorOccurred())
return llvm::createStringError("Compilation failed");
- BuiltModuleFiles.addModuleFile(ModuleName, Inputs.CompileCommand.Output);
- return llv
@@ -316,36 +294,205 @@ llvm::Error buildModuleFile(llvm::StringRef ModuleName,
if (Clang->getDiagnostics().hasErrorOccurred())
return llvm::createStringError("Compilation failed");
- BuiltModuleFiles.addModuleFile(ModuleName, Inputs.CompileCommand.Output);
- return llv
401 - 500 of 507 matches
Mail list logo