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 f4081711f0884ec7afe93577e118ecc89cb7b1cf
1e79973ed4ea56c66f8b7eb1db9d00784edac7f0 --e
@@ -22,11 +22,20 @@
// uses the record name by replacing Feature with Has.
// value - Value to assign to the field in RISCVSubtarget when this
// extension is enabled. Usually "true", but can be changed.
-class RISCVExtension implies = [],
https://github.com/kovdan01 closed
https://github.com/llvm/llvm-project/pull/119361
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Daniil Kovalev
Date: 2024-12-16T10:24:09+03:00
New Revision: f65a21a4ecc2e712c700c59842b6b9a1d2a9a060
URL:
https://github.com/llvm/llvm-project/commit/f65a21a4ecc2e712c700c59842b6b9a1d2a9a060
DIFF:
https://github.com/llvm/llvm-project/commit/f65a21a4ecc2e712c700c59842b6b9a1d2a9a060.diff
@@ -22,11 +22,20 @@
// uses the record name by replacing Feature with Has.
// value - Value to assign to the field in RISCVSubtarget when this
// extension is enabled. Usually "true", but can be changed.
-class RISCVExtension implies = [],
@@ -22,11 +22,20 @@
// uses the record name by replacing Feature with Has.
// value - Value to assign to the field in RISCVSubtarget when this
// extension is enabled. Usually "true", but can be changed.
-class RISCVExtension implies = [],
https://github.com/kovdan01 updated
https://github.com/llvm/llvm-project/pull/119361
>From 944b2f8fb6357c5ef9efbdaf0c2c3dcd8cb9f890 Mon Sep 17 00:00:00 2001
From: Daniil Kovalev
Date: Tue, 10 Dec 2024 08:48:09 +0300
Subject: [PATCH 1/2] [PAC][ELF][AArch64] Support signed personality function
p
@@ -22,11 +22,17 @@
// uses the record name by replacing Feature with Has.
// value - Value to assign to the field in RISCVSubtarget when this
// extension is enabled. Usually "true", but can be changed.
-class RISCVExtension implies = [],
https://github.com/amane-ame updated
https://github.com/llvm/llvm-project/pull/119428
From 3a4c1a924faef3a7a09126694fcb943bd7083451 Mon Sep 17 00:00:00 2001
From: amane-ame
Date: Wed, 11 Dec 2024 02:13:43 +0800
Subject: [PATCH 1/3] Fix crashes when the macro expansion is empty
---
clang/lib/F
@@ -0,0 +1,17 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -target-cpu x86-64
-disable-llvm-passes -fopenmp-targets=amdgcn-amd-amdhsa -x c++ -emit-llvm-bc %s
-o %t-x86-host.bc
+// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -aux-triple
x86_64-unknown-linux-gnu -target-
https://github.com/arsenm closed
https://github.com/llvm/llvm-project/pull/119832
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Matt Arsenault
Date: 2024-12-16T15:04:53+09:00
New Revision: 1100d6a995fe392b3885b8d2bd5afed2bd57e80c
URL:
https://github.com/llvm/llvm-project/commit/1100d6a995fe392b3885b8d2bd5afed2bd57e80c
DIFF:
https://github.com/llvm/llvm-project/commit/1100d6a995fe392b3885b8d2bd5afed2bd57e80c.diff
@@ -622,9 +622,9 @@ bool ItaniumParamParser::parseItaniumParam(StringRef& param,
if (isDigit(TC)) {
res.ArgType =
StringSwitch(eatLengthPrefixedName(param))
-.Case("ocl_image1darray", AMDGPULibFunc::IMG1DA)
-.Case("ocl_image1dbuffer", AMDGP
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/119832
>From 79687ef4b5e92d9100d9c6fe41af18fbcf182dba Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Fri, 13 Dec 2024 14:55:55 +0900
Subject: [PATCH] AMDGPU: Fix libcall recognition of image array types
Add tests
https://github.com/arsenm edited
https://github.com/llvm/llvm-project/pull/119832
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond approved this pull request.
https://github.com/llvm/llvm-project/pull/119894
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
leijurv wrote:
Ping 🙏
https://github.com/llvm/llvm-project/pull/118046
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaxEW707 updated
https://github.com/llvm/llvm-project/pull/99833
>From 0a705b1a8e9673cd5e803ffe392dacfa0f06c40f Mon Sep 17 00:00:00 2001
From: MaxEW707
Date: Fri, 21 Jun 2024 20:37:40 -0700
Subject: [PATCH 01/23] Support MSVC lvalue to temporary reference binding
---
clang/
https://github.com/MaxEW707 updated
https://github.com/llvm/llvm-project/pull/99833
>From 0a705b1a8e9673cd5e803ffe392dacfa0f06c40f Mon Sep 17 00:00:00 2001
From: MaxEW707
Date: Fri, 21 Jun 2024 20:37:40 -0700
Subject: [PATCH 01/22] Support MSVC lvalue to temporary reference binding
---
clang/
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/119894
>From 6cd26753f380d9ee89d85139a5dc58bc0e4b0632 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Fri, 13 Dec 2024 08:04:56 -0800
Subject: [PATCH 1/3] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=
=?
@@ -1477,6 +1477,10 @@ def TuneConditionalCompressedMoveFusion
def HasConditionalMoveFusion :
Predicate<"Subtarget->hasConditionalMoveFusion()">;
def NoConditionalMoveFusion :
Predicate<"!Subtarget->hasConditionalMoveFusion()">;
+def TuneMIPSP8700
+: SubtargetFeature<"m
@@ -1,4 +1,5 @@
set(LLVM_LINK_COMPONENTS
+ Core
arsenm wrote:
This should be defined here
https://github.com/llvm/llvm-project/blob/main/clang/lib/CodeGen/Targets/AMDGPU.cpp
https://github.com/llvm/llvm-project/pull/104661
___
https://github.com/topperc deleted
https://github.com/llvm/llvm-project/pull/104661
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1,4 +1,5 @@
set(LLVM_LINK_COMPONENTS
+ Core
topperc wrote:
> No, this is clang lib/CodeGen which has nothing to do with actual codegen.
> Someone really needs to just go ahead with the rename to IRGen
Core is LLVM's lib/IR isn't it? This is making clang l
@@ -1,4 +1,5 @@
set(LLVM_LINK_COMPONENTS
+ Core
arsenm wrote:
No, this is clang lib/CodeGen which has nothing to do with actual codegen.
Someone really needs to just go ahead with the rename to IRGen
https://github.com/llvm/llvm-project/pull/104661
_
@@ -1,4 +1,5 @@
set(LLVM_LINK_COMPONENTS
+ Core
shiltian wrote:
> This shouldn't be necessary. I think this code is in the wrong place, I would
> expect it to go in lib/CodeGen/Targets, not lib/Basic
And then to have clang depend on LLVM's CodeGen component?
nico wrote:
I'll try to find a Linux box tomorrow to get more details.
https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket/8728518597999528929/+/u/package_clang/stdout?format=raw
is the full build output. If you ctrl-f for "cmake -G", you should find all
cmake vars that that bot
@@ -1270,77 +1270,21 @@ exit:
; MODULE: attributes #[[ATTR1:[0-9]+]] = { convergent nocallback nounwind }
; MODULE: attributes #[[ATTR2:[0-9]+]] = { convergent nocallback nofree
nounwind willreturn }
; MODULE: attributes #[[ATTR3:[0-9]+]] = { nocallback nofree nosync nounwind
@@ -1270,77 +1270,21 @@ exit:
; MODULE: attributes #[[ATTR1:[0-9]+]] = { convergent nocallback nounwind }
; MODULE: attributes #[[ATTR2:[0-9]+]] = { convergent nocallback nofree
nounwind willreturn }
; MODULE: attributes #[[ATTR3:[0-9]+]] = { nocallback nofree nosync nounwind
@@ -1846,6 +1846,16 @@ class TargetInfo : public TransferrableTargetInfo,
return std::make_pair(64, 64);
}
+ /// Returns the optimal vector type elements based on the provided vector
+ /// type. For example, on some targets, a vector with 3 elements may be
+ /// treat
@@ -2146,21 +2145,21 @@ void CodeGenFunction::EmitStoreOfScalar(llvm::Value
*Value, Address Addr,
Addr = Addr.withPointer(Builder.CreateThreadLocalAddress(GV),
NotKnownNonNull);
+ // Handles vectors of sizes that are likely to be expanded
@@ -2003,20 +2003,19 @@ llvm::Value *CodeGenFunction::EmitLoadOfScalar(Address
Addr, bool Volatile,
return EmitFromMemory(V, Ty);
}
-// Handle vectors of size 3 like size 4 for better performance.
-const llvm::Type *EltTy = Addr.getElementType();
-const
@@ -1,4 +1,5 @@
set(LLVM_LINK_COMPONENTS
+ Core
arsenm wrote:
This shouldn't be necessary. I think this code is in the wrong place, I would
expect it to go in lib/CodeGen/Targets, not lib/Basic
https://github.com/llvm/llvm-project/pull/104661
@@ -1,4 +1,5 @@
set(LLVM_LINK_COMPONENTS
+ Core
topperc wrote:
Does this create additional dependencies on clang based tools that don't need
to use LLVM IR? For example, clang-format?
https://github.com/llvm/llvm-project/pull/104661
__
https://github.com/arsenm edited
https://github.com/llvm/llvm-project/pull/119261
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1270,77 +1270,21 @@ exit:
; MODULE: attributes #[[ATTR1:[0-9]+]] = { convergent nocallback nounwind }
; MODULE: attributes #[[ATTR2:[0-9]+]] = { convergent nocallback nofree
nounwind willreturn }
; MODULE: attributes #[[ATTR3:[0-9]+]] = { nocallback nofree nosync nounwind
@@ -867,13 +867,28 @@ class InlayHintVisitor : public
RecursiveASTVisitor {
}
}
+ static bool argumentMatchesParamName(StringRef ArgName, StringRef ParamName)
{
+// Exact match.
+if (ParamName == ArgName)
+ return true;
+
+// Parameter name uses "a" p
https://github.com/5chmidti edited
https://github.com/llvm/llvm-project/pull/119974
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
shiltian wrote:
gentle ping
https://github.com/llvm/llvm-project/pull/104661
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -104,14 +104,16 @@ AST_MATCHER_FUNCTION_P(StatementMatcher,
hasArgument(0, hasType(ReceiverType);
}
+AST_MATCHER(CXXMethodDecl, isStatic) { return Node.isStatic(); }
+
AST_MATCHER_FUNCTION(StatementMatcher, isConstRefReturningFunctionCal
https://github.com/5chmidti edited
https://github.com/llvm/llvm-project/pull/119974
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/5chmidti commented:
> Not sure how many more tests I should add, since this uses the same code
> paths as free functions.
I think the amount of tests you've added are enough
> This is the 5th instance of the `isStatic` matcher in clang-tidy.
Good point, thanks. I've checked
https://github.com/5chmidti ready_for_review
https://github.com/llvm/llvm-project/pull/120027
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/5chmidti edited
https://github.com/llvm/llvm-project/pull/120027
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/5chmidti updated
https://github.com/llvm/llvm-project/pull/120027
>From 07dd31ddd40cdb792d33fc3394f6356de029a137 Mon Sep 17 00:00:00 2001
From: Julian Schmidt
Date: Mon, 16 Dec 2024 01:28:42 +0100
Subject: [PATCH] [ASTMatchers] fix `isStaticStorageClass` not matching
definit
https://github.com/5chmidti edited
https://github.com/llvm/llvm-project/pull/120027
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/5chmidti updated
https://github.com/llvm/llvm-project/pull/120027
>From 35a1cecb08d1827fb45c2e6bb06983ed363ca769 Mon Sep 17 00:00:00 2001
From: Julian Schmidt
Date: Mon, 16 Dec 2024 01:18:06 +0100
Subject: [PATCH] [ASTMatchers] fix `isStaticStorageClass` not matching
definit
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Julian Schmidt (5chmidti)
Changes
```c++
static void foo();
void foo() {}
struct A {
static void bar();
};
void A::bar() {}
```
Both definitions refer to their previous declaration, but were not
considered `static`, because the m
https://github.com/5chmidti created
https://github.com/llvm/llvm-project/pull/120027
```c++
static void foo();
void foo() {}
struct A {
static void bar();
};
void A::bar() {}
```
Both definitions refer to their previous declaration, but were not
considered `static`, because the matcher did
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy -check-suffix=STRICT %s
cppcoreguidelines-pro-type-const-cast %t -- -config="{CheckOptions:
{StrictMode: true}}"
+// RUN: %check_clang_tidy -check-suffix=STRICT %s
cppcoreguidelines-pro-type-const-cast %t -- -config="{CheckOptions:
@@ -26,7 +26,7 @@ class InconsistentDeclarationParameterNameCheck : public
ClangTidyCheck {
ClangTidyContext *Context)
: ClangTidyCheck(Name, Context),
IgnoreMacros(Options.getLocalOrGlobal("IgnoreMacros", true)),
-
https://github.com/JOE1994 updated
https://github.com/llvm/llvm-project/pull/119246
>From 9dbcf65775a979553bee2c95b16e3e2328e957a1 Mon Sep 17 00:00:00 2001
From: Youngsuk Kim
Date: Mon, 9 Dec 2024 10:33:18 -0600
Subject: [PATCH 1/3] [clang] Recover necessary AddrSpaceCast
A necessary AddrSpace
jmorse wrote:
(" it lacks the DW_AT_abstract_origin that gcc produces..." for the
DW_TAG_lexical_scopes referring back to the abstract/declaration subprogram).
https://github.com/llvm/llvm-project/pull/119001
___
cfe-commits mailing list
cfe-commits@l
https://github.com/labrinea edited
https://github.com/llvm/llvm-project/pull/120022
___
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: Alexandros Lamprineas (labrinea)
Changes
Curently we need at least one more version other than the default to trigger
FMV. However we would like a header file declaration
__attribute__((target_version("default"))) void f(void);
to guaran
jmorse wrote:
Indeed @ the language, it's difficult to know that this is definitely going to
work when I don't have a full understanding of the patch series, thus the
caution,
I've studied a bit further and even with the full patch series we seem to be
missing an important link. Here's a gist
https://github.com/labrinea created
https://github.com/llvm/llvm-project/pull/120022
Curently we need at least one more version other than the default to trigger
FMV. However we would like a header file declaration
__attribute__((target_version("default"))) void f(void);
to guarantee that the
5chmidti wrote:
The move to bugprone makes sense to me.
However, I'm not sure that conversions of integers to signed integers should be
ignored-by-default since C++20. It may be well-defined behavior w.r.t. the
resulting value, but the pattern is still prone to bugs. You will get a
well-defi
aaronpuchert wrote:
Specifically, this is the output:
```
Uninitialized bytes in strcmp at offset 0 inside [0x7fffe1e0, 12)
==1131638==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x5565c159 in testWrite()
/b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/ms
5chmidti wrote:
Ping
https://github.com/llvm/llvm-project/pull/113837
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
pobrn wrote:
> Please mention changes in Release Notes.
Sorry, I hope it is fixed now.
https://github.com/llvm/llvm-project/pull/119974
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/pobrn updated
https://github.com/llvm/llvm-project/pull/119974
From e9cd529ef486df9b5279aef974f136c63cb367ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?=
Date: Sat, 14 Dec 2024 16:57:57 +0100
Subject: [PATCH] [clang-tidy] performance-unnecessary-copy-
https://github.com/pobrn updated
https://github.com/llvm/llvm-project/pull/119974
From fcacca26be4350d005c08a781bf4cee29abb404e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?=
Date: Sat, 14 Dec 2024 16:57:57 +0100
Subject: [PATCH] [clang-tidy] performance-unnecessary-copy-
aaronpuchert wrote:
@nico, could you provide some more information? This didn't break on the
lab.llvm.org infrastructure, and I'm not sure what's different in your build.
Locally I also used a Release build with assertions on x86_64 on Linux.
For what it's worth, the change simply moves the in
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building
`clang` at step 7 "Add check check-offload".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/73/builds/10366
Here is the r
https://github.com/MaskRay approved this pull request.
https://github.com/llvm/llvm-project/pull/119361
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -431,6 +432,13 @@ void TargetLoweringObjectFileELF::emitPersonalityValue(
Streamer.emitELFSize(Label, E);
Streamer.emitLabel(Label);
+ emitPersonalityValueImpl(Streamer, DL, Sym, MMI);
+}
+
+void TargetLoweringObjectFileELF::emitPersonalityValueImpl(
+MCStreamer &S
@@ -59,3 +61,13 @@ MachineModuleInfoImpl::ExprStubListTy
MachineModuleInfoImpl::getSortedExprStubs(
ExprStubs.clear();
return List;
}
+
+MachineModuleInfoELF::MachineModuleInfoELF(const MachineModuleInfo &MMI) {
+ const Module *M = MMI.getModule();
+ const auto *Flag = m
https://github.com/MaskRay approved this pull request.
https://github.com/llvm/llvm-project/pull/119894
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1286,6 +1286,33 @@ Expected
parseRtSanPassOptions(StringRef Params) {
return Result;
}
+Expected
+parseBoundsCheckingOptions(StringRef Params) {
+ BoundsCheckingPass::ReportingMode Mode =
+ BoundsCheckingPass::ReportingMode::Trap;
+ while (!Params.empty()) {
+
https://github.com/SpencerAbson edited
https://github.com/llvm/llvm-project/pull/119922
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rniwa closed https://github.com/llvm/llvm-project/pull/119800
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/SpencerAbson edited
https://github.com/llvm/llvm-project/pull/119922
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ryosuke Niwa
Date: 2024-12-15T13:32:29-08:00
New Revision: e86910337f98e57f5b9253f7d80d5b916eb1d97e
URL:
https://github.com/llvm/llvm-project/commit/e86910337f98e57f5b9253f7d80d5b916eb1d97e
DIFF:
https://github.com/llvm/llvm-project/commit/e86910337f98e57f5b9253f7d80d5b916eb1d97e.diff
rniwa wrote:
Great. Thanks for the review.
https://github.com/llvm/llvm-project/pull/119800
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/SpencerAbson updated
https://github.com/llvm/llvm-project/pull/118549
>From 656465bfc10319c8864cefaf3423ac70881b88c9 Mon Sep 17 00:00:00 2001
From: Spencer Abson
Date: Sun, 15 Dec 2024 20:28:08 +
Subject: [PATCH 1/2] [AArch64] Implement intrinsics for SME FP8 FMAL/FMLALL
https://github.com/SpencerAbson updated
https://github.com/llvm/llvm-project/pull/118549
>From 656465bfc10319c8864cefaf3423ac70881b88c9 Mon Sep 17 00:00:00 2001
From: Spencer Abson
Date: Sun, 15 Dec 2024 20:28:08 +
Subject: [PATCH] [AArch64] Implement intrinsics for SME FP8 FMAL/FMLALL
(in
https://github.com/t-rasmud approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/119800
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/SpencerAbson updated
https://github.com/llvm/llvm-project/pull/118549
>From 411f907b30b75e55db27b9259b2eb9b2077d388d Mon Sep 17 00:00:00 2001
From: Spencer Abson
Date: Mon, 25 Nov 2024 21:47:20 +
Subject: [PATCH 1/3] [AArch64] Implement intrinsics for SME FP8 FMOPA
---
https://github.com/carlosgalvezp commented:
LGTM except the release notes, I think it would be more helpful to the users if
we listed the changes explicitly.
https://github.com/llvm/llvm-project/pull/120004
___
cfe-commits mailing list
cfe-commits@lis
@@ -1,4 +1,4 @@
-// RUN: %check_clang_tidy -check-suffix=STRICT %s
cppcoreguidelines-pro-type-const-cast %t -- -config="{CheckOptions:
{StrictMode: true}}"
+// RUN: %check_clang_tidy -check-suffix=STRICT %s
cppcoreguidelines-pro-type-const-cast %t -- -config="{CheckOptions:
@@ -115,6 +115,10 @@ Improvements to clang-tidy
- Improved :program:`run-clang-tidy.py` script. Fixed minor shutdown noise
happening on certain platforms when interrupting the script.
+- Removed :program:`clang-tidy`'s global options for most of checks. All
options
@@ -26,7 +26,7 @@ class InconsistentDeclarationParameterNameCheck : public
ClangTidyCheck {
ClangTidyContext *Context)
: ClangTidyCheck(Name, Context),
IgnoreMacros(Options.getLocalOrGlobal("IgnoreMacros", true)),
-
https://github.com/SunilKuravinakop updated
https://github.com/llvm/llvm-project/pull/117904
>From 1703aa62cfe35538aedbacb28e907535e838248c Mon Sep 17 00:00:00 2001
From: Sunil Kuravinakop
Date: Fri, 20 Sep 2024 01:41:29 -0500
Subject: [PATCH 1/7] Support for dispatch construct (Sema & Codegen)
nico wrote:
I reverted this in 1464b8ec8a675fd11dc7280db1c56aac03771b0a for now.
https://github.com/llvm/llvm-project/pull/119071
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Nico Weber
Date: 2024-12-15T14:04:56-05:00
New Revision: 1464b8ec8a675fd11dc7280db1c56aac03771b0a
URL:
https://github.com/llvm/llvm-project/commit/1464b8ec8a675fd11dc7280db1c56aac03771b0a
DIFF:
https://github.com/llvm/llvm-project/commit/1464b8ec8a675fd11dc7280db1c56aac03771b0a.diff
LO
Author: Nico Weber
Date: 2024-12-15T14:04:55-05:00
New Revision: 50046221b8e913ec6506eb96ce4c0cd267a5cc99
URL:
https://github.com/llvm/llvm-project/commit/50046221b8e913ec6506eb96ce4c0cd267a5cc99
DIFF:
https://github.com/llvm/llvm-project/commit/50046221b8e913ec6506eb96ce4c0cd267a5cc99.diff
LO
nico wrote:
This broke Linux/dn_expand.cpp on our bots, see
https://issues.chromium.org/issues/384188036
https://github.com/llvm/llvm-project/pull/119071
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/li
@@ -78,6 +78,19 @@ def GENERIC_RV64 : RISCVProcessorModel<"generic-rv64",
// to change to the appropriate rv32/rv64 version.
def GENERIC : RISCVTuneProcessorModel<"generic", NoSchedModel>,
GenericTuneInfo;
+def MIPS_P8700 : RISCVProcessorModel<"mips-p8700",
+
@@ -11774,6 +11774,9 @@ def err_omp_clause_requires_dispatch_construct : Error<
"'%0' clause requires 'dispatch' context selector">;
def err_omp_append_args_with_varargs : Error<
"'append_args' is not allowed with varargs functions">;
+def warn_omp_dispatch_clause_novariant
@@ -5965,6 +5967,264 @@ static bool teamsLoopCanBeParallelFor(Stmt *AStmt, Sema
&SemaRef) {
return Checker.teamsLoopCanBeParallelFor();
}
+static Expr *getInitialExprFromCapturedExpr(Expr *Cond) {
+
+ Expr *SubExpr = Cond->IgnoreParenImpCasts();
+
+ if (auto *DeclRef = dy
https://github.com/SunilKuravinakop updated
https://github.com/llvm/llvm-project/pull/117904
>From 1703aa62cfe35538aedbacb28e907535e838248c Mon Sep 17 00:00:00 2001
From: Sunil Kuravinakop
Date: Fri, 20 Sep 2024 01:41:29 -0500
Subject: [PATCH 1/6] Support for dispatch construct (Sema & Codegen)
chestnykh wrote:
@ldionne i run these tests locally with msan (x86-64) and have no errors. Could
you please tell on what architecture(s) the tests was failing?
https://github.com/llvm/llvm-project/pull/120013
___
cfe-commits mailing list
cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-libunwind
Author: Dmitry Chestnykh (chestnykh)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/120013.diff
7 Files Affected:
- (modified) libunwind/test/forceunwind.pass.cpp (-3)
- (modified) libunwind/test/libunwind_01.pass.cpp (-
https://github.com/chestnykh created
https://github.com/llvm/llvm-project/pull/120013
None
>From 95d35c8d4f95d2a08845d8951eb0ea7e0d97ec97 Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Sun, 15 Dec 2024 21:18:23 +0300
Subject: [PATCH] [Libunwind] Don't XFAIL tests with msan
---
libunwi
@@ -26,7 +26,7 @@ class InconsistentDeclarationParameterNameCheck : public
ClangTidyCheck {
ClangTidyContext *Context)
: ClangTidyCheck(Name, Context),
IgnoreMacros(Options.getLocalOrGlobal("IgnoreMacros", true)),
-
@@ -27,6 +27,39 @@ This check will flag:
- All applications of binary operators with a narrowing conversions.
For example: ``int i; i+= 0.1;``.
+Arithmetic with smaller integer types than ``int`` trigger implicit
conversions,
+as explained under `"Integral Promotion" on c
https://github.com/JonasToth updated
https://github.com/llvm/llvm-project/pull/118209
>From f7f570b3fa5a96cd3eb140abd02e4351a4586e26 Mon Sep 17 00:00:00 2001
From: Jonas Toth
Date: Sun, 1 Dec 2024 12:02:13 +0100
Subject: [PATCH] [clang-tidy][docs] improve documentation on
cppcoreguidelines-nar
https://github.com/JonasToth updated
https://github.com/llvm/llvm-project/pull/118209
>From f4345664e10ac6a9e87b33b1e816b685a1355bb6 Mon Sep 17 00:00:00 2001
From: Jonas Toth
Date: Sun, 1 Dec 2024 12:02:13 +0100
Subject: [PATCH 1/2] [clang-tidy][docs] improve documentation on
cppcoreguidelines
owenca wrote:
You should add unit tests in `clang/unittests/Format/`.
https://github.com/llvm/llvm-project/pull/119428
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 125 matches
Mail list logo