https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/141419
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-05-25T10:55:36-07:00
New Revision: ba007a60d07fb4ac685c8bca7b7a18b870e287b2
URL:
https://github.com/llvm/llvm-project/commit/ba007a60d07fb4ac685c8bca7b7a18b870e287b2
DIFF:
https://github.com/llvm/llvm-project/commit/ba007a60d07fb4ac685c8bca7b7a18b870e287b2.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/141420
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-05-25T10:55:28-07:00
New Revision: 8075c15f54d5d6c6b9f5e452c13814078a0a0397
URL:
https://github.com/llvm/llvm-project/commit/8075c15f54d5d6c6b9f5e452c13814078a0a0397
DIFF:
https://github.com/llvm/llvm-project/commit/8075c15f54d5d6c6b9f5e452c13814078a0a0397.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/141418
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-05-25T10:55:32-07:00
New Revision: 12af64d0d7dedfcee6da3c458edda64884e8f3bb
URL:
https://github.com/llvm/llvm-project/commit/12af64d0d7dedfcee6da3c458edda64884e8f3bb
DIFF:
https://github.com/llvm/llvm-project/commit/12af64d0d7dedfcee6da3c458edda64884e8f3bb.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/141417
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/141414
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -231,7 +231,8 @@ static LogicalResult checkConstantTypes(mlir::Operation
*op, mlir::Type opType,
}
if (isa(attrType)) {
-if (isa(opType))
+if (isa(
+opType))
return success();
return op->emitOpError("zero expects struct or array type");
@@ -385,6 +385,13 @@ mlir::Type CIRGenTypes::convertType(QualType type) {
break;
}
+ case Type::Complex: {
+const ComplexType *ct = cast(ty);
+mlir::Type elementTy = convertType(ct->getElementType());
xlauko wrote:
```suggestion
const auto
@@ -226,6 +227,42 @@ mlir::Value CIRAttrToValue::visitCirAttr(cir::IntAttr
intAttr) {
loc, converter->convertType(intAttr.getType()), intAttr.getValue());
}
+/// FPAttr visitor.
+mlir::Value CIRAttrToValue::visitCirAttr(cir::FPAttr fltAttr) {
+ mlir::Location loc = par
@@ -276,4 +276,38 @@ def ConstPtrAttr : CIR_Attr<"ConstPtr", "ptr",
[TypedAttrInterface]> {
}];
}
+//===--===//
+// ConstComplexAttr
+//===---
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `bolt-x86_64-ubuntu-nfc`
running on `bolt-worker` while building `clang,llvm` at step 7 "build-bolt".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/92/builds/19182
Here is the relevant piece of the b
https://github.com/AmrDeveloper created
https://github.com/llvm/llvm-project/pull/141411
This change adds support for the Dynamic Shuffle op for VectorType
Issue https://github.com/llvm/llvm-project/issues/136487
>From 12295ee3a5613d7473ab33a4579015a2217617a0 Mon Sep 17 00:00:00 2001
From: Amr
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Amr Hesham (AmrDeveloper)
Changes
This change adds support for the Dynamic Shuffle op for VectorType
Issue https://github.com/llvm/llvm-project/issues/136487
---
Full diff: https://github.com/llvm/llvm-project/pull/141411.diff
8 Files A
@@ -3231,6 +3241,230 @@ static QualType builtinCommonTypeImpl(Sema &S,
TemplateName BaseTemplate,
}
}
+static QualType CopyCV(QualType From, QualType To) {
+ if (From.isConstQualified())
+To.addConst();
+ if (From.isVolatileQualified())
+To.addVolatile();
+ retur
AmrDeveloper wrote:
There will be a follow-up PR for folding
https://github.com/llvm/llvm-project/pull/141411
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -80,13 +78,47 @@ void ExceptionEscapeCheck::check(const
MatchFinder::MatchResult &Result) {
if (!MatchedDecl)
return;
- if (Tracer.analyze(MatchedDecl).getBehaviour() ==
- utils::ExceptionAnalyzer::State::Throwing)
-// FIXME: We should provide more informat
@@ -377,6 +402,8 @@ Task
h_ShouldDiag(const int a,
// CHECK-MESSAGES: :[[@LINE-2]]:45: warning: an exception may be thrown in
function 'h_ShouldDiag' which should not throw exceptions
co_yield a / b;
}
+// CHECK-MESSAGES: :133:7: note: frame #0: unhandled exception may be
https://github.com/HerrCai0907 edited
https://github.com/llvm/llvm-project/pull/134375
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -80,13 +78,47 @@ void ExceptionEscapeCheck::check(const
MatchFinder::MatchResult &Result) {
if (!MatchedDecl)
return;
- if (Tracer.analyze(MatchedDecl).getBehaviour() ==
- utils::ExceptionAnalyzer::State::Throwing)
-// FIXME: We should provide more informat
@@ -80,13 +78,47 @@ void ExceptionEscapeCheck::check(const
MatchFinder::MatchResult &Result) {
if (!MatchedDecl)
return;
- if (Tracer.analyze(MatchedDecl).getBehaviour() ==
- utils::ExceptionAnalyzer::State::Throwing)
-// FIXME: We should provide more informat
@@ -80,13 +78,47 @@ void ExceptionEscapeCheck::check(const
MatchFinder::MatchResult &Result) {
if (!MatchedDecl)
return;
- if (Tracer.analyze(MatchedDecl).getBehaviour() ==
- utils::ExceptionAnalyzer::State::Throwing)
-// FIXME: We should provide more informat
https://github.com/HerrCai0907 commented:
Could you add some separate tests for this diagnostic? I am not sure current
test case is covered all scenarios in this PR
https://github.com/llvm/llvm-project/pull/134375
___
cfe-commits mailing list
cfe-com
https://github.com/HerrCai0907 edited
https://github.com/llvm/llvm-project/pull/134375
___
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-backend-risc-v
Author: Jim Lin (tclin914)
Changes
This patch implements clang intrinsic support for XAndesVDot.
The document for the intrinsics can be found at:
https://github.com/andestech/andes-vector-intrinsic-doc/blob/ast-
@@ -51,7 +51,13 @@ static std::string
getFullPrefix(ArrayRef Signature) {
namespace {
AST_MATCHER(Expr, hasSideEffects) {
- return Node.HasSideEffects(Finder->getASTContext());
+ bool CheckArg = true;
+ if (const CXXMemberCallExpr *Call = dyn_cast(&Node)) {
+if (Call->
https://github.com/HerrCai0907 edited
https://github.com/llvm/llvm-project/pull/140388
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/141446
None
>From 5042f47e7c990892c13e4de21ae7a4ff1baec308 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sun, 25 May 2025 10:35:44 -0700
Subject: [PATCH] [Analysis] Use llvm::erase_if (NFC)
---
clang/unitt
https://github.com/c8ef closed https://github.com/llvm/llvm-project/pull/141405
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/141447
None
>From acb3fc1898cc1ab8a388a45594f84fa9f61ed644 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sun, 25 May 2025 10:32:08 -0700
Subject: [PATCH] [AST] Use llvm::none_of (NFC)
---
clang/unittests/A
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/141447.diff
1 Files Affected:
- (modified) clang/unittests/AST/ASTImporterFixtures.cpp (+2-3)
``diff
diff --git a/clang/unittests/
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/141446.diff
1 Files Affected:
- (modified) clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp (+1-3)
``diff
diff --git a/clang/
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
@llvm/pr-subscribers-backend-arm
Author: Kazu Hirata (kazutakahirata)
Changes
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, w
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: Kazu Hirata (kazutakahirata)
Changes
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compi
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
Author: Kazu Hirata (kazutakahirata)
Changes
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
c
@@ -80,13 +78,47 @@ void ExceptionEscapeCheck::check(const
MatchFinder::MatchResult &Result) {
if (!MatchedDecl)
return;
- if (Tracer.analyze(MatchedDecl).getBehaviour() ==
- utils::ExceptionAnalyzer::State::Throwing)
-// FIXME: We should provide more informat
@@ -577,12 +577,31 @@ mlir::Attribute ConstantEmitter::tryEmitPrivate(const
APValue &value,
case APValue::Union:
cgm.errorNYI("ConstExprEmitter::tryEmitPrivate struct or union");
return {};
- case APValue::FixedPoint:
case APValue::ComplexInt:
- case APValue::Co
@@ -577,12 +577,31 @@ mlir::Attribute ConstantEmitter::tryEmitPrivate(const
APValue &value,
case APValue::Union:
cgm.errorNYI("ConstExprEmitter::tryEmitPrivate struct or union");
return {};
- case APValue::FixedPoint:
case APValue::ComplexInt:
- case APValue::Co
tstellar wrote:
@frederick-vs-ja Were you able to create a PR for this backport?
https://github.com/llvm/llvm-project/pull/140105
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HerrCai0907 converted_to_draft
https://github.com/llvm/llvm-project/pull/131804
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: GkvJwa
Date: 2025-05-26T00:38:23+08:00
New Revision: 7511107d60a9115ce161eaf556e1bbac6eba9bfe
URL:
https://github.com/llvm/llvm-project/commit/7511107d60a9115ce161eaf556e1bbac6eba9bfe
DIFF:
https://github.com/llvm/llvm-project/commit/7511107d60a9115ce161eaf556e1bbac6eba9bfe.diff
LOG: U
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/141412.diff
1 Files Affected:
- (modified) clang/lib/Driver/ToolChains/Clang.cpp (+2-2)
``diff
diff --git a/clang/lib/Drive
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/141412
None
>From 6872bfb8f44771df2edf29245fcce78f0df178a1 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sat, 24 May 2025 18:52:40 -0700
Subject: [PATCH] [Driver] Use StringRef::consume_front (NFC)
---
cla
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/141412.diff
1 Files Affected:
- (modified) clang/lib/Driver/ToolChains/Clang.cpp (+2-2)
``diff
diff --git a/clang/lib/Driver/ToolC
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/141414.diff
1 Files Affected:
- (modified) clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
(+3-3)
``diff
diff --
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/141415
None
>From 9300bcb2f81f3bce140fca25b2f96544acec9e79 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sat, 24 May 2025 20:41:08 -0700
Subject: [PATCH] [ByteCode] Drop const from a return type (NFC)
---
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/141414.diff
1 Files Affected:
- (modified) clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
(+3-3)
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/141415.diff
1 Files Affected:
- (modified) clang/lib/AST/ByteCode/Function.h (+1-1)
``diff
diff --git a/clang/lib/AST/ByteCode/Fun
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/141414
None
>From eea35709eba0ed5d166ff16e73bffb466892992e Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sat, 24 May 2025 19:28:27 -0700
Subject: [PATCH] [StaticAnalyzer] Drop const from a return type (NFC)
Author: Kazu Hirata
Date: 2025-05-25T13:28:50-07:00
New Revision: 403c72265766c1c3e7bc93f8d358088f184f2689
URL:
https://github.com/llvm/llvm-project/commit/403c72265766c1c3e7bc93f8d358088f184f2689
DIFF:
https://github.com/llvm/llvm-project/commit/403c72265766c1c3e7bc93f8d358088f184f2689.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/141415
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
fzou1 wrote:
@KanRobert , any further comments?
https://github.com/llvm/llvm-project/pull/140874
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/141417
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-spec
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/141419
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-spec
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-sp
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
Author: Kazu Hirata (kazutakahirata)
Changes
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
co
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/141418
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-spec
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/141413.diff
1 Files Affected:
- (modified) clang/utils/TableGen/SveEmitter.cpp (+1-3)
``diff
diff --git a/clang/utils/TableGen/Sve
https://github.com/shiltian approved this pull request.
https://github.com/llvm/llvm-project/pull/141412
___
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-tidy
Author: Kazu Hirata (kazutakahirata)
Changes
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compil
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Kazu Hirata (kazutakahirata)
Changes
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-sp
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/141420
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-spec
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/141413
None
>From 7a9563378554901d70f08a38355e858465784f32 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sat, 24 May 2025 18:59:05 -0700
Subject: [PATCH] [TableGen] Use StringRef::contains (NFC)
---
clang/
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-backend-directx
Author: Kazu Hirata (kazutakahirata)
Changes
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/141369
>From 3a8bcd052d25d138b3a9a53bbcc69d48500b4b41 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sat, 24 May 2025 14:18:06 +0200
Subject: [PATCH 1/3] [CIR] Upstream global initialization for ComplexType
--
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-aarch64-windows`
running on `linaro-armv8-windows-msvc-05` while building `clang` at step 6
"test".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/141/builds/8996
Here is the relevant piece of
brad0 wrote:
@trungnt2910 It would be good to also fix i386 while you're at it.
https://github.com/haikuports/haikuports/commit/7d537e1161adc0ad1860c030e303fad54104d196
https://github.com/llvm/llvm-project/pull/135367
___
cfe-commits mailing list
cfe-
https://github.com/jakeegan created
https://github.com/llvm/llvm-project/pull/141439
If the runtime path is not found (by getTargetSubDirPath()), since per target
runtime directory is enabled on AIX, we should fall back to the target
subdirectory rather than the OS subdirectory.
>From b044f81
trungnt2910 wrote:
You mean adding support for `i386`?
>From what I understand about the linked issue, x86 is failing due to some
>signal frame unwinding function prototypes got leaked to general Haiku code,
>`_LIBUNWIND_TARGET_HAIKU`, but the implementation part got an additional
>`_LIBUNWIN
https://github.com/jakeegan updated
https://github.com/llvm/llvm-project/pull/141439
>From b044f81c6d1ed67ce7ee27bce7a62d36b3841bad Mon Sep 17 00:00:00 2001
From: Jake Egan
Date: Sun, 25 May 2025 19:40:59 -0400
Subject: [PATCH 1/2] Fix rt dir fallback
---
clang/lib/Driver/ToolChain.cpp
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 HEAD~1 HEAD --extensions c,cpp --
clang/lib/Driver/ToolChain.cpp clang/test/Driver/ai
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Jake Egan (jakeegan)
Changes
If the runtime path is not found (by getTargetSubDirPath()), since per target
runtime directory is enabled on AIX, we should fall back to the target
subdirectory rather than the OS subdirectory.
---
Fu
https://github.com/jakeegan ready_for_review
https://github.com/llvm/llvm-project/pull/141439
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
brad0 wrote:
> You mean adding support for `i386`?
Yes.
> From what I understand about the linked issue, x86 is failing due to some
> signal frame unwinding function prototypes got leaked to general Haiku code,
> `_LIBUNWIND_TARGET_HAIKU`, but the implementation part got an additional
> `_LI
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/141369
>From 3a8bcd052d25d138b3a9a53bbcc69d48500b4b41 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sat, 24 May 2025 14:18:06 +0200
Subject: [PATCH 1/2] [CIR] Upstream global initialization for ComplexType
--
marcogmaia wrote:
Ping
https://github.com/llvm/llvm-project/pull/139348
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-05-25T08:19:57-07:00
New Revision: 1def8670d4979d09ac113cc8a5126350fd3169b7
URL:
https://github.com/llvm/llvm-project/commit/1def8670d4979d09ac113cc8a5126350fd3169b7
DIFF:
https://github.com/llvm/llvm-project/commit/1def8670d4979d09ac113cc8a5126350fd3169b7.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/141382
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HerrCai0907 created
https://github.com/llvm/llvm-project/pull/141410
Under previous test setup, the test result will be influenced by clang-tidy
file in parent folder (between llvm-projects root and build folder). It is
inconventient and leads some confusion.
This PR wants t
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Congcong Cai (HerrCai0907)
Changes
Under previous test setup, the test result will be influenced by clang-tidy
file in parent folder (between llvm-projects root and build folder). It is
inconventient and leads some confusion.
https://github.com/aaronpuchert edited
https://github.com/llvm/llvm-project/pull/137133
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -235,6 +266,20 @@ class FactSet {
return false;
}
+ std::optional replaceLock(FactManager &FM, iterator It,
+std::unique_ptr Entry) {
+if (It == end())
+ return std::nullopt;
+FactID F = FM.newFact(std::move(Entry));
+
https://github.com/aaronpuchert approved this pull request.
I think this looks good, thanks for your contribution!
https://github.com/llvm/llvm-project/pull/137133
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/m
https://github.com/aaronpuchert created
https://github.com/llvm/llvm-project/pull/141432
The analysis already excludes functions with a zero-argument acquire or release
attribute. According to the requirements enforced by
-Wthread-safety-attributes, these are methods of a capability class wher
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 HEAD~1 HEAD --extensions cpp --
clang/lib/Analysis/ThreadSafety.cpp
clang/test/SemaC
aaronpuchert wrote:
@melver, this request came from @AaronBallman. But since you're also working on
Thread Safety Analysis in C, you might have some thoughts of your own about
this.
I haven't checked any real-world code yet. (Specifically, how many functions
would be affected by this exclusio
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/141334
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Owen Pan
Date: 2025-05-25T15:40:45-07:00
New Revision: b7f5950bb3b97eac979925a3bbf015530c26962e
URL:
https://github.com/llvm/llvm-project/commit/b7f5950bb3b97eac979925a3bbf015530c26962e
DIFF:
https://github.com/llvm/llvm-project/commit/b7f5950bb3b97eac979925a3bbf015530c26962e.diff
LOG:
owenca wrote:
/cherry-pick b7f5950bb3b97eac979925a3bbf015530c26962e
https://github.com/llvm/llvm-project/pull/141334
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
/pull-request llvm/llvm-project#141433
https://github.com/llvm/llvm-project/pull/141334
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
brad0 wrote:
Yes, that is fine. Thanks.
https://github.com/llvm/llvm-project/pull/135367
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
brad0 wrote:
cc @MaskRay
https://github.com/llvm/llvm-project/pull/135367
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,92 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --check-globals all --version 5
+// RUN: %clang --target=loongarch64-linux-gnu %s -S -emit-llvm -o - \
+// RUN: | FileCheck %s
+
+__attribute__((target("div32")))
+// CHECK
@@ -142,6 +142,12 @@ New checks
Finds potentially erroneous calls to ``reset`` method on smart pointers when
the pointee type also has a ``reset`` method.
+- New :doc:`portability-avoid-pragma-once
EugeneZelenko wrote:
Please keep alphabetical order (by c
@@ -80,13 +78,47 @@ void ExceptionEscapeCheck::check(const
MatchFinder::MatchResult &Result) {
if (!MatchedDecl)
return;
- if (Tracer.analyze(MatchedDecl).getBehaviour() ==
- utils::ExceptionAnalyzer::State::Throwing)
-// FIXME: We should provide more informat
101 - 197 of 197 matches
Mail list logo