@@ -450,6 +453,116 @@ class StmtComparer {
};
} // namespace
+static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
+ const Attr *Attr1, const Attr *Attr2) {
+ // Two attributes are structurally equivalent if they are
@@ -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,
-
farzonl wrote:
Would it be ok if we prefixed all of these files in `TargetBuiltins` with CG?
https://github.com/llvm/llvm-project/issues/133199
Building using AppleClang seems to be upset that a cpp file with this name
already exists. I'm assuming its talking about all the files in
`clang/lib
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/133100
>From b4aafe8bdb2754597d440e256c33b9f8b9a92a91 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Wed, 26 Mar 2025 05:52:17 -0700
Subject: [PATCH 1/2] [CIR] Upstream zero init for global variables
---
.../
https://github.com/farzonl edited
https://github.com/llvm/llvm-project/pull/133251
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jhuber6 wrote:
> Would it be ok if we prefixed all of these files in `TargetBuiltins` with CG?
> #133199
>
> Building using AppleClang seems to be upset that a cpp file with this name
> already exists. I'm assuming its talking about all the files in
> `clang/lib/Basic/Targets/`. For example t
https://github.com/farzonl edited
https://github.com/llvm/llvm-project/pull/133251
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -423,12 +423,6 @@ LLVM_17 {
clang_getCursorUnaryOperatorKind;
};
-LLVM_19 {
- global:
-clang_Cursor_getBinaryOpcode;
-clang_Cursor_getBinaryOpcodeStr;
-};
-
DeinAlptraum wrote:
I don't think we should touch sections of this file from older ver
https://github.com/farzonl updated
https://github.com/llvm/llvm-project/pull/133251
>From b7cca5e5606382ba8b9e971f0554036c03b22c60 Mon Sep 17 00:00:00 2001
From: Farzon Lotfi
Date: Thu, 27 Mar 2025 09:44:44 -0400
Subject: [PATCH 1/2] [NFC][HLSL] Move emitter out of AMDGPU.cpp - Create a
home f
@@ -115,6 +115,7 @@ add_clang_library(clangCodeGen
PatternInit.cpp
SanitizerMetadata.cpp
SwiftCallingConv.cpp
+ LangBuiltins/CGHLSLBuiltins.cpp
farzonl wrote:
done!
https://github.com/llvm/llvm-project/pull/133251
__
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/132974
>From 4dc1e77299c71b8f01fb73f7fba5f14e0fbe3edd Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Fri, 21 Mar 2025 21:07:11 +0100
Subject: [PATCH 1/6] [CIR] [Upstream local initialization for ArrayType
---
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/132974
>From 4dc1e77299c71b8f01fb73f7fba5f14e0fbe3edd Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Fri, 21 Mar 2025 21:07:11 +0100
Subject: [PATCH 1/6] [CIR] [Upstream local initialization for ArrayType
---
https://github.com/farzonl created
https://github.com/llvm/llvm-project/pull/133251
- Create a home for LangBuiltins
- Move all HLSL code out of AMDGPU.cpp to CGHLSLBuiltins.cpp
>From b7cca5e5606382ba8b9e971f0554036c03b22c60 Mon Sep 17 00:00:00 2001
From: Farzon Lotfi
Date: Thu, 27 Mar 2025 09
@@ -25,8 +25,8 @@ addi a0, a1, 0
# CHECK: # encoding: [0xe0,0x1f]
addi s0, sp, 1020
-# CHECK: .option arch, -c
-.option arch, -c
+# CHECK: .option arch, -c, -zca
+.option arch, -c, -zca
kito-cheng wrote:
I guess `.opt arch, -zca` won't work because C will im
@@ -18933,12 +18945,35 @@ static bool actOnOMPReductionKindClause(
reportOriginalDsa(S, Stack, D, DVar);
continue;
}
+ // OpenMP 6.0 [ 7.6.10 ]
+ // Support Reduction over private variables with reduction clause.
+ // A list item in a reduct
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 a27da0a20cbfb9f0c600d53bf2520f068b222f59
f0951dd4e78e7fee55b9ad90ee3fb5b892070dac --e
https://github.com/jthackray approved this pull request.
Thanks for creating this PR, LGTM (I wasn't able to do it earlier as one of my
kids was ill, so away from laptop)
https://github.com/llvm/llvm-project/pull/133251
___
cfe-commits mailing list
cf
farzonl wrote:
> Thanks for creating this PR, LGTM (I wasn't able to do it earlier as one of
> my kids was ill, so away from laptop)
No worries. Thanks for the approval!
https://github.com/llvm/llvm-project/pull/133251
___
cfe-commits mailing list
cf
https://github.com/DeinAlptraum created
https://github.com/llvm/llvm-project/pull/133253
Test PR for now, waiting for CI results
>From e8bf3b6f08f0e0030ea36fe8c42fcde166ad27e3 Mon Sep 17 00:00:00 2001
From: Mathias Stearn
Date: Thu, 19 Dec 2024 16:22:04 +0100
Subject: [PATCH 1/9] [libclang/pyt
AaronBallman wrote:
> > > So you want this to be a FEATURE in C2y and an EXTENSION in older
> > > language modes?
> >
> >
> > Presumably yes.
> > > And when we get the countof macro in a few months, this becomes
> > > unnecessary?
> >
> >
> > Are most users going to include `stdcountof.h` ?
https://github.com/ycongal-smile updated
https://github.com/llvm/llvm-project/pull/133124
>From 895bf3da0236bc6bf9f814ab3e00d1a4f52a9397 Mon Sep 17 00:00:00 2001
From: Yoann Congal
Date: Tue, 25 Mar 2025 22:25:55 +0100
Subject: [PATCH] clangd: Add a build option to disable building dexp
Buildi
https://github.com/ycongal-smile updated
https://github.com/llvm/llvm-project/pull/133124
>From 8001f900e602c0a8abcf118bda5869a2eb0d5ee9 Mon Sep 17 00:00:00 2001
From: Yoann Congal
Date: Tue, 25 Mar 2025 22:25:55 +0100
Subject: [PATCH] clangd: Add a build option to disable building dexp
Buildi
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/132054
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jmmartinez updated
https://github.com/llvm/llvm-project/pull/133055
From bf3f06cc99a1ac2460ffea741c0fe495f0778e70 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Juan=20Manuel=20Martinez=20Caama=C3=B1o?=
Date: Thu, 20 Mar 2025 13:23:25 +0100
Subject: [PATCH 1/3] [AMDGPU] Add "lds-bu
HazardyKnusperkeks wrote:
Please recheck all your added comments, if the wording is still the best one,
after renaming the option.
https://github.com/llvm/llvm-project/pull/131605
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.l
https://github.com/broxigarchen edited
https://github.com/llvm/llvm-project/pull/133298
___
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-driver
@llvm/pr-subscribers-backend-amdgpu
Author: Brox Chen (broxigarchen)
Changes
Add a true16 clang option to turn on true16 mode(by default off) in GFX11Plus
amdgpu.
This allows to turn on true16 and enable testing for this feature. This pat
https://github.com/broxigarchen edited
https://github.com/llvm/llvm-project/pull/133298
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/broxigarchen edited
https://github.com/llvm/llvm-project/pull/133298
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/broxigarchen edited
https://github.com/llvm/llvm-project/pull/133298
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/broxigarchen edited
https://github.com/llvm/llvm-project/pull/133298
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -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
@@ -3146,6 +3146,45 @@ struct FormatStyle {
/// \version 16
IntegerLiteralSeparatorStyle IntegerLiteralSeparator;
+ /// Function-like declaration with keyworded parameters.
+ /// Lists possible keywords for a named macro-like function
+ struct KeywordedFunctionLikeMacro
@@ -29102,6 +29102,65 @@ TEST_F(FormatTest, BreakBeforeClassName) {
"ArenaSafeUniquePtr {};");
}
+TEST_F(FormatTest, FunctionDeclarationWithKeywords) {
HazardyKnusperkeks wrote:
The test name should be changed, I'd refer directly to the opt
@@ -3146,6 +3146,45 @@ struct FormatStyle {
/// \version 16
IntegerLiteralSeparatorStyle IntegerLiteralSeparator;
+ /// Function-like declaration with keyworded parameters.
+ /// Lists possible keywords for a named macro-like function
HazardyKnusperkeks
Sirraide wrote:
> Ah, missed that, sorry. It seems there hasn't been a release since the
> warning was added, and the existing release note seems to still apply:
Ah, I thought it was an older warning. In that case we don’t need a release note
https://github.com/llvm/llvm-project/pull/133265
__
https://github.com/CatherineMoore closed
https://github.com/llvm/llvm-project/pull/133138
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,75 @@
+//===-- FileHelpersClangDoc.cpp - File Helpers ---*-
C++-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apa
https://github.com/alejandro-colomar edited
https://github.com/llvm/llvm-project/pull/13
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/broxigarchen updated
https://github.com/llvm/llvm-project/pull/133298
>From bd6300963b53ad8c5a4037e89e041fe1adfd3fe6 Mon Sep 17 00:00:00 2001
From: guochen2
Date: Thu, 27 Mar 2025 14:41:40 -0400
Subject: [PATCH] add true16 feature in clang driver
---
clang/include/clang/Dri
https://github.com/topperc updated
https://github.com/llvm/llvm-project/pull/132529
>From 3b30343a99ecb7095adb734be2e3e71a67a597ac Mon Sep 17 00:00:00 2001
From: Craig Topper
Date: Fri, 21 Mar 2025 23:35:56 -0700
Subject: [PATCH 1/2] [RISCV] Remove experimental from Sdext and Sdtrig which
are
https://github.com/alejandro-colomar created
https://github.com/llvm/llvm-project/pull/13
Cc: @AaronBallman
I haven't yet tried to run these tests. I've pasted and adapted them from the
ones I wrote for my own implementation.
>From c9ce60fef4e3af6faaea2a7e7f41b3866856d237 Mon Sep 17 00:
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
rniwa wrote:
Thanks for the review!
https://github.com/llvm/llvm-project/pull/132784
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tahonermann updated
https://github.com/llvm/llvm-project/pull/133030
>From 2c99027df798c04d252ff8f66853888db89356f1 Mon Sep 17 00:00:00 2001
From: Elizabeth Andrews
Date: Tue, 25 Mar 2025 09:31:11 -0700
Subject: [PATCH 1/2] [SYCL] Basic code generation for SYCL kernel caller
https://github.com/alejandro-colomar edited
https://github.com/llvm/llvm-project/pull/13
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/yxsamliu updated
https://github.com/llvm/llvm-project/pull/132869
>From a7b74b80018d15a3c2c30bbc363b73e691ece269 Mon Sep 17 00:00:00 2001
From: "Yaxun (Sam) Liu"
Date: Fri, 21 Mar 2025 14:16:44 -0400
Subject: [PATCH] [HIP] use offload wrapper for non-device-only non-rdc
Curr
https://github.com/kasuga-fj edited
https://github.com/llvm/llvm-project/pull/131985
___
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: None (offsetof)
Changes
Fix access and ambiguity checks not being performed when converting to an
rvalue reference to a base class type with `static_cast`.
Fixes #121429
---
Full diff: https://github.com/llvm/llvm-project/pull/132285.dif
@@ -0,0 +1,342 @@
+//===--- UseScopedLockCheck.cpp - clang-tidy
--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
https://github.com/ayushpareek2003 updated
https://github.com/llvm/llvm-project/pull/132294
>From 53a31ec6ed3d9ace8e7d822c2b2de4f6f58ece8d Mon Sep 17 00:00:00 2001
From: Ayush Pareek
Date: Fri, 21 Mar 2025 03:44:05 +0530
Subject: [PATCH 1/4] Optimize Module Dependency Handling for Efficient Mem
@@ -32,6 +33,183 @@ populateParentNamespaces(llvm::SmallVector
&Namespaces,
static void populateMemberTypeInfo(MemberTypeInfo &I, const FieldDecl *D);
+void getTemplateParameters(const TemplateParameterList *TemplateParams,
+ llvm::raw_ostream &Str
@@ -455,8 +473,9 @@ struct EnumValueInfo {
// Stores the user-supplied initialization expression for this enumeration
// constant. This will be empty for implicit enumeration values.
SmallString<16> ValueExpr;
-
- std::vector Description; /// Comment description of this
https://github.com/hiraditya created
https://github.com/llvm/llvm-project/pull/133307
```
llvm-project/clang/lib/Sema/SemaExprCXX.cpp:63:29: warning: variable 'II' set
but not used [-Wunused-but-set-variable]
63 | if (const IdentifierInfo *II = NNS->getAsIdentifier())
|
llvmbot wrote:
@llvm/pr-subscribers-mlir-openmp
Author: Jan Leyonberg (jsjodin)
Changes
This patch adds the lowering of teams reductions from the omp dialect to
LLVM-IR. Some minor cleanup was done in clang to remove an unused parameter.
---
Patch is 39.18 KiB, truncated to 20.00 KiB b
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Jan Leyonberg (jsjodin)
Changes
This patch adds the lowering of teams reductions from the omp dialect to
LLVM-IR. Some minor cleanup was done in clang to remove an unused parameter.
---
Patch is 39.18 KiB, truncated to 20.00 KiB below,
https://github.com/jsjodin created
https://github.com/llvm/llvm-project/pull/133310
This patch adds the lowering of teams reductions from the omp dialect to
LLVM-IR. Some minor cleanup was done in clang to remove an unused parameter.
>From 50fefbb31f4de7352c241c48fe5382785daaef21 Mon Sep 17 0
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
@llvm/pr-subscribers-mlir-llvm
Author: Jan Leyonberg (jsjodin)
Changes
This patch adds the lowering of teams reductions from the omp dialect to
LLVM-IR. Some minor cleanup was done in clang to remove an unused parameter.
---
Patch is 39
https://github.com/jsjodin updated
https://github.com/llvm/llvm-project/pull/133310
>From 50fefbb31f4de7352c241c48fe5382785daaef21 Mon Sep 17 00:00:00 2001
From: Jan Leyonberg
Date: Sun, 23 Mar 2025 09:56:51 -0400
Subject: [PATCH 1/9] Initial modifications to support reductions in flang.
---
@@ -0,0 +1,188 @@
+#include "clang/Parse/ParseHLSLRootSignature.h"
+
+#include "llvm/Support/raw_ostream.h"
+
+using namespace llvm::hlsl::rootsig;
+
+namespace clang {
+namespace hlsl {
+
+static std::string FormatTokenKinds(ArrayRef Kinds) {
+ std::string TokenString;
+ llvm::
@@ -0,0 +1,44 @@
+//===- HLSLRootSignature.h - HLSL Root Signature helper objects
---===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apa
https://github.com/broxigarchen ready_for_review
https://github.com/llvm/llvm-project/pull/133298
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ilovepi edited
https://github.com/llvm/llvm-project/pull/133161
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -359,6 +371,9 @@ struct FunctionInfo : public SymbolInfo {
// Full qualified name of this function, including namespaces and template
// specializations.
SmallString<16> FullName;
+
+ // Function Prototype
+ SmallString<256> ProtoType;
ilovepi wrot
@@ -379,7 +394,7 @@ struct RecordInfo : public SymbolInfo {
// Full qualified name of this record, including namespaces and template
// specializations.
SmallString<16> FullName;
-
+
ilovepi wrote:
nit: empty space. the newline is fine though.
https:/
@@ -0,0 +1,523 @@
+//===-- HTMLMustacheGenerator.cpp - HTML Mustache Generator -*- C++
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -32,6 +33,183 @@ populateParentNamespaces(llvm::SmallVector
&Namespaces,
static void populateMemberTypeInfo(MemberTypeInfo &I, const FieldDecl *D);
+void getTemplateParameters(const TemplateParameterList *TemplateParams,
+ llvm::raw_ostream &Str
https://github.com/ilovepi commented:
I know you're planing to split this up, but here's some preliminary feedback.
https://github.com/llvm/llvm-project/pull/133161
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/
@@ -152,7 +153,9 @@ struct ScopeChildren {
// A base struct for TypeInfos
struct TypeInfo {
+
ilovepi wrote:
unnecessary
https://github.com/llvm/llvm-project/pull/133161
___
cfe-commits mailing list
cfe-commits@l
https://github.com/yxsamliu updated
https://github.com/llvm/llvm-project/pull/132869
>From 987007b668991ab8027a569f2aaafb5237dfc194 Mon Sep 17 00:00:00 2001
From: "Yaxun (Sam) Liu"
Date: Fri, 21 Mar 2025 14:16:44 -0400
Subject: [PATCH] [HIP] use offload wrapper for non-device-only non-rdc
Curr
@@ -521,8 +540,9 @@ struct ClangDocContext {
// Path of CSS stylesheets that will be copied to OutDirectory and used to
// style all HTML files.
std::vector UserStylesheets;
- // JavaScript files that will be imported in all HTML files.
ilovepi wrote:
I
@@ -412,12 +427,15 @@ struct TypedefInfo : public SymbolInfo {
void merge(TypedefInfo &&I);
TypeInfo Underlying;
-
- // Inidicates if this is a new C++ "using"-style typedef:
+ // Underlying type declaration
+ SmallString<16> TypeDeclaration;
+ // Indicates if this is
https://github.com/broxigarchen closed
https://github.com/llvm/llvm-project/pull/133298
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -32,6 +33,183 @@ populateParentNamespaces(llvm::SmallVector
&Namespaces,
static void populateMemberTypeInfo(MemberTypeInfo &I, const FieldDecl *D);
+void getTemplateParameters(const TemplateParameterList *TemplateParams,
+ llvm::raw_ostream &Str
@@ -0,0 +1,26 @@
+//===-- FileHelpersClangDoc.h --- File Helpers ---*-
C++-*-===//
ilovepi wrote:
probably putting this in `clang-doc/support/File.h` is a bit more typical. At
the least the file shouldn't have helper in the name, and probably do
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 8244f8210f2e62f68429a0daf104fd483ada45ab
987007b668991ab8027a569f2aaafb5237dfc194 --e
@@ -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 *
Markus =?utf-8?q?Gschoßmann?= ,
Markus =?utf-8?q?Gschoßmann?=
Message-ID:
In-Reply-To:
@@ -0,0 +1,16 @@
+// RUN: %clang_cc1 -triple x86_64-none-linux-gnu -emit-llvm
-debug-info-kind=limited %s -o - | FileCheck %s
rnk wrote:
Please add a test for the MSVC ABI,
https://github.com/rniwa closed https://github.com/llvm/llvm-project/pull/132784
___
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: Ryosuke Niwa (rniwa)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/133341.diff
1 Files Affected:
- (modified) clang/lib/StaticAnalyzer/Checkers/WebKit/ForwardDeclChecker.cpp
(+2-1)
``diff
diff --git a/cla
rniwa wrote:
Oops, fixing this in https://github.com/llvm/llvm-project/pull/133341.
https://github.com/llvm/llvm-project/pull/132784
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rniwa created
https://github.com/llvm/llvm-project/pull/133341
None
>From 13115c0d14953c01dba10c4fbb38e149acce6c34 Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa
Date: Thu, 27 Mar 2025 16:24:23 -0700
Subject: [PATCH] Fix the assertion failure in
Analysis/Checkers/WebKit/forwar
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/133343
Fixes a regression introduced in
https://github.com/llvm/llvm-project/pull/130537 and reported here
https://github.com/llvm/llvm-project/issues/133144
This fixes a crash in ASTStructuralEquivalence where the
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/133343
___
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: Matheus Izvekov (mizvekov)
Changes
Fixes a regression introduced in
https://github.com/llvm/llvm-project/pull/130537 and reported here
https://github.com/llvm/llvm-project/issues/133144
This fixes a crash in ASTStructuralEquivalence wher
https://github.com/haampie edited
https://github.com/llvm/llvm-project/pull/133263
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -164,24 +152,25 @@ static void runDeltaPassName(TestRunner &Tester,
StringRef PassName) {
void llvm::printDeltaPasses(raw_ostream &OS) {
OS << "Delta passes (pass to `--delta-passes=` as a comma separated
list):\n";
-#define DELTA_PASS(NAME, FUNC) OS << " " << NAME <<
@@ -832,11 +832,10 @@ std::unique_ptr ASTUnit::LoadFromASTFile(
AST->ModCache = createCrossProcessModuleCache();
AST->HSOpts = HSOpts ? HSOpts : std::make_shared();
AST->HSOpts->ModuleFormat =
std::string(PCHContainerRdr.getFormats().front());
- AST->HeaderInfo.reset(ne
@@ -71,91 +73,77 @@ static cl::list
"default, run all delta passes."),
cl::cat(LLVMReduceOptions), cl::CommaSeparated);
-#define DELTA_PASSES
\
- do {
@@ -71,91 +73,77 @@ static cl::list
"default, run all delta passes."),
cl::cat(LLVMReduceOptions), cl::CommaSeparated);
-#define DELTA_PASSES
\
- do {
@@ -71,91 +73,77 @@ static cl::list
"default, run all delta passes."),
cl::cat(LLVMReduceOptions), cl::CommaSeparated);
-#define DELTA_PASSES
\
- do {
@@ -0,0 +1,25 @@
+//===--- DeltaPass.h - Delta Pass Structure *- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apach
@@ -0,0 +1,25 @@
+//===--- DeltaPass.h - Delta Pass Structure *- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apach
https://github.com/mmha edited https://github.com/llvm/llvm-project/pull/133159
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ycongal-smile ready_for_review
https://github.com/llvm/llvm-project/pull/133124
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
farzonl wrote:
> > Would it be ok if we prefixed all of these files in `TargetBuiltins` with
> > CG? #133199
> > Building using AppleClang seems to be upset that a cpp file with this name
> > already exists. I'm assuming its talking about all the files in
> > `clang/lib/Basic/Targets/`. For ex
@@ -710,6 +710,89 @@ class ScalarExprEmitter : public
StmtVisitor {
HANDLEBINOP(Xor)
HANDLEBINOP(Or)
#undef HANDLEBINOP
+
+ mlir::Value emitCmp(const BinaryOperator *e) {
+mlir::Value result;
+QualType lhsTy = e->getLHS()->getType();
+QualType rhsTy = e->getRH
arsenm wrote:
I'm going to wager that we can't just rip this out without the world exploding,
and these issues need to be addressed and not just drop the whole thing.
https://github.com/llvm/llvm-project/pull/133263
___
cfe-commits mailing list
cfe-co
@@ -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,
-
@@ -450,6 +453,116 @@ class StmtComparer {
};
} // namespace
+static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
+ const Attr *Attr1, const Attr *Attr2) {
+ // Two attributes are structurally equivalent if they are
101 - 200 of 496 matches
Mail list logo