Author: Orlando Cazalet-Hyams
Date: 2025-05-28T11:25:41+01:00
New Revision: c4d0d95a4fb92d65594f3575814a027815b5182f
URL:
https://github.com/llvm/llvm-project/commit/c4d0d95a4fb92d65594f3575814a027815b5182f
DIFF:
https://github.com/llvm/llvm-project/commit/c4d0d95a4fb92d65594f3575814a027815b518
https://github.com/OCHyams closed
https://github.com/llvm/llvm-project/pull/141607
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman closed
https://github.com/llvm/llvm-project/pull/140890
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Aaron Ballman
Date: 2025-05-28T06:41:01-04:00
New Revision: 5ab944a8c6a213beb96f3747a441b02e497732e4
URL:
https://github.com/llvm/llvm-project/commit/5ab944a8c6a213beb96f3747a441b02e497732e4
DIFF:
https://github.com/llvm/llvm-project/commit/5ab944a8c6a213beb96f3747a441b02e497732e4.diff
https://github.com/OCHyams updated
https://github.com/llvm/llvm-project/pull/134651
>From bf3a37df3a82797227e476485f6cf4c0c9a7c912 Mon Sep 17 00:00:00 2001
From: Orlando Cazalet-Hyams
Date: Fri, 4 Apr 2025 14:36:43 +0100
Subject: [PATCH 1/5] [KeyInstr][Clang] Store-like builtin atoms
---
clan
@@ -4466,7 +4473,8 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl
GD, unsigned BuiltinID,
Value *SizeVal = EmitScalarExpr(E->getArg(2));
EmitNonNullArgCheck(Dest, E->getArg(0)->getType(),
E->getArg(0)->getExprLoc(), FD, 0);
-Bui
https://github.com/SLTozer approved this pull request.
https://github.com/llvm/llvm-project/pull/141607
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
kiranchandramohan wrote:
Does `CCC_OVERRIDE_OPTIONS` expands to Clang Compiler Commandline Override
Options? If so `FCC_OVERRIDE_OPTIONS` expanding to Fortran Compiler Commandline
Override Options seems the right replacement.
If `CCC_OVERRIDE_OPTIONS` expands to Clang C Compiler Override Optio
https://github.com/zyn0217 created
https://github.com/llvm/llvm-project/pull/141741
032ad59 taught the instantiator to expand template argument packs for rewrite.
However we might already be in a pack expansion when we synthesizing the CTAD
guide, so we reset the ArgPackSubstIndex to ensure it
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Younan Zhang (zyn0217)
Changes
032ad59 taught the instantiator to expand template argument packs for rewrite.
However we might already be in a pack expansion when we synthesizing the CTAD
guide, so we reset the ArgPackSubstIndex to ensure
https://github.com/zyn0217 edited
https://github.com/llvm/llvm-project/pull/141741
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
antoniofrighetto wrote:
> Sorry, can you back up and explain the root problem you're trying to solve?
> You have a platform where we're emitting accesses to `errno` as if it weren't
> an `int`? What does it look like in source?
Oh, sorry for not providing context earlier. The reasoning behind
https://github.com/jthackray created
https://github.com/llvm/llvm-project/pull/141743
None
>From a76663bd47510c46b7c4415d4b5d97642ce69967 Mon Sep 17 00:00:00 2001
From: Jonathan Thackray
Date: Wed, 28 May 2025 11:47:00 +0100
Subject: [PATCH] [NFC][AArch64] Add relnote saying modal FP8 intrinsi
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
The constructor starts the lifetime of all the subobjects.
---
Full diff: https://github.com/llvm/llvm-project/pull/141742.diff
3 Files Affected:
- (modified) clang/lib/AST/ByteCode/DynamicAllocator.cpp (+
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/141742
The constructor starts the lifetime of all the subobjects.
>From 11f8d2e4c3282a9b49f9cf08b7d16f6c32e08134 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 28 May 2025 11:27:39 +0200
Subj
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Jonathan Thackray (jthackray)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/141743.diff
1 Files Affected:
- (modified) clang/docs/ReleaseNotes.rst (+4)
``diff
diff --git a/clang/docs/ReleaseNotes.rst b/cla
https://github.com/xlauko edited
https://github.com/llvm/llvm-project/pull/141700
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/OCHyams updated
https://github.com/llvm/llvm-project/pull/134646
>From 0c7a83007e218dd7338b92f1d50319b0f35cf55f Mon Sep 17 00:00:00 2001
From: Orlando Cazalet-Hyams
Date: Thu, 3 Apr 2025 19:12:47 +0100
Subject: [PATCH 1/7] [KeyInstr][Clang] For stmt atom
This patch is part o
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/141633
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
kiranchandramohan wrote:
> > Thank you for seeing this through and making all the little changes. I have
> > requested reviews from @MaskRay and @aeubanks for the clang side of things.
>
> hello,I noticed that this PR has been awaiting clang review for three weeks.
> I still haven't gotten a c
https://github.com/heiher approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/141703
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -388,6 +388,76 @@ bool LoongArchTargetInfo::handleTargetFeatures(
return true;
}
+enum class AttrFeatureKind { Arch, Tune, NoFeature, Feature, Invalid };
+
+static std::pair
+getAttrFeatureTypeAndValue(llvm::StringRef AttrFeature) {
+ if (auto Split = AttrFeature.split("
https://github.com/Ami-zhang edited
https://github.com/llvm/llvm-project/pull/140700
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Ami-zhang edited
https://github.com/llvm/llvm-project/pull/140700
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Ami-zhang updated
https://github.com/llvm/llvm-project/pull/140700
>From a9f8fa53dd260f8161a2762c5ec118722cbf22a1 Mon Sep 17 00:00:00 2001
From: Ami-zhang
Date: Wed, 14 May 2025 15:21:54 +0800
Subject: [PATCH 1/2] [Clang][LoongArch] Support target attribute for function
This
eZWALT wrote:
> > AnalyzeLoopSequence
>
> Could you point, where this is located?
Of course, [See line 14315 in
`SemaOpenMP.cpp`](https://github.com/eZWALT/llvm-project/blob/main/clang/lib/Sema/SemaOpenMP.cpp#L14315)
https://github.com/llvm/llvm-project/pull/140532
__
eZWALT wrote:
> > AnalyzeLoopSequence
>
> Could you point, where this is located?
Although now that i think about it, this function is not inside this PR but
rather on the PR #139293, but the dependency is clear.
https://github.com/llvm/llvm-project/pull/140532
__
https://github.com/frasercrmck approved this pull request.
LGTM, thanks
https://github.com/llvm/llvm-project/pull/141721
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
frasercrmck wrote:
> > That said, I don't believe it "works" in the way it's supposed to. It still
> > grabs the host tools using `get_host_tool_path` in CMake, and custom
> > commands to build with that. I take it we're supposed to use
> > `CMAKE_C_COMPILER` as if we were a regular CMake proj
https://github.com/frasercrmck updated
https://github.com/llvm/llvm-project/pull/141574
>From f5278d261d203cea8889174c8b0a16c03d1cbad9 Mon Sep 17 00:00:00 2001
From: Fraser Cormack
Date: Tue, 27 May 2025 11:11:14 +0100
Subject: [PATCH 1/2] [libclc] Support LLVM_ENABLE_RUNTIMES when building
Th
@@ -3195,6 +3195,17 @@ bool Sema::checkTargetAttr(SourceLocation LiteralLoc,
StringRef AttrStr) {
}
}
+ if (Context.getTargetInfo().getTriple().isLoongArch()) {
+for (const auto &Feature : ParsedAttrs.Features) {
+ StringRef CurFeature = Feature;
+ if (Cu
https://github.com/Rajveer100 updated
https://github.com/llvm/llvm-project/pull/139859
>From 2fc6e7ccab49888b60bbb43e0e6350555c5eb9f1 Mon Sep 17 00:00:00 2001
From: Rajveer
Date: Wed, 14 May 2025 13:44:31 +0530
Subject: [PATCH] [clang][Sema] Diagnose exceptions only in non-dependent
context in
https://github.com/Keenuts approved this pull request.
https://github.com/llvm/llvm-project/pull/137805
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
zyn0217 wrote:
@cor3ntin can we merge it? building clang with ToT clang results in a lot of
warnings now.
https://github.com/llvm/llvm-project/pull/141091
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/l
Author: David Green
Date: 2025-05-28T12:26:54+01:00
New Revision: 3a42cbd47d3e92b8794378d2a0e8ec7ae81950d7
URL:
https://github.com/llvm/llvm-project/commit/3a42cbd47d3e92b8794378d2a0e8ec7ae81950d7
DIFF:
https://github.com/llvm/llvm-project/commit/3a42cbd47d3e92b8794378d2a0e8ec7ae81950d7.diff
L
Rajveer100 wrote:
Done.
https://github.com/llvm/llvm-project/pull/139859
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/CarolineConcatto approved this pull request.
LGTM!
Thank you Jonathan.
https://github.com/llvm/llvm-project/pull/141743
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi
AaronBallman wrote:
> If you feel that there's a technical reason that the compiler output is no
> longer reasonable, you are welcome to bring it up as a technical argument. My
> point is simply that "my transform stopped working because clang's compiler
> output changed" is not, in and of its
https://github.com/davemgreen updated
https://github.com/llvm/llvm-project/pull/126945
>From 5a17166859760dcbc258892be46f7f909c2b00a9 Mon Sep 17 00:00:00 2001
From: Tomas Matheson
Date: Wed, 12 Feb 2025 14:31:47 +
Subject: [PATCH 1/3] Add missing Neon Types
The AAPCS64 adds a number of vec
davemgreen wrote:
> LGTM with one nitpick. I've run this through a fuzzer which tests ABI
> compatibility with GCC and didn't find any problems.
Thanks for the review and the extra testing!
https://github.com/llvm/llvm-project/pull/126945
___
cfe-com
Author: Carlos Alberto Enciso
Date: 2025-05-28T09:15:48+01:00
New Revision: d1b0cbff806b50d399826e79b9a53e4726c21302
URL:
https://github.com/llvm/llvm-project/commit/d1b0cbff806b50d399826e79b9a53e4726c21302
DIFF:
https://github.com/llvm/llvm-project/commit/d1b0cbff806b50d399826e79b9a53e4726c213
https://github.com/CarlosAlbertoEnciso closed
https://github.com/llvm/llvm-project/pull/130255
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
CarlosAlbertoEnciso wrote:
@dwblaikie @labath @pogo59 @jmorse @Michael137 @tromey Many thanks for all your
valuable feedback.
https://github.com/llvm/llvm-project/pull/130255
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.o
https://github.com/labath approved this pull request.
Looks good. Thanks for the fix.
https://github.com/llvm/llvm-project/pull/141478
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1044,6 +1057,24 @@ StringRef CIRGenModule::getMangledName(GlobalDecl gd) {
return mangledDeclNames[canonicalGd] = result.first->first();
}
+void CIRGenModule::emitTentativeDefinition(const VarDecl *d) {
+ assert(!d->getInit() && "Cannot emit definite definitions here!")
@@ -135,6 +135,10 @@ class CIRGenConsumer : public clang::ASTConsumer {
}
}
}
+
+ void CompleteTentativeDefinition(VarDecl *D) override {
+Gen->CompleteTentativeDefinition(D);
+ }
xlauko wrote:
```suggestion
void CompleteTentativeDefinition(V
https://github.com/xlauko approved this pull request.
lgtm, with minor nits
https://github.com/llvm/llvm-project/pull/141700
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -388,6 +388,76 @@ bool LoongArchTargetInfo::handleTargetFeatures(
return true;
}
+enum class AttrFeatureKind { Arch, Tune, NoFeature, Feature, Invalid };
+
+static std::pair
+getAttrFeatureTypeAndValue(llvm::StringRef AttrFeature) {
+ if (auto Split = AttrFeature.split("
@@ -3195,6 +3195,17 @@ bool Sema::checkTargetAttr(SourceLocation LiteralLoc,
StringRef AttrStr) {
}
}
+ if (Context.getTargetInfo().getTriple().isLoongArch()) {
+for (const auto &Feature : ParsedAttrs.Features) {
+ StringRef CurFeature = Feature;
+ if (Cu
@@ -85,6 +85,7 @@ struct ArchInfo {
};
bool isValidArchName(StringRef Arch);
+bool isValidFeatureName(StringRef Arch);
wangleiat wrote:
Arch -> Feature
https://github.com/llvm/llvm-project/pull/140700
___
cfe-commi
@@ -522,6 +522,12 @@ enum class TemplateSubstitutionKind : char {
llvm::PointerUnion *
findInstantiationOf(const Decl *D);
+/// Similar to \p findInstantiationOf(), but it wouldn't assert if the
+/// instantiation was not found within the current instantiation
googlewalt wrote:
Never mind. Fixed by
https://github.com/llvm/llvm-project/commit/f3b404be973507432cf86c177978d9de708d850c.
https://github.com/llvm/llvm-project/pull/134034
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.o
@@ -85,6 +85,7 @@ struct ArchInfo {
};
bool isValidArchName(StringRef Arch);
+bool isValidFeatureName(StringRef Arch);
Ami-zhang wrote:
Done.
https://github.com/llvm/llvm-project/pull/140700
___
cfe-commits mailing
@@ -13458,6 +13473,10 @@ class Sema final : public SemaBase {
// FIXME: Should we have a similar limit for other forms of synthesis?
unsigned NonInstantiationEntries;
+ /// The number of \p CodeSynthesisContexts that are not constraint
+ /// substitution.
+ unsigned Non
https://github.com/zyn0217 deleted
https://github.com/llvm/llvm-project/pull/122423
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Devon Loehr
Date: 2025-05-28T12:15:22+02:00
New Revision: 63de20c0de05ce7b8b3968a9d210aa0f3d01acd4
URL:
https://github.com/llvm/llvm-project/commit/63de20c0de05ce7b8b3968a9d210aa0f3d01acd4
DIFF:
https://github.com/llvm/llvm-project/commit/63de20c0de05ce7b8b3968a9d210aa0f3d01acd4.diff
L
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/141091
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
googlewalt wrote:
This doesn't build with -Werror, as seen in llvm-ci build
https://lab.llvm.org/buildbot/#/builders/145/builds/7332. Can you please take
a look?
```
FAILED:
tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangBuiltinTemplatesEmitter.cpp.o
ccache /home/buildbots/llv
hanickadot wrote:
> @hanickadot Ping :)
Soon, busy, will be back.
https://github.com/llvm/llvm-project/pull/98756
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mgoudar edited
https://github.com/llvm/llvm-project/pull/141730
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mylai-mtk wrote:
> There are intentional tradeoffs here, for the ABI, which should be made
> carefully; in some cases, it might be the right tradeoff to reject
> standard-compliant code. If you've considered it, I guess I won't object. I
> can't find any discussion of it, though.
The reductio
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/141714
>From 2d30adbd7bcce89c157e5b3eb517854cfbd35f48 Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Tue, 27 May 2025 20:50:56 -0700
Subject: [PATCH] [clang-format] Handle .h files for LK_C and LK_ObjC
Fix #137792
---
Author: Steven Perron
Date: 2025-05-28T07:51:03-04:00
New Revision: 5584020d8abf46f2852a59ed5333a7f2145bfec5
URL:
https://github.com/llvm/llvm-project/commit/5584020d8abf46f2852a59ed5333a7f2145bfec5
DIFF:
https://github.com/llvm/llvm-project/commit/5584020d8abf46f2852a59ed5333a7f2145bfec5.diff
https://github.com/s-perron closed
https://github.com/llvm/llvm-project/pull/140061
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4466,7 +4473,8 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl
GD, unsigned BuiltinID,
Value *SizeVal = EmitScalarExpr(E->getArg(2));
EmitNonNullArgCheck(Dest, E->getArg(0)->getType(),
E->getArg(0)->getExprLoc(), FD, 0);
-Bui
Author: Yaxun (Sam) Liu
Date: 2025-05-28T08:05:03-04:00
New Revision: 54ddbc6be3eeb91ae24f5e002fc1d0be7cb07654
URL:
https://github.com/llvm/llvm-project/commit/54ddbc6be3eeb91ae24f5e002fc1d0be7cb07654
DIFF:
https://github.com/llvm/llvm-project/commit/54ddbc6be3eeb91ae24f5e002fc1d0be7cb07654.dif
https://github.com/qinkunbao updated
https://github.com/llvm/llvm-project/pull/141640
>From d858fbe3ce415fda7d43d4e99c5a94646174b965 Mon Sep 17 00:00:00 2001
From: Qinkun Bao
Date: Tue, 27 May 2025 17:32:30 +
Subject: [PATCH 1/7] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20ch?=
=?UT
@@ -0,0 +1,12 @@
+! RUN: env FCC_OVERRIDE_OPTIONS="#+-Os +-Oz +-O +-O3 +-Oignore +a +b +c xb Xa
Omagic ^-### " %flang -target x86_64-unknown-linux-gnu %s -O2 b -O3 2>&1 |
FileCheck %s
kiranchandramohan wrote:
Does `+`, `x`,`X` have special meanings? Is that do
https://github.com/AaronBallman created
https://github.com/llvm/llvm-project/pull/141747
The assumption attribute is exposed with a Clang spelling, which means we
support __attribute__((assume)) as well as [[clang::assume]] as spellings for
the attribute.
In C++, the [[clang::assume]] spellin
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Aaron Ballman (AaronBallman)
Changes
The assumption attribute is exposed with a Clang spelling, which means we
support __attribute__((assume)) as well as [[clang::assume]] as spellings for
the attribute.
In C++, the [[clang::assume]] spe
https://github.com/yxsamliu closed
https://github.com/llvm/llvm-project/pull/141633
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/141657
>From c7a41997f41daea5669e1a5b003e0b42699c56d4 Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Tue, 27 May 2025 14:52:35 -0400
Subject: [PATCH 1/4] [Docs] Explicitly document libclang ABI and API stabili
https://github.com/jthackray updated
https://github.com/llvm/llvm-project/pull/141743
>From a76663bd47510c46b7c4415d4b5d97642ce69967 Mon Sep 17 00:00:00 2001
From: Jonathan Thackray
Date: Wed, 28 May 2025 11:47:00 +0100
Subject: [PATCH 1/2] [NFC][AArch64] Add relnote saying modal FP8 intrinsics
@@ -358,3 +358,46 @@ Complete example code
.. _Index.h:
https://github.com/llvm/llvm-project/blob/main/clang/include/clang-c/Index.h
+
+.. _Stability:
+
+ABI and API Stability
+-
+
+The C interfaces in libclang are intended to be relatively stable. This a
omarahmed wrote:
@Artem-B @tarunprabhu Could you merge it for me as I don't have access, Thanks!
https://github.com/llvm/llvm-project/pull/141036
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
https://github.com/Rajveer100 updated
https://github.com/llvm/llvm-project/pull/139859
>From a385808a47e3a7b585a225b9fbf10c55ba01ef5b Mon Sep 17 00:00:00 2001
From: Rajveer
Date: Wed, 14 May 2025 13:44:31 +0530
Subject: [PATCH] [clang][Sema] Diagnose exceptions only in non-dependent
context in
https://github.com/AaronBallman edited
https://github.com/llvm/llvm-project/pull/141695
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman commented:
I added @cor3ntin and @tahonermann for some extra sets of eyes, seeing as how I
already messed this up once before. :-)
https://github.com/llvm/llvm-project/pull/141695
___
cfe-commits mailing list
cfe-commit
@@ -1432,14 +1432,26 @@ void
NumericLiteralParser::ParseNumberStartingWithZero(SourceLocation TokLoc) {
Diags.Report(TokLoc, DiagId);
++s;
DigitsBegin = s;
-SawOctalPrefix = true;
+radix = 8;
AaronBallman wrote:
There's code below which al
Author: Jonathan Thackray
Date: 2025-05-28T13:22:05+01:00
New Revision: dcf3c79c36ac0e077eee26e8bc1e55d2eb99430c
URL:
https://github.com/llvm/llvm-project/commit/dcf3c79c36ac0e077eee26e8bc1e55d2eb99430c
DIFF:
https://github.com/llvm/llvm-project/commit/dcf3c79c36ac0e077eee26e8bc1e55d2eb99430c.d
https://github.com/jthackray closed
https://github.com/llvm/llvm-project/pull/141743
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman approved this pull request.
Clang bits LGTM!
https://github.com/llvm/llvm-project/pull/136098
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -373,19 +373,21 @@ implementation of the facilities by Clang may change
behavior as bugs are
fixed, features get implemented, etc.
The library should be ABI and API stable over time, but ABI- and API-breaking
-changes can happen in the following situations:
+changes can ha
https://github.com/inbelic updated
https://github.com/llvm/llvm-project/pull/140181
>From 1c40e031725f1bd21c5c0d24d333781f99bd2a0a Mon Sep 17 00:00:00 2001
From: Finn Plummer
Date: Thu, 15 May 2025 23:14:10 +
Subject: [PATCH 01/18] pre-req: add missing token to Lexer
---
clang/include/cla
@@ -821,22 +873,115 @@ std::optional
RootSignatureParser::handleUIntLiteral() {
PP.getSourceManager(), PP.getLangOpts(),
PP.getTargetInfo(), PP.getDiagnostics());
if (Literal.hadError)
-return tr
Author: Orlando Cazalet-Hyams
Date: 2025-05-28T18:31:08+01:00
New Revision: 894a0dd57f81211f9e431d9e84f2856d34f46993
URL:
https://github.com/llvm/llvm-project/commit/894a0dd57f81211f9e431d9e84f2856d34f46993
DIFF:
https://github.com/llvm/llvm-project/commit/894a0dd57f81211f9e431d9e84f2856d34f469
higher-performance wrote:
Could I move forward with merging this? Or does anyone feel there are blockers
here?
https://github.com/llvm/llvm-project/pull/141133
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mail
@@ -710,4 +710,28 @@ void AnnotateIgnoreWritesEnd(const char *file, int line);
#define LLVM_PREFERRED_TYPE(T)
#endif
+/// \macro LLVM_VIRTUAL_ANCHOR_FUNCTION
+/// This macro is used to adhere to LLVM's policy that each class with a vtable
+/// must have at least one out-of-lin
https://github.com/vitalybuka approved this pull request.
https://github.com/llvm/llvm-project/pull/141814
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/andykaylor updated
https://github.com/llvm/llvm-project/pull/141700
>From f0520c397b3739c09aeaf75c20e33ecf9053c2af Mon Sep 17 00:00:00 2001
From: Andy Kaylor
Date: Fri, 23 May 2025 17:53:48 -0700
Subject: [PATCH 1/2] [CIR] Defer declarations and tentative definitions
This ch
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/141814
>From 04f6229593a5891025d4ac240b3b5b15535a1e25 Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Wed, 28 May 2025 17:55:46 +
Subject: [PATCH 1/2] [NFCI][ubsan] Precommit tests for
-fsanitize-annotate-deb
https://github.com/vitalybuka approved this pull request.
https://github.com/llvm/llvm-project/pull/141814
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,74 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --version 5
+// RUN: %clang_cc1 -emit-llvm -triple x86_64 -std=c17 -fsanitize=function %s
-o - \
thurstond wrote:
Done
https://github.com/llvm/llvm-projec
@@ -991,3 +991,34 @@ int mixed() {
// expected-note@+1 {{in instantiation of function template specialization
'mixed' requested here}}
return mixed();
}
+
+#ifdef OMP51
+struct U {};
+struct U operator<(U, U);
+struct U operator>(U, U);
+struct U operator==(U, U);
+
+templ
@@ -12062,32 +12154,56 @@ bool
OpenMPAtomicCompareCaptureChecker::checkForm3(IfStmt *S,
X = BO->getLHS();
D = BO->getRHS();
- auto *Cond = dyn_cast(S->getCond());
- if (!Cond) {
+ if (auto *Cond = dyn_cast(S->getCond())) {
+C = Cond;
+if (Cond->getOpcode() != B
https://github.com/AmrDeveloper closed
https://github.com/llvm/llvm-project/pull/14
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
rjmccall wrote:
> Oh, sorry for not providing context earlier. The reasoning behind is to allow
> certain optimizations involving errno-writing libcalls (marked as
> `memory(errnomem: write)`) to occur, if we are able to prove the involved
> memory location does not alias errno (e.g., because
higher-performance wrote:
I see, thanks for explaining. That would be great if you can discuss it offline
in the near future.
In the meantime, let me just emphasize a some points from my side before I
forget:
- The question of delayed initialization is (so far as I can tell) entirely
orthogo
@@ -12062,32 +12154,56 @@ bool
OpenMPAtomicCompareCaptureChecker::checkForm3(IfStmt *S,
X = BO->getLHS();
D = BO->getRHS();
- auto *Cond = dyn_cast(S->getCond());
- if (!Cond) {
+ if (auto *Cond = dyn_cast(S->getCond())) {
+C = Cond;
+if (Cond->getOpcode() != B
@@ -991,3 +991,34 @@ int mixed() {
// expected-note@+1 {{in instantiation of function template specialization
'mixed' requested here}}
return mixed();
}
+
+#ifdef OMP51
+struct U {};
+struct U operator<(U, U);
+struct U operator>(U, U);
+struct U operator==(U, U);
+
+templ
1 - 100 of 401 matches
Mail list logo