https://github.com/rniwa updated
https://github.com/llvm/llvm-project/pull/128651
>From dc53e0602fcec63bdd1bc84325ecc16a3f3e293b Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa
Date: Mon, 24 Feb 2025 23:39:13 -0800
Subject: [PATCH 1/2] [alpha.webkit.UnretainedLambdaCapturesChecker] Add a
WebKit ch
@@ -0,0 +1,20 @@
+// RUN: %clang_cc1 -triple wasm32-unknown-unknown -fexceptions
-fcxx-exceptions -target-feature +reference-types -target-feature
+exception-handling -target-feature +multivalue -exception-model=wasm
-emit-llvm -o - %s | FileCheck %s
+
+// Check if __builtin_wa
@@ -0,0 +1,20 @@
+// RUN: %clang_cc1 -triple wasm32-unknown-unknown -fexceptions
-fcxx-exceptions -target-feature +reference-types -target-feature
+exception-handling -target-feature +multivalue -exception-model=wasm
-emit-llvm -o - %s | FileCheck %s
+
+// Check if __builtin_wa
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 b335d5a8303250cb49901ecae7570adf61abbd3c
dc53e0602fcec63bdd1bc84325ecc16a3f3e293b --e
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Ryosuke Niwa (rniwa)
Changes
Add a new WebKit checker for checking that lambda captures of CF types use
RetainPtr either when ARC is disabled or enabled, and those of NS types use
RetainPtr whe
https://github.com/rniwa created
https://github.com/llvm/llvm-project/pull/128651
Add a new WebKit checker for checking that lambda captures of CF types use
RetainPtr either when ARC is disabled or enabled, and those of NS types use
RetainPtr when ARC is disabled.
>From dc53e0602fcec63bdd1bc8
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ppc64-aix` running
on `aix-ppc64` while building `clang` at step 3 "clean-build-dir".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/64/builds/2347
Here is the relevant piece of the build log f
https://github.com/Pierre-vh updated
https://github.com/llvm/llvm-project/pull/128509
>From cae772441c0d87a017f5cc2cb0b9c970c6b7fcde Mon Sep 17 00:00:00 2001
From: pvanhout
Date: Mon, 24 Feb 2025 14:21:49 +0100
Subject: [PATCH 1/2] [clang][AMDGPU] Enable module splitting by default
The default
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Balazs Benics (steakhal)
Changes
This assertion was hit, as reported by a user.
https://github.com/llvm/llvm-project/issues/128427#issuecomment-2677724438
Ideally, we would reduce and add a regression test for this, but I
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Ryosuke Niwa (rniwa)
Changes
Add a new WebKit checker for member variables and instance variables of NS and
CF types. A member variable or instance variable to a CF type should be
RetainPtr reg
HankChang736 wrote:
> I think this may not be the right way.
>
> 1. We should at least add vl/vtype to clobbered registers when V is
> specified.
>
> 2. The asm may not depend on vl/type, but adding vl/type dependencies
> unconditionally stop further scheduling.
Yes, you're right. Bu
https://github.com/el-ev updated
https://github.com/llvm/llvm-project/pull/121577
>From 5551c179d4b1ed0f41885fc96fa4844c9b0435b5 Mon Sep 17 00:00:00 2001
From: Iris Shi <0...@owo.li>
Date: Fri, 3 Jan 2025 23:00:14 +0800
Subject: [PATCH 1/6] fix gnu::init_priority behavior
---
clang/include/cla
https://github.com/rniwa updated
https://github.com/llvm/llvm-project/pull/128641
>From a4cd301d6176a8ee3441d0c74f6d2c4e32a50cdd Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa
Date: Mon, 24 Feb 2025 23:01:31 -0800
Subject: [PATCH 1/2] [alpha.webkit.NoUnretainedMemberChecker] Add a new WebKit
chec
https://github.com/el-ev updated
https://github.com/llvm/llvm-project/pull/121577
>From 5551c179d4b1ed0f41885fc96fa4844c9b0435b5 Mon Sep 17 00:00:00 2001
From: Iris Shi <0...@owo.li>
Date: Fri, 3 Jan 2025 23:00:14 +0800
Subject: [PATCH 1/6] fix gnu::init_priority behavior
---
clang/include/cla
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 b335d5a8303250cb49901ecae7570adf61abbd3c
a4cd301d6176a8ee3441d0c74f6d2c4e32a50cdd --e
steakhal wrote:
> @schittir Could you please revert the Static Analyzer part? It seems a user
> tripped on it at #128427
The revert is proposed at https://github.com/llvm/llvm-project/pull/128642
https://github.com/llvm/llvm-project/pull/127017
___
c
https://github.com/steakhal edited
https://github.com/llvm/llvm-project/pull/128642
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/steakhal created
https://github.com/llvm/llvm-project/pull/128642
This assertion was hit, as reported by a user.
https://github.com/llvm/llvm-project/issues/128427#issuecomment-2677724438
Ideally, we would reduce and add a regression test for this, but I don't have
the bandw
https://github.com/rniwa created
https://github.com/llvm/llvm-project/pull/128641
Add a new WebKit checker for member variables and instance variables of NS and
CF types. A member variable or instance variable to a CF type should be
RetainPtr regardless of whether ARC is enabled or disabled, a
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Urvi Rav (ravurvi20)
Changes
This PR replaces the `default` clause with the `otherwise` clause for the
`metadirective` in OpenMP. The `otherwise` clause serves as a fallback
condition when no directive from the when clauses is selected. I
https://github.com/ravurvi20 created
https://github.com/llvm/llvm-project/pull/128640
This PR replaces the `default` clause with the `otherwise` clause for the
`metadirective` in OpenMP. The `otherwise` clause serves as a fallback
condition when no directive from the when clauses is selected.
@@ -50,6 +51,41 @@ findCallsAtConstantOffset(SmallVectorImpl
&DevirtCalls,
}
}
+static bool hasTypeIdLoadAtConstantOffset(const Module *M, Value *VPtr,
+ int64_t Offset, const CallInst *CI,
+
https://github.com/hjyamauchi closed
https://github.com/llvm/llvm-project/pull/128267
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Hiroshi Yamauchi
Date: 2025-02-24T22:52:15-08:00
New Revision: f58fde585775a7c25dc673076db914f8d1866081
URL:
https://github.com/llvm/llvm-project/commit/f58fde585775a7c25dc673076db914f8d1866081
DIFF:
https://github.com/llvm/llvm-project/commit/f58fde585775a7c25dc673076db914f8d1866081.di
@@ -911,6 +916,63 @@ static void setLiveRoot(ModuleSummaryIndex &Index,
StringRef Name) {
Summary->setLive(true);
}
+// Return true if the User U is reachable from a non-vtable user
+// through the use-def chain.
+static bool hasNonVTableUsers(const User *U, CXXABI *ABI
https://github.com/FantasqueX updated
https://github.com/llvm/llvm-project/pull/124315
>From ad4784ab47b65e478f669c6ef4b30008c76c5f0b Mon Sep 17 00:00:00 2001
From: Letu Ren
Date: Sat, 25 Jan 2025 01:23:52 +0800
Subject: [PATCH 1/9] [Sema] Add code completion for if constexpr
C++17 supports `i
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
Author: Hank Chang (HankChang736)
Changes
This patch use the hook getClobbers() in RISCV target and mark {vl, type} as
clobber to prevent Post-RA scheduler moving vsetvl across inline assembly.
Fixing [#97794](https://github.com/llvm/llv
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q
farzonl wrote:
The SPIRV test case isn't sufficent. Two reasons.
1. Since you are not using `__builtin_addc ` Your codegen path for
`uadd.with.overflow` is custom to HLSL. Your emitter is in
`EmitHLSLBuiltinExpr`.
2. `llvm/test/CodeGen/SPIRV/llvm-intrinsics/uadd.with.overflow.ll` only tests
`
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
https://github.com/HankChang736 created
https://github.com/llvm/llvm-project/pull/128636
This patch use the hook getClobbers() in RISCV target and mark {vl, type} as
clobber to prevent Post-RA scheduler moving vsetvl across inline assembly.
Fixing [#97794](https://github.com/llvm/llvm-project/
ergawy wrote:
@kiranchandramohan @clementval thanks for your comments (and sorry for the late
response, I was off yesterday).
Sure, we can works on a multi-range loop op in FIR, our team did not write the
current loop op definition so I was working with what I have.
Just to be on the same pag
Author: Chuanqi Xu
Date: 2025-02-25T13:30:30+08:00
New Revision: 366daddfad9aa38ebb7d40055cf65f4ecb7dd6f9
URL:
https://github.com/llvm/llvm-project/commit/366daddfad9aa38ebb7d40055cf65f4ecb7dd6f9
DIFF:
https://github.com/llvm/llvm-project/commit/366daddfad9aa38ebb7d40055cf65f4ecb7dd6f9.diff
LO
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
Fixes #74784
---
Full diff: https://github.com/llvm/llvm-project/pull/128623.diff
2 Files Affected:
- (modified) clang/lib/Format/TokenAnnotator.cpp (+2-3)
- (modified) clang/unittests/Format/FormatTest
@@ -5769,11 +5776,11 @@ void HLSLBufferDecl::addLayoutStruct(CXXRecordDecl *LS)
{
addDecl(LS);
}
-void HLSLBufferDecl::addDefaultBufferDecl(Decl *D) {
+void HLSLBufferDecl::setDefaultBufferDecls(ArrayRef Decls) {
hekota wrote:
Good idea!
https://github.co
https://github.com/owenca edited
https://github.com/llvm/llvm-project/pull/128623
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/128623
Fixes 74784
>From aca2c4f54baaf05831d151c6fa3f20a6cc28a514 Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Mon, 24 Feb 2025 20:09:22 -0800
Subject: [PATCH] [clang-format] Allow breaking before kw___attribute
Fixe
Author: apple-fcloutier
Date: 2025-02-24T18:58:59-08:00
New Revision: c7101188fb3f17176e9152b1d733da6d7199d317
URL:
https://github.com/llvm/llvm-project/commit/c7101188fb3f17176e9152b1d733da6d7199d317
DIFF:
https://github.com/llvm/llvm-project/commit/c7101188fb3f17176e9152b1d733da6d7199d317.dif
jhuber6 wrote:
> @JonChesterfield even if you distinguish spirv64 from amdgpu in cmake clang
> doesn't make that distinction. A common pattern for spriv64 is to return null
> if its not AMDGPU.
General question, what's the expected way to access things like thread IDs and
such from SPIR-V? Th
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q
farzonl wrote:
@JonChesterfield even if you distinguish spirv64 from amdgpu in cmake clang
doesn't make that distinction. A common pattern for spriv64 is to return null
if its not AMDGPU.
`clang/lib/CodeGen/CGBuiltin.cpp`
```
case llvm::Triple::spirv64:
if (CGF->getTarget().getTriple().ge
@@ -535,6 +535,21 @@ void tools::gnutools::Linker::ConstructJob(Compilation &C,
const JobAction &JA,
D.getLTOMode() == LTOK_Thin);
}
+ // Forward the DTLTO options to the linker. We add these unconditionally,
+ // rather than in addLTOOptions() as it is
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-s390x-linux` running
on `systemz-1` while building `clang` at step 5 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/42/builds/3422
Here is the relevant piece of the build log f
https://github.com/Icohedron updated
https://github.com/llvm/llvm-project/pull/127137
>From 4fae5642c6e8e305cdc687b4968ba5eabaa44b50 Mon Sep 17 00:00:00 2001
From: Icohedron
Date: Mon, 27 Jan 2025 11:18:09 -0800
Subject: [PATCH 1/8] Add the AddUint64 HLSL builtin function
- Defines the AddUint
https://github.com/rniwa updated
https://github.com/llvm/llvm-project/pull/128586
>From 90403f77295c0b3e4415263754e22b3c66f31876 Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa
Date: Mon, 24 Feb 2025 13:43:04 -0800
Subject: [PATCH 1/6] [alpha.webkit.UnretainedCallArgsChecker] Add a checker
for NS
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ellis Hoag (ellishg)
Changes
Add the clang frontend flag `-fmemory-profile-runtime-default-options` to
support the `-memprof-runtime-default-options` LLVM flag introduced in
https://github.com/llvm/llvm-project/pull/118874.
This enables
@@ -2142,3 +2190,326 @@ std::vector
lto::generateModulesOrdering(ArrayRef R) {
});
return ModulesOrdering;
}
+
+namespace {
+// For this out-of-process backend no codegen is done when invoked for each
+// task. Instead we generate the required information (e.g. the summary
halbi2 wrote:
Hello, I made patch #128614 that fixes a similar diagnostic with
`-Wsign-compare`. But my patch is much simpler. I simply remove the cv
qualifiers before printing. Why would such an approach not be appropriate in
this case as well?
https://github.com/llvm/llvm-project/pull/82109
@@ -172,6 +172,23 @@ Decl *SemaHLSL::ActOnStartBuffer(Scope *BufferScope, bool
CBuffer,
return Result;
}
+static unsigned calculateLegacyCbufferFieldAlign(const ASTContext &Context,
+ QualType T) {
+ // Arrays and Structs are
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Ellis Hoag (ellishg)
Changes
Add the clang frontend flag `-fmemory-profile-runtime-default-options` to
support the `-memprof-runtime-default-options` LLVM flag introduced in
https://github.com/llvm/llvm-project/pull/118874.
This e
llvmbot wrote:
@llvm/pr-subscribers-llvm-transforms
Author: Ellis Hoag (ellishg)
Changes
Add the clang frontend flag `-fmemory-profile-runtime-default-options` to
support the `-memprof-runtime-default-options` LLVM flag introduced in
https://github.com/llvm/llvm-project/pull/118874.
Thi
ellishg wrote:
CC @SharonXSharon
https://github.com/llvm/llvm-project/pull/128615
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ellishg created
https://github.com/llvm/llvm-project/pull/128615
Add the clang frontend flag `-fmemory-profile-runtime-default-options` to
support the `-memprof-runtime-default-options` LLVM flag introduced in
https://github.com/llvm/llvm-project/pull/118874.
This enables u
https://github.com/halbi2 created
https://github.com/llvm/llvm-project/pull/128614
The cv-qualifiers are not relevant to the comparison result so one should not
print them.
>From 5137e7f1892e4b61d1e496372e82f63b944b8124 Mon Sep 17 00:00:00 2001
From: halbi2
Date: Mon, 24 Feb 2025 19:54:09 -05
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (halbi2)
Changes
The cv-qualifiers are not relevant to the comparison result so one should not
print them.
---
Full diff: https://github.com/llvm/llvm-project/pull/128614.diff
2 Files Affected:
- (modified) clang/lib/Sema/SemaChec
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
https://github.com/tex3d approved this pull request.
Looks good!
https://github.com/llvm/llvm-project/pull/128086
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bogner approved this pull request.
https://github.com/llvm/llvm-project/pull/128589
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
AZero13 wrote:
> We can remove the null check when we prove `ID` is never null.
Are you sure it is never null?
https://github.com/llvm/llvm-project/pull/85465
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailm
@@ -149,11 +149,16 @@ std::vector HeaderSearch::collectVFSUsageAndClear()
const {
llvm::vfs::FileSystem &RootFS = FileMgr.getVirtualFileSystem();
// TODO: This only works if the `RedirectingFileSystem`s were all created by
- // `createVFSFromOverlayFiles`.
+ //
https://github.com/hjyamauchi updated
https://github.com/llvm/llvm-project/pull/128267
>From a36305e0feb4558045e2168d96ef6d941f48a427 Mon Sep 17 00:00:00 2001
From: Hiroshi Yamauchi
Date: Fri, 21 Feb 2025 17:43:30 -0800
Subject: [PATCH] Exclude RedirectingFileSystem with null OverlayFileDir in
=?utf-8?q?F=C3=A9lix?= Cloutier ,
=?utf-8?q?F=C3=A9lix?= Cloutier ,
=?utf-8?q?F=C3=A9lix?= Cloutier ,
=?utf-8?q?F=C3=A9lix?= Cloutier ,
=?utf-8?q?F=C3=A9lix?= Cloutier ,
=?utf-8?q?F=C3=A9lix?= Cloutier ,
=?utf-8?q?F=C3=A9lix?= Cloutier ,
=?utf-8?q?F=C3=A9lix?= Cloutier ,
=?utf-8?q?F=C3=A9lix?= Clou
https://github.com/rniwa updated
https://github.com/llvm/llvm-project/pull/128586
>From 90403f77295c0b3e4415263754e22b3c66f31876 Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa
Date: Mon, 24 Feb 2025 13:43:04 -0800
Subject: [PATCH 1/5] [alpha.webkit.UnretainedCallArgsChecker] Add a checker
for NS
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-m68k-linux-cross`
running on `suse-gary-m68k-cross` while building `clang,llvm` at step 4 "build
stage 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/27/builds/6567
Here is the relevant pi
https://github.com/hekota approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/128086
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Icohedron closed
https://github.com/llvm/llvm-project/pull/125599
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Deric Cheung
Date: 2025-02-24T16:46:59-08:00
New Revision: 305d2738944f77f8defefe79217120bb8aafab75
URL:
https://github.com/llvm/llvm-project/commit/305d2738944f77f8defefe79217120bb8aafab75
DIFF:
https://github.com/llvm/llvm-project/commit/305d2738944f77f8defefe79217120bb8aafab75.diff
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: David Olsen (dkolsen-pgi)
Changes
Support the type `bool` and the literals `true` and `false`. Add the type
`cir::BoolType` and the attribute `cir::BoolAttr` to ClangIR. Add code in all
the necessary places in ClangIR CodeGen to handle a
https://github.com/dkolsen-pgi created
https://github.com/llvm/llvm-project/pull/128601
Support the type `bool` and the literals `true` and `false`. Add the type
`cir::BoolType` and the attribute `cir::BoolAttr` to ClangIR. Add code in all
the necessary places in ClangIR CodeGen to handle and
https://github.com/vitalybuka closed
https://github.com/llvm/llvm-project/pull/128386
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rnk created https://github.com/llvm/llvm-project/pull/128592
cvise reimplements creduce in Python and bundles clang-delta and other tools.
In my experience, it is generally a more robust reduction tool that is better
maintained. I renamed the script to make it tool-neutral, w
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Reid Kleckner (rnk)
Changes
cvise reimplements creduce in Python and bundles clang-delta and other tools.
In my experience, it is generally a more robust reduction tool that is better
maintained. I renamed the script to make it tool-neutr
glandium wrote:
Should this be uplifted to release/20.x?
Cc: @tstellar
https://github.com/llvm/llvm-project/pull/126952
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tcottin closed
https://github.com/llvm/llvm-project/pull/127451
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tcottin wrote:
closing this in favor of #128591
https://github.com/llvm/llvm-project/pull/127451
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
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
https://github.com/tcottin created
https://github.com/llvm/llvm-project/pull/128591
Continue the work on #78491 and #127451 to fix clangd/clangd#529.
In #78491 the work to use the clang doxygen parser without having the
ASTContext available was started.
This allows to parse doxygen comments f
V-FEXrt wrote:
@tex3d @hekota Okay PTAL when you have a moment!
https://github.com/llvm/llvm-project/pull/128086
___
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
@llvm/pr-subscribers-hlsl
Author: Helena Kotas (hekota)
Changes
All variable declarations in the global scope that are not resources, static or
empty are implicitly added to implicit constant buffer `$Globals`. They are
created in `hlsl_constant`
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Helena Kotas (hekota)
Changes
All variable declarations in the global scope that are not resources, static or
empty are implicitly added to implicit constant buffer `$Globals`. They are
created in `hlsl_constant` address space and
https://github.com/hekota created
https://github.com/llvm/llvm-project/pull/128589
All variable declarations in the global scope that are not resources, static or
empty are implicitly added to implicit constant buffer `$Globals`. They are
created in `hlsl_constant` address space and collected
https://github.com/V-FEXrt updated
https://github.com/llvm/llvm-project/pull/128086
>From bebfc20fac6b27d02bca9af328d0568018672c71 Mon Sep 17 00:00:00 2001
From: Ashley Coleman
Date: Thu, 20 Feb 2025 16:16:16 -0700
Subject: [PATCH 1/4] [hlsl][Sema] Fix Struct Size Calculation containing 16
and
https://github.com/iajbar milestoned
https://github.com/llvm/llvm-project/pull/125239
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -117,6 +127,9 @@ bool tryToFindPtrOrigin(
E = call->getArg(0);
continue;
}
+
+if (safeGetName(callee) == "__builtin___CFStringMakeConstantString")
rniwa wrote:
This is for CFSTR.
https://github.com/llvm/llvm-project/pull
@@ -28,6 +29,15 @@ bool tryToFindPtrOrigin(
std::function isSafePtrType,
std::function callback) {
while (E) {
+if (auto *DRE = dyn_cast(E)) {
+ auto *ValDecl = DRE->getDecl();
+ auto QT = ValDecl->getType();
+ auto ValName = ValDecl->getName();
+
https://github.com/rniwa updated
https://github.com/llvm/llvm-project/pull/128586
>From 90403f77295c0b3e4415263754e22b3c66f31876 Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa
Date: Mon, 24 Feb 2025 13:43:04 -0800
Subject: [PATCH 1/3] [alpha.webkit.UnretainedCallArgsChecker] Add a checker
for NS
Author: Wael Yehia
Date: 2025-02-24T17:17:14-05:00
New Revision: d6ec32c8f25975ae31ec9ca7e67d942adadc3898
URL:
https://github.com/llvm/llvm-project/commit/d6ec32c8f25975ae31ec9ca7e67d942adadc3898
DIFF:
https://github.com/llvm/llvm-project/commit/d6ec32c8f25975ae31ec9ca7e67d942adadc3898.diff
LO
https://github.com/w2yehia closed
https://github.com/llvm/llvm-project/pull/127858
___
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: Jon Chesterfield (JonChesterfield)
Changes
Hopefully we can do better before landing. Posting for discussion.
Didn't learn a huge amount. spirv rejects the clang::amdgpu_kernel annotation
and I can't work out how that's supposed to be spe
@@ -122,9 +122,9 @@ namespace CaseStatements {
}
extern int &Recurse1;
-int &Recurse2 = Recurse1; // expected-note {{declared here}}
+int &Recurse2 = Recurse1; // pre-cxx23-note {{declared here}}
efriedma-quic wrote:
I'd guess you just need to generate a note
https://github.com/Bigcheese approved this pull request.
Hmm, I think this is fine, although it would be nice if there was a tighter
connection between the `-ivfsoverlay` options and this. I don't think that
needs to happen here though.
https://github.com/llvm/llvm-project/pull/128267
@@ -149,11 +149,16 @@ std::vector HeaderSearch::collectVFSUsageAndClear()
const {
llvm::vfs::FileSystem &RootFS = FileMgr.getVirtualFileSystem();
// TODO: This only works if the `RedirectingFileSystem`s were all created by
- // `createVFSFromOverlayFiles`.
+ //
https://github.com/Bigcheese edited
https://github.com/llvm/llvm-project/pull/128267
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-offload
@llvm/pr-subscribers-lld-elf
Author: Jon Chesterfield (JonChesterfield)
Changes
Hopefully we can do better before landing. Posting for discussion.
Didn't learn a huge amount. spirv rejects the clang::amdgpu_kernel annotation
and I can't work ou
@@ -0,0 +1,272 @@
+// RUN: %clang_cc1 -std=c++2c -verify %s
+
+class Trivial {};
+struct NonRelocatable {
+~NonRelocatable();
+};
+static NonRelocatable NonRelocatable_g;
+
+class A trivially_relocatable_if_eligible {};
+class B trivially_relocatable_if_eligible : Trivial{};
+
https://github.com/rniwa updated
https://github.com/llvm/llvm-project/pull/128586
>From 90403f77295c0b3e4415263754e22b3c66f31876 Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa
Date: Mon, 24 Feb 2025 13:43:04 -0800
Subject: [PATCH 1/2] [alpha.webkit.UnretainedCallArgsChecker] Add a checker
for NS
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 b335d5a8303250cb49901ecae7570adf61abbd3c
90403f77295c0b3e4415263754e22b3c66f31876 --e
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Ryosuke Niwa (rniwa)
Changes
This PR adds alpha.webkit.UnretainedCallArgsChecker by generalizing
RawPtrRefLocalVarsChecker. It checks call arguments of NS or CF types are
backed by a RetainPtr or not. The new checker is
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ryosuke Niwa (rniwa)
Changes
This PR adds alpha.webkit.UnretainedCallArgsChecker by generalizing
RawPtrRefLocalVarsChecker. It checks call arguments of NS or CF types are
backed by a RetainPtr or not. The new checker is effective for NS a
https://github.com/rniwa created
https://github.com/llvm/llvm-project/pull/128586
This PR adds alpha.webkit.UnretainedCallArgsChecker by generalizing
RawPtrRefLocalVarsChecker. It checks call arguments of NS or CF types are
backed by a RetainPtr or not. The new checker is effective for NS and
1 - 100 of 396 matches
Mail list logo