https://github.com/samitolvanen closed
https://github.com/llvm/llvm-project/pull/131230
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/carlosgalvezp approved this pull request.
LGTM, thanks for improving the docs!
https://github.com/llvm/llvm-project/pull/133525
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/c
@@ -64,21 +64,27 @@ class CGBuilderTy : public CGBuilderBaseTy {
Address createConstGEP2_32(Address Addr, unsigned Idx0, unsigned Idx1,
const llvm::Twine &Name) {
const llvm::DataLayout &DL = BB->getDataLayout();
-llvm::GetElementPtrInst *
Author: Joseph Huber
Date: 2025-03-24T10:02:39-05:00
New Revision: b1a8e6e3ae1d7d8c8dbb5e3b9c5df03283fca279
URL:
https://github.com/llvm/llvm-project/commit/b1a8e6e3ae1d7d8c8dbb5e3b9c5df03283fca279
DIFF:
https://github.com/llvm/llvm-project/commit/b1a8e6e3ae1d7d8c8dbb5e3b9c5df03283fca279.diff
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/132141
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
karolherbst wrote:
It does, thank you!
https://github.com/llvm/llvm-project/pull/132390
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4161,6 +4247,37 @@ convertOmpDistribute(Operation &opInst,
llvm::IRBuilderBase &builder,
if (failed(checkImplementationStatus(opInst)))
return failure();
+ /// Process teams op reduction in distribute if the reduction is contained in
+ /// the distribute op.
+ om
dtcxzyw wrote:
> willreturn means we eliminate the call
The ubsan handler cannot be eliminated because `inaccessiblemem: readwrite`
indicates that it has externally observable side effects.
BTW, I just worry that some risky instructions (e.g., divided by zero) may be
moved before the handler
@@ -0,0 +1,68 @@
+// RUN: %clang_cc1 -fsyntax-only -std=c2y -pedantic -Wall -Wno-comment -verify
%s
+
+/* WG14 N3369: Clang 21
+ * _Lengthof operator
+ *
+ * Adds an operator to get the length of an array. Note that WG14 N3469 renamed
+ * this operator to _Countof.
+ */
-
https://github.com/T-Gruber updated
https://github.com/llvm/llvm-project/pull/133381
>From 241c95a956a440b9a118654baad55fb253d2413c Mon Sep 17 00:00:00 2001
From: T-Gruber
Date: Fri, 28 Mar 2025 07:37:59 +0100
Subject: [PATCH 1/7] Remove early return for UnknownVal
---
clang/lib/StaticAnalyze
https://github.com/farzonl edited
https://github.com/llvm/llvm-project/pull/132288
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -322,5 +322,53 @@ reflect(__detail::HLSL_FIXED_VECTOR I,
__detail::HLSL_FIXED_VECTOR N) {
return __detail::reflect_vec_impl(I, N);
}
+
+//===--===//
+// smoothstep builtin
+//===---
https://github.com/bcardosolopes edited
https://github.com/llvm/llvm-project/pull/132266
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-amdgpu-runtime` running on `omp-vega20-0` while building
`clang` at step 7 "Add check check-offload".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/30/builds/18034
Here is the releva
https://github.com/RiverDave updated
https://github.com/llvm/llvm-project/pull/131969
>From 760916be170bc3a3e4188f9b399050cc92ab334f Mon Sep 17 00:00:00 2001
From: David Rivera
Date: Sun, 16 Mar 2025 16:20:16 -0400
Subject: [PATCH] [clang-tidy] Add support for Initialization Forwarding in
Nest
Author: Qiongsi Wu
Date: 2025-04-01T12:55:17-07:00
New Revision: 4a73c99329ed36712a6faa8e37aa895cfeac23ce
URL:
https://github.com/llvm/llvm-project/commit/4a73c99329ed36712a6faa8e37aa895cfeac23ce
DIFF:
https://github.com/llvm/llvm-project/commit/4a73c99329ed36712a6faa8e37aa895cfeac23ce.diff
LO
EthanLuisMcDonough wrote:
> It worked before your patch right? Is this what it exposed before then?
In 83e180c, I marked `__llvm_write_custom_profile` as used, which fixed the
Darwin code stripping bug but broke the library on embedded systems. In
c50d39f, I removed the used attribute, which b
Author: Aaron Ballman
Date: 2025-04-02T07:28:45-04:00
New Revision: 574e43dffd7a97d32f996df58b1787ad5158529c
URL:
https://github.com/llvm/llvm-project/commit/574e43dffd7a97d32f996df58b1787ad5158529c
DIFF:
https://github.com/llvm/llvm-project/commit/574e43dffd7a97d32f996df58b1787ad5158529c.diff
Author: Sami Tolvanen
Date: 2025-04-02T21:53:55Z
New Revision: acc6bcdc504ad2e8c09a628dc18de0067f7344b8
URL:
https://github.com/llvm/llvm-project/commit/acc6bcdc504ad2e8c09a628dc18de0067f7344b8
DIFF:
https://github.com/llvm/llvm-project/commit/acc6bcdc504ad2e8c09a628dc18de0067f7344b8.diff
LOG:
@@ -0,0 +1,34 @@
+// Fixes #59819. The underlying problem was fixed in
https://reviews.llvm.org/D142560, but this patch adds a proper regression test.
+// RUN: rm -rf %t && mkdir -p %t
+// RUN: clang-doc --format=md --doxygen --output=%t --executor=standalone %s
+// RUN: FileChec
https://github.com/hulxv updated
https://github.com/llvm/llvm-project/pull/131280
>From bf9bd4156cb7f652c9cf0477f537e5c58b470448 Mon Sep 17 00:00:00 2001
From: hulxv
Date: Fri, 14 Mar 2025 07:39:15 +0200
Subject: [PATCH 1/8] [clang-doc] [feat] add `--repository-line-prefix`
argument (fix #5981
https://github.com/bogner updated
https://github.com/llvm/llvm-project/pull/130231
>From bf5e5b4b1060f51d37b05c905b4327a40316f158 Mon Sep 17 00:00:00 2001
From: Justin Bogner
Date: Thu, 6 Mar 2025 17:50:12 -0800
Subject: [PATCH 1/3] [HLSL] Buffer handle globals should not be constants
If these
https://github.com/zeule updated
https://github.com/llvm/llvm-project/pull/131605
>From 7d79e05ec1a6086c85f73d087ac1667fc0246d22 Mon Sep 17 00:00:00 2001
From: Eugene Shalygin
Date: Mon, 17 Mar 2025 11:23:35 +0100
Subject: [PATCH] [clang-format] option to control bin-packing keyworded
paramete
@@ -319,6 +319,9 @@ Improvements to Clang's diagnostics
- ``-Wc++98-compat`` no longer diagnoses use of ``__auto_type`` or
``decltype(auto)`` as though it was the extension for ``auto``. (#GH47900)
+- Now correctly diagnose use of a tentative definition of an array with stat
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/134016
___
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-codegen
@llvm/pr-subscribers-backend-amdgpu
Author: Farzon Lotfi (farzonl)
Changes
Reverts llvm/llvm-project#133619
---
Full diff: https://github.com/llvm/llvm-project/pull/133795.diff
4 Files Affected:
- (modified) clang/lib/CodeGen/CMakeLists
@@ -170,102 +132,112 @@ struct alignas(ConstraintAlignment)
FoldExpandedConstraint {
const Expr *Pattern)
: Kind(K), Constraint(std::move(C)), Pattern(Pattern) {};
- template
- bool subsumes(const FoldExpandedConstraint &Other,
-
https://github.com/dtcxzyw updated
https://github.com/llvm/llvm-project/pull/130990
>From 48f8e2591c317f90eff6f1d0a4ecdf27e19a1b01 Mon Sep 17 00:00:00 2001
From: Yingwei Zheng
Date: Thu, 13 Mar 2025 00:39:09 +0800
Subject: [PATCH 1/5] [Clang][CodeGen][UBSan] Add pre-commit tests. NFC.
---
cla
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building
`clang,llvm` at step 5 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/174/builds/14952
Here is the r
@@ -169,6 +172,7 @@ void ConstCorrectnessCheck::check(const
MatchFinder::MatchResult &Result) {
if (ArrayT->getElementType()->isPointerType())
VC = VariableCategory::Pointer;
}
+ llvm::errs() << (int)VC << "\n";
vbvictor wrote:
This also unintent
https://github.com/jrtc27 created
https://github.com/llvm/llvm-project/pull/132489
Thraed-local globals live, by default, in the default globals address
space, which may not be 0, so we need to overload @llvm.thread.pointer
to support other address spaces, and use the default globals address
spa
mizvekov wrote:
Yeah, clang side unchanged.
The lldb changed stuff is trivial, I don't think it's worth waiting a long time
for lldb input.
https://github.com/llvm/llvm-project/pull/132234
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https
Author: Sam Elliott
Date: 2025-03-24T13:04:00-07:00
New Revision: 4fb9650b21fc038ca044ac1ca7fcd5be0b44194a
URL:
https://github.com/llvm/llvm-project/commit/4fb9650b21fc038ca044ac1ca7fcd5be0b44194a
DIFF:
https://github.com/llvm/llvm-project/commit/4fb9650b21fc038ca044ac1ca7fcd5be0b44194a.diff
L
https://github.com/chestnykh closed
https://github.com/llvm/llvm-project/pull/131296
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes
Message-ID:
In-Reply-To:
asb wrote:
I'm
https://github.com/farzonl created
https://github.com/llvm/llvm-project/pull/133850
fixes https://github.com/llvm/llvm-project/issues/133199
The fix to reland was moving `Targets/DirectX.cpp` from
`clang/lib/CodeGen/Targets/CMakeLists.txt` back to
`clang/lib/CodeGen/CMakeLists.txt`.
That cha
@@ -2378,7 +2464,7 @@ convertOmpParallel(omp::ParallelOp opInst,
llvm::IRBuilderBase &builder,
llvm::OpenMPIRBuilder::InsertPointOrErrorTy contInsertPoint =
ompBuilder->createReductions(builder.saveIP(), allocaIP,
- reduct
@@ -21,20 +21,15 @@ class NamespaceDecl;
class Sema;
class HLSLExternalSemaSource : public ExternalSemaSource {
+private:
bogner wrote:
The default visibility in `class` is private, so this doesn't do anything
https://github.com/llvm/llvm-project/pull/131032
Author: Farzon Lotfi
Date: 2025-03-27T11:47:14-04:00
New Revision: 59d06071e9b509e874f24c465b13eb77cffa1d42
URL:
https://github.com/llvm/llvm-project/commit/59d06071e9b509e874f24c465b13eb77cffa1d42
DIFF:
https://github.com/llvm/llvm-project/commit/59d06071e9b509e874f24c465b13eb77cffa1d42.diff
@@ -19,6 +19,7 @@
// CHECK-NEXT: FEAT_ETE
Enable Embedded Trace Extension
// CHECK-NEXT: FEAT_FCMA
Enable Armv8.3-A Floating-point complex number support
// CHECK-NEXT: FEAT
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Younan Zhang (zyn0217)
Changes
In ecc7e6ce4, we tried to inspect the `LambdaScopeInfo` on stack to recover the
instantiating lambda captures. However, there was a mismatch in how we compared
the pattern declarations of lambdas: the constr
@@ -386,13 +386,29 @@ llvm::Type *CommonSPIRTargetCodeGenInfo::getHLSLType(
if (ContainedTy.isNull())
return nullptr;
-assert(!ResAttrs.RawBuffer &&
- "Raw buffers handles are not implemented for SPIR-V yet");
assert(!ResAttrs.IsROV &&
https://github.com/farzonl edited
https://github.com/llvm/llvm-project/pull/134171
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?q?Donát?= Nagy ,
=?utf-8?q?Donát?= Nagy ,
=?utf-8?q?Donát?= Nagy
Message-ID:
In-Reply-To:
@@ -1403,6 +1403,16 @@ void NullabilityChecker::printState(raw_ostream &Out,
ProgramStateRef State,
}
}
+// The checker group "nullability" consists of the checkers that are
https://github.com/stmuench updated
https://github.com/llvm/llvm-project/pull/132924
>From 823475c91f9cdf64c816e9498a42f5ee9b2080be Mon Sep 17 00:00:00 2001
From: stmuench
Date: Tue, 25 Mar 2025 12:38:53 +0100
Subject: [PATCH] [clang-tidy] do not diagn. array types in implicit templ.
instantia
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes
Message-ID:
In-Reply-To:
https://github.com/NagyDonat created
https://github.com/llvm/llvm-project/pull/131823
VirtualCallChecker.cpp implements two related checkers:
- `optin.cplusplus.VirtualCall` which reports situations when constructors or
destructors call virtual methods (which is bugprone because it does not tr
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (YLChenZ)
Changes
Closes #133706.
before the patch:

after the patch:
 {
// with stack arguments.
TFI->spillFPBP(MF);
+ LLVM_DEBUG(llvm::dbgs() << "Before calculateCallFrameInfo \n");
topperc wrote:
Leftover debug code?
https://github.com/llvm/llvm-p
https://github.com/vhscampos commented:
Review of the commit msg:
- Add some categories to the title, like [Clang][ARM]
- The new solution still uses the command-line options (inside the function
`getARMTargetFeatures`). However it also takes into account the architecture in
order to determine
https://github.com/zeule edited https://github.com/llvm/llvm-project/pull/131605
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-backend-directx
@llvm/pr-subscribers-clang-codegen
Author: Deric C. (Icohedron)
Changes
Fixes #112267
---
Full diff: https://github.com/llvm/llvm-project/pull/134288.diff
4 Files Affected:
- (modified) clang/lib/CodeGen/CGHLSLRuntime.cpp (+3)
- (a
@@ -223,6 +223,13 @@ endif()
# This can be used to detect whether we're in the runtimes build.
set(LLVM_RUNTIMES_BUILD ON)
+if (LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND UNIX AND ${CMAKE_SYSTEM_NAME}
MATCHES "AIX")
+ # Set LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF as AIX doesn't s
@@ -64,21 +64,27 @@ class CGBuilderTy : public CGBuilderBaseTy {
Address createConstGEP2_32(Address Addr, unsigned Idx0, unsigned Idx1,
const llvm::Twine &Name) {
const llvm::DataLayout &DL = BB->getDataLayout();
-llvm::GetElementPtrInst *
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Ryosuke Niwa (rniwa)
Changes
This PR adds the support for treating capturing of "self" as safe if the lambda
simultaneously captures "protectedSelf", which is a RetainPtr of "self".
This PR also fixes a bug that the chec
@@ -101,6 +101,16 @@ constexpr vector smoothstep_vec_impl(vector
Min, vector Max,
#endif
}
+template constexpr vector lit_impl(T NDotL, T NDotH, T M) {
+ bool DiffuseCond = NDotL < 0;
+ T Diffuse = select(DiffuseCond, 0, NDotL);
+ vector Result = {1, Diffuse, 0, 1};
+ bo
Author: Timm Baeder
Date: 2025-03-20T21:01:14+01:00
New Revision: 7492666482aececf2a470a8b8a44580d7f8712c3
URL:
https://github.com/llvm/llvm-project/commit/7492666482aececf2a470a8b8a44580d7f8712c3
DIFF:
https://github.com/llvm/llvm-project/commit/7492666482aececf2a470a8b8a44580d7f8712c3.diff
L
jyknight wrote:
The intent of this standards change is that everyone should be able to depend
on library functions from string.h, no matter how minimal or bare-metal their
environment.
The requirement is now:
- , , , , , ,
, , , and .
- , except strcoll, strdup, strerror, strndup, strtok, st
https://github.com/ergawy closed
https://github.com/llvm/llvm-project/pull/126026
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
In error cases, the base might be None.
Fixes https://github.com/llvm/llvm-project/issues/132257
---
Full diff: https://github.com/llvm/llvm-project/pull/132270.diff
2 Files Affected:
- (modified) clang/l
@@ -42,6 +42,11 @@ Potentially Breaking Changes
C/C++ Language Potentially Breaking Changes
---
+- Some old-style offsetof idioms like ``((int)(&(((struct S *)0)->field)))``
are treated
dtcxzyw wrote:
I think it is jus
https://github.com/EthanLuisMcDonough created
https://github.com/llvm/llvm-project/pull/133522
None
>From d21330ea2a3d2cd7ea035361e239bb3da16fbb9f Mon Sep 17 00:00:00 2001
From: Ethan Luis McDonough
Date: Fri, 28 Mar 2025 16:17:44 -0500
Subject: [PATCH] [PGO][Offload] Disable PGO on NVPTX
---
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/131945
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Phoebe Wang
Date: 2025-03-22T01:10:39+08:00
New Revision: e1a16033dcb856669c97f35c09656db73bf36a73
URL:
https://github.com/llvm/llvm-project/commit/e1a16033dcb856669c97f35c09656db73bf36a73
DIFF:
https://github.com/llvm/llvm-project/commit/e1a16033dcb856669c97f35c09656db73bf36a73.diff
L
https://github.com/sarnex edited
https://github.com/llvm/llvm-project/pull/126956
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/offsetof created
https://github.com/llvm/llvm-project/pull/132284
In `Sema::BuildStdInitializerList`, check that the synthesized template-id
`std::initializer_list` is valid (which might not be the case if the
template has associated constraints or subsequent parameters with
@@ -0,0 +1,49 @@
+// RUN %clang_cc1 %s -O0 -emit-llvm -triple x86_64-unknown-unknown \
+// RUN -verify -complex-range=promoted -o - | FileCheck %s
+
+// RUN %clang_cc1 %s -O0 -emit-llvm -triple x86_64-unknown-unknown \
+// RUN -verify=nopromotion -complex-range=promoted -target-fe
Author: metkarpoonam
Date: 2025-03-21T14:44:22-04:00
New Revision: 5ecbf46f8645e6294fab129c989fca67fd85d689
URL:
https://github.com/llvm/llvm-project/commit/5ecbf46f8645e6294fab129c989fca67fd85d689
DIFF:
https://github.com/llvm/llvm-project/commit/5ecbf46f8645e6294fab129c989fca67fd85d689.diff
llvmbot wrote:
@llvm/pr-subscribers-clangd
Author: Zahira Ammarguellat (zahiraam)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/134138.diff
3 Files Affected:
- (modified)
clang-tools-extra/clang-tidy/bugprone/NarrowingConversionsCheck.cpp (+1-1)
- (modified) clang
https://github.com/zyn0217 commented:
Thanks, this should come with a release entry. Please make sure you add a note
to the `Bug Fixes to C++ Support` section in `clang/docs/ReleaseNotes.rst`.
https://github.com/llvm/llvm-project/pull/133878
___
cfe-c
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/131794
>From 22c4b9d7808df33d3e6a31b3456cd8b2e8a95bfa Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Tue, 18 Mar 2025 08:34:18 -0400
Subject: [PATCH 1/7] Suppress pedantic diagnostic for a file not ending in E
https://github.com/NimishMishra approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/133745
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/metkarpoonam updated
https://github.com/llvm/llvm-project/pull/132315
>From 6ce249d7e4bea669480c06a935f88a21894aba67 Mon Sep 17 00:00:00 2001
From: Poonam Vilas Metkar
Date: Wed, 19 Mar 2025 09:16:30 -0700
Subject: [PATCH 1/7] Add asuint16 intrinsic and codegen test
---
cla
@@ -305,7 +305,7 @@ IncludeInserter::calculateIncludePath(const HeaderFile
&InsertedHeader,
if (llvm::sys::path::is_absolute(Suggested))
return std::nullopt;
bool IsAngled = false;
- for (auto Filter : AngledHeaders) {
+ for (auto &Filter : AngledHeaders) {
-
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while
building `clang` at step 5 "compile-openmp".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/140/builds/20438
Here is the rel
Author: Justin Bogner
Date: 2025-03-20T11:07:54-07:00
New Revision: 882082ae405d086b61588169fe31102c58b7d74e
URL:
https://github.com/llvm/llvm-project/commit/882082ae405d086b61588169fe31102c58b7d74e
DIFF:
https://github.com/llvm/llvm-project/commit/882082ae405d086b61588169fe31102c58b7d74e.diff
https://github.com/frasercrmck approved this pull request.
https://github.com/llvm/llvm-project/pull/130871
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -39,6 +39,17 @@ Or cast to char to explicitly indicate that output should be
a character.
std::cout << static_cast(v);
+Options
+---
+
+.. option:: WarnOnExplicitCast
+
+ When `WarnOnExplicitCast` is set to `false`, the check will not warn when
+ output of ostream
https://github.com/Endilll closed
https://github.com/llvm/llvm-project/pull/132045
___
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: Kaitlin Peng (kmpeng)
Changes
Closes #99135.
Tasks completed:
- Wrote implementation in `hlsl_intrinsics.h`/`hlsl_intrinsic_helpers.h` that
matches DXC
- Created overloads in `hlsl_compat_overloads.h` that take
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Phoebe Wang (phoebewang)
Changes
Found by #64779.
---
Full diff: https://github.com/llvm/llvm-project/pull/134484.diff
1 Files Affected:
- (modified) clang/lib/Headers/amxcomplexintrin.h (+4-6)
``diff
diff --git a/clang/lib/H
@@ -1077,7 +1077,11 @@ BuildDeductionGuideForTypeAlias(Sema &SemaRef,
// !!NOTE: DeduceResults respects the sequence of template parameters of
// the deduction guide f.
for (unsigned Index = 0; Index < DeduceResults.size(); ++Index) {
-if (const auto &D = DeduceResult
https://github.com/jurahul updated
https://github.com/llvm/llvm-project/pull/131942
>From 7f7f0ea87f460a951011ce75926f3e27900bb384 Mon Sep 17 00:00:00 2001
From: Rahul Joshi
Date: Tue, 18 Mar 2025 13:19:24 -0700
Subject: [PATCH] [IRBuilder] Add new overload for CreateIntrinsic
Add a new `Creat
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/132097
>From 7882bfbbe7ada59de91625c5f0365cec1fbe3c5b Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Wed, 19 Mar 2025 16:50:12 -0400
Subject: [PATCH 1/2] [C23] Fix compound literals within function prototype
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/133125
>From 75ef42d644da9136fb07014ade18b6be137426a1 Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Wed, 26 Mar 2025 12:54:29 -0400
Subject: [PATCH 1/9] [C2y] Implement WG14 N3369 and N3469 (_Countof)
C2y ad
https://github.com/Fznamznon created
https://github.com/llvm/llvm-project/pull/134088
Sometimes a non-array delete is treated as delete[] when input pointer is
pointer to array. With vector deleting destructors support we now generate a
virtual destructor call instead of simple loop over the e
@@ -386,13 +386,22 @@ llvm::Type *CommonSPIRTargetCodeGenInfo::getHLSLType(
if (ContainedTy.isNull())
return nullptr;
-assert(!ResAttrs.RawBuffer &&
- "Raw buffers handles are not implemented for SPIR-V yet");
assert(!ResAttrs.IsROV &&
@@ -283,7 +294,7 @@ function(add_libclc_builtin_set)
set( builtins_comp_lib_tgt builtins.comp.${ARG_ARCH_SUFFIX} )
add_custom_target( ${builtins_comp_lib_tgt}
-DEPENDS ${bytecode_files}
+DEPENDS ${compile_tgts}
wenju-he wrote:
thanks, I'll add ${b
Author: Vlad Serebrennikov
Date: 2025-04-05T10:45:51+03:00
New Revision: 70a20757e8fff0a56cd7f95c2854b0fa68e7089c
URL:
https://github.com/llvm/llvm-project/commit/70a20757e8fff0a56cd7f95c2854b0fa68e7089c
DIFF:
https://github.com/llvm/llvm-project/commit/70a20757e8fff0a56cd7f95c2854b0fa68e7089c.
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Vincent (Mr-Anyone)
Changes
It appears that Clang currently mangles names incorrectly when handling lambda
expressions in constraint (`requires`) clauses.
The issue likely stems from `mangleLocalName` being used, whereas
`mangleNestedNa
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/wenju-he created
https://github.com/llvm/llvm-project/pull/134489
Similar to how cl_khr_fp64 and cl_khr_fp16 implementations are put in a same
file for math built-ins, this PR do the same to atom_* built-ins.
The main motivation is to prevent that two files with same base na
https://github.com/Sunday111 updated
https://github.com/llvm/llvm-project/pull/132443
>From da5c5c697f02b4028f2797827d57ae9a8bcc0896 Mon Sep 17 00:00:00 2001
From: Kostiantyn Lazukin
Date: Thu, 20 Mar 2025 16:54:06 +
Subject: [PATCH] [Driver] Search for compiler-rt libraries in sysroot/lib
https://github.com/vbvictor updated
https://github.com/llvm/llvm-project/pull/126434
>From bc1b4ada7615d407c2df009f414d62da3857ee86 Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Mon, 3 Mar 2025 09:25:03 +0300
Subject: [PATCH 01/10] [clang-tidy] add scoped-lock-check
---
.../clang-tidy/m
https://github.com/DenisGZM edited
https://github.com/llvm/llvm-project/pull/133107
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`clang-aarch64-sve2-vla-2stage` running on `linaro-g4-02` while building
`clang` at step 12 "ninja check 2".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/199/builds/2596
Here is the relevant piece
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`clang-aarch64-sve-vla-2stage` running on `linaro-g3-01` while building `clang`
at step 12 "ninja check 2".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/41/builds/5946
Here is the relevant piece of
https://github.com/nibrunieAtSi5 updated
https://github.com/llvm/llvm-project/pull/128243
>From d2c64fd7605eb1e2e6756f3c01960bfa8ee55da9 Mon Sep 17 00:00:00 2001
From: Nicolas Brunie
Date: Sat, 25 Jan 2025 09:39:47 -0800
Subject: [PATCH] [RISC-V] prototyping support for Zvbc32e and Zvkgs
* Add
301 - 400 of 734 matches
Mail list logo