https://github.com/vzakhari updated
https://github.com/llvm/llvm-project/pull/82832
>From 4ad0b005081fe2286970b4c22721fe72ed26cf8b Mon Sep 17 00:00:00 2001
From: Slava Zakharin
Date: Fri, 23 Feb 2024 13:08:49 -0800
Subject: [PATCH 1/2] [flang] Fixes for LIT testing of
FLANG_RUNTIME_F128_MATH_L
https://github.com/minglotus-6 closed
https://github.com/llvm/llvm-project/pull/73570
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
minglotus-6 wrote:
This is superseded by https://github.com/llvm/llvm-project/pull/75954
https://github.com/llvm/llvm-project/pull/73570
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit
https://github.com/shafik updated
https://github.com/llvm/llvm-project/pull/82407
>From 5fcaeaddccc0f7e370bf7bebce113d8d52e1b1bd Mon Sep 17 00:00:00 2001
From: Shafik Yaghmour
Date: Tue, 20 Feb 2024 11:22:39 -0800
Subject: [PATCH] [Clang][Sema] Fix incorrect rejection default construction of
u
https://github.com/AtariDreams updated
https://github.com/llvm/llvm-project/pull/81335
>From da7ef0a9a45feb9669482040d34a0dd0e2edaa52 Mon Sep 17 00:00:00 2001
From: Rose <83477269+ataridre...@users.noreply.github.com>
Date: Fri, 9 Feb 2024 17:51:15 -0500
Subject: [PATCH 1/2] [ObjC] Add pre-commi
https://github.com/AtariDreams updated
https://github.com/llvm/llvm-project/pull/81335
>From a2393ceb54895e3f6057b649e09732ce3a156811 Mon Sep 17 00:00:00 2001
From: Rose <83477269+ataridre...@users.noreply.github.com>
Date: Fri, 9 Feb 2024 17:51:15 -0500
Subject: [PATCH 1/2] [ObjC] Add pre-commi
https://github.com/AtariDreams edited
https://github.com/llvm/llvm-project/pull/81335
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AtariDreams updated
https://github.com/llvm/llvm-project/pull/81335
>From a2393ceb54895e3f6057b649e09732ce3a156811 Mon Sep 17 00:00:00 2001
From: Rose <83477269+ataridre...@users.noreply.github.com>
Date: Fri, 9 Feb 2024 17:51:15 -0500
Subject: [PATCH 1/2] [ObjC] Add pre-commi
https://github.com/AtariDreams edited
https://github.com/llvm/llvm-project/pull/82721
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AtariDreams updated
https://github.com/llvm/llvm-project/pull/82721
>From 4f6119ae65104ee8ce0e32f9ffeb119636613ee2 Mon Sep 17 00:00:00 2001
From: Rose <83477269+ataridre...@users.noreply.github.com>
Date: Thu, 22 Feb 2024 20:50:48 -0500
Subject: [PATCH] [NFC] Fix formatting so
https://github.com/AtariDreams edited
https://github.com/llvm/llvm-project/pull/82721
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AtariDreams updated
https://github.com/llvm/llvm-project/pull/82721
>From 769828b661e46fdf926b5350839a899369a3399e Mon Sep 17 00:00:00 2001
From: Rose <83477269+ataridre...@users.noreply.github.com>
Date: Thu, 22 Feb 2024 20:50:48 -0500
Subject: [PATCH] [NFC] Fix formatting so
https://github.com/AtariDreams edited
https://github.com/llvm/llvm-project/pull/82721
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shafik updated
https://github.com/llvm/llvm-project/pull/82407
>From 5fcaeaddccc0f7e370bf7bebce113d8d52e1b1bd Mon Sep 17 00:00:00 2001
From: Shafik Yaghmour
Date: Tue, 20 Feb 2024 11:22:39 -0800
Subject: [PATCH] [Clang][Sema] Fix incorrect rejection default construction of
u
MaskRay wrote:
Do you know a libc implementation that actually implements `%k` `%r` and who
are the potential users? From a quick glance, gcc avr supports fixed-point
types but avr-libc doesn't seem to support %k %r.
https://github.com/llvm/llvm-project/pull/82855
_
@@ -420,6 +420,8 @@ struct UnwrappedLineNode {
SmallVector Children;
};
+std::ostream &operator<<(std::ostream &Stream, const UnwrappedLine &Line);
+
owenca wrote:
Delete.
https://github.com/llvm/llvm-project/pull/82523
@@ -19,6 +19,7 @@
#include "clang/Basic/TokenKinds.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/Support/Debug.h"
+#include
owenca wrote:
Not needed explicitly.
https://github.com/llvm/llvm-project/pull/82523
__
@@ -287,6 +287,21 @@ TEST_F(FormatTestMacroExpansion,
Style);
}
+TEST_F(FormatTestMacroExpansion, IndentChildrenWithinMacroCall) {
+ FormatStyle Style = getGoogleStyleWithColumns(22);
+ Style.Macros.push_back("MACRO(a, b)=a=(b)");
+ verifyFormat("void f() {\n
@@ -90,6 +90,12 @@ class ScopedDeclarationState {
} // end anonymous namespace
+std::ostream &operator<<(std::ostream &Stream, const UnwrappedLine &Line) {
+ llvm::raw_os_ostream OS(Stream);
+ printLine(OS, Line);
+ return Stream;
+}
+
owenca wrote:
Delet
Author: Balázs Kéri
Date: 2024-02-23T09:35:38+01:00
New Revision: 5ca877591e65acf18b5a8d3234ff88b215b4f369
URL:
https://github.com/llvm/llvm-project/commit/5ca877591e65acf18b5a8d3234ff88b215b4f369
DIFF:
https://github.com/llvm/llvm-project/commit/5ca877591e65acf18b5a8d3234ff88b215b4f369.diff
L
https://github.com/balazske closed
https://github.com/llvm/llvm-project/pull/79470
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Chuanqi Xu
Date: 2024-02-23T16:54:13+08:00
New Revision: b014944e47ba6e2031e968268b15fba43a9e1dbf
URL:
https://github.com/llvm/llvm-project/commit/b014944e47ba6e2031e968268b15fba43a9e1dbf
DIFF:
https://github.com/llvm/llvm-project/commit/b014944e47ba6e2031e968268b15fba43a9e1dbf.diff
LO
https://github.com/cor3ntin approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/70594
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cor3ntin wrote:
Could you merge main inside that branch? There are some test failures (which i
hope are unrelated). Thanks
https://github.com/llvm/llvm-project/pull/81251
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/c
@@ -420,6 +420,8 @@ struct UnwrappedLineNode {
SmallVector Children;
};
+std::ostream &operator<<(std::ostream &Stream, const UnwrappedLine &Line);
+
r4nt wrote:
I intentionally put this there, as otherwise the errors we get from the tests
are useless. Wit
Author: Timm Bäder
Date: 2024-02-23T10:00:16+01:00
New Revision: ace83da316fbd2196fa35e8fd90218dcf84a020c
URL:
https://github.com/llvm/llvm-project/commit/ace83da316fbd2196fa35e8fd90218dcf84a020c
DIFF:
https://github.com/llvm/llvm-project/commit/ace83da316fbd2196fa35e8fd90218dcf84a020c.diff
LO
@@ -420,6 +420,8 @@ struct UnwrappedLineNode {
SmallVector Children;
};
+std::ostream &operator<<(std::ostream &Stream, const UnwrappedLine &Line);
+
owenca wrote:
Ah, thanks for the explanation.
https://github.com/llvm/llvm-project/pull/82523
urnathan wrote:
> On the target hook, it's a shame we can't easily get this information from
> LLVM. I believe it's already there — `TargetLowering` has an
> `allowsMisalignedMemoryAccesses` method that includes some approximation of
> how fast a particular access would be. In practice, it see
https://github.com/r4nt updated https://github.com/llvm/llvm-project/pull/82523
>From d9b8493f993a4020f3eaf2911b9704e4b25ac6b7 Mon Sep 17 00:00:00 2001
From: Manuel Klimek
Date: Wed, 21 Feb 2024 14:16:54 +
Subject: [PATCH 1/2] [ClangFormat] Fix indent in child lines within a macro
argument.
@@ -132,6 +132,7 @@ class LLVM_LIBRARY_VISIBILITY LoongArch64TargetInfo
: LoongArchTargetInfo(Triple, Opts) {
LongWidth = LongAlign = PointerWidth = PointerAlign = 64;
IntMaxType = Int64Type = SignedLong;
+HasCheapUnalignedBitfieldAccess = true;
--
dkrupp wrote:
I executed the analysis with this patch on the following open source projects:
memcached,tmux,curl,twin,vim,openssl,sqlite,ffmpeg,postgres, xerces
And it did not bring any visible change in the reports. So there were no new or
resolved findings compared to the baseline.
In both t
@@ -95,8 +95,6 @@ static bool TypeHasMayAlias(QualType QTy) {
/// Check if the given type is a valid base type to be used in access tags.
static bool isValidBaseType(QualType QTy) {
- if (QTy->isReferenceType())
-return false;
urnathan wrote:
would you p
@@ -420,6 +420,8 @@ struct UnwrappedLineNode {
SmallVector Children;
};
+std::ostream &operator<<(std::ostream &Stream, const UnwrappedLine &Line);
+
r4nt wrote:
I can move the operator<< to the test header, but I'd then at least need some
public method to
https://github.com/NagyDonat edited
https://github.com/llvm/llvm-project/pull/68140
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -218,7 +218,7 @@ void VLASizeChecker::reportTaintBug(const Expr *SizeE,
ProgramStateRef State,
SmallString<256> buf;
llvm::raw_svector_ostream os(buf);
os << "Declared variable-length array (VLA) ";
- os << "has tainted size";
+ os << "has a tainted (attacker contro
@@ -205,6 +199,12 @@ ProgramStateRef
VLASizeChecker::checkVLAIndexSize(CheckerContext &C,
State = StatePos;
}
+ // Check if the size is tainted.
+ if ((StateNeg || StateZero) && isTainted(State, SizeV)) {
NagyDonat wrote:
At this point `StateNeg` may
https://github.com/NagyDonat commented:
LGTM in general, with some minor nitpicks.
https://github.com/llvm/llvm-project/pull/68140
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -229,6 +228,28 @@ Check for declarations of Variable Length Arrays of
undefined or zero size.
int vla2[x]; // warn: zero size
}
+
+The checker also gives warning if the `TaintPropagation` checker is switched on
+and an unbound, attacker controlled (tainted) value is us
https://github.com/kadircet approved this pull request.
https://github.com/llvm/llvm-project/pull/82396
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -811,8 +811,17 @@ renameWithinFile(ParsedAST &AST, const NamedDecl
&RenameDecl,
continue;
Locs.push_back(RenameLoc);
}
- if (const auto *MD = dyn_cast(&RenameDecl))
-return renameObjCMethodWithinFile(AST, MD, NewName, std::move(Locs));
+ if (const auto *MD
https://github.com/kadircet edited
https://github.com/llvm/llvm-project/pull/82396
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/r4nt updated https://github.com/llvm/llvm-project/pull/82523
>From d9b8493f993a4020f3eaf2911b9704e4b25ac6b7 Mon Sep 17 00:00:00 2001
From: Manuel Klimek
Date: Wed, 21 Feb 2024 14:16:54 +
Subject: [PATCH 1/3] [ClangFormat] Fix indent in child lines within a macro
argument.
https://github.com/SamTebbs33 approved this pull request.
https://github.com/llvm/llvm-project/pull/82649
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/SamTebbs33 approved this pull request.
https://github.com/llvm/llvm-project/pull/82648
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin created
https://github.com/llvm/llvm-project/pull/82746
Github links in release notes are often invalid rST, clutter the release notes
and are annoying to write.
This introduces a sphynx plugin that rewrites
`#GH` to a link to the corresponding issue.
While this c
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: cor3ntin (cor3ntin)
Changes
Github links in release notes are often invalid rST, clutter the release notes
and are annoying to write.
This introduces a sphynx plugin that rewrites
`#GH` to a link to the corresponding issue.
Whil
cor3ntin wrote:
https://github.com/llvm/llvm-project/pull/82739 is a good example of why I
think this is an improvement
https://github.com/llvm/llvm-project/pull/82746
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-
rsniezek wrote:
Let's move discussion from the other topic here.
I have this minimalistic reproduction example:
main.cpp
```cpp
#include
int main() { return 0; }
```
With CMakeLists.txt:
```cmake
cmake_minimum_required(VERSION 3.26)
project(testexe)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_
Author: Timm Bäder
Date: 2024-02-23T10:53:31+01:00
New Revision: 13acb3af5ad48e850cf37dcf02270ede3f267bd4
URL:
https://github.com/llvm/llvm-project/commit/13acb3af5ad48e850cf37dcf02270ede3f267bd4
DIFF:
https://github.com/llvm/llvm-project/commit/13acb3af5ad48e850cf37dcf02270ede3f267bd4.diff
LO
PiotrZSL wrote:
@rsniezek No thats diffrent issue, you need to use xmmintrin.h from clang,
usually it should work by default, but maybe clang-tidy and clang are installed
in different folders. In such case you may need to add explicitly -isystem to
location of xmmintrin.h
https://github.com/l
https://github.com/dkrupp updated
https://github.com/llvm/llvm-project/pull/68140
>From 4b310278d2923ff718d074a7f7c8806ad03c6401 Mon Sep 17 00:00:00 2001
From: Daniel Krupp
Date: Tue, 3 Oct 2023 19:58:28 +0200
Subject: [PATCH 1/5] [analyzer] Fix core.VLASize checker false positive taint
report
https://github.com/NagyDonat approved this pull request.
https://github.com/llvm/llvm-project/pull/68140
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
rsniezek wrote:
you are right, when prepended path to clang headres the check don't crash even
with full compile commands after the --
```
/run/current-system/sw/bin/clang-tidy --checks=* -p
/home/rsniezek/workspace/testings_stuff/build
--extra-arg-before=--driver-mode=g++
/home/rsniezek/work
https://github.com/kadircet closed
https://github.com/llvm/llvm-project/pull/82612
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: kadir çetinkaya
Date: 2024-02-23T11:37:30+01:00
New Revision: 5cb2ebc08f6fa42341409b88466c5c266e5839cc
URL:
https://github.com/llvm/llvm-project/commit/5cb2ebc08f6fa42341409b88466c5c266e5839cc
DIFF:
https://github.com/llvm/llvm-project/commit/5cb2ebc08f6fa42341409b88466c5c266e5839cc.dif
tbaederr wrote:
Love it, but I'm slightly worried about "Fixes #" vs. "see also #" etc.
being the same now, since you removed the "Fixes" prefix.
https://github.com/llvm/llvm-project/pull/82746
___
cfe-commits mailing list
cfe-commits@lists.l
Author: Kadir Cetinkaya
Date: 2024-02-23T11:39:14+01:00
New Revision: 4419b2c27fa45a08bc3892ad0c8c5eb95d96d608
URL:
https://github.com/llvm/llvm-project/commit/4419b2c27fa45a08bc3892ad0c8c5eb95d96d608
DIFF:
https://github.com/llvm/llvm-project/commit/4419b2c27fa45a08bc3892ad0c8c5eb95d96d608.dif
rsniezek wrote:
nevermind, managed to do it. had to split "-isystem" and the path to separate
--extra-arg-before and it worked. thanks agian!
https://github.com/llvm/llvm-project/pull/66553
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http
Author: Daniel Krupp
Date: 2024-02-23T11:44:34+01:00
New Revision: de04b7d44edbfe8c2357cc291f8806575e6e93f2
URL:
https://github.com/llvm/llvm-project/commit/de04b7d44edbfe8c2357cc291f8806575e6e93f2
DIFF:
https://github.com/llvm/llvm-project/commit/de04b7d44edbfe8c2357cc291f8806575e6e93f2.diff
https://github.com/dkrupp closed https://github.com/llvm/llvm-project/pull/68140
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kadircet updated
https://github.com/llvm/llvm-project/pull/82615
From 32c8199fb9ffb9180b666e0837aa73aa6151cebc Mon Sep 17 00:00:00 2001
From: Kadir Cetinkaya
Date: Thu, 22 Feb 2024 13:52:42 +0100
Subject: [PATCH] [include-cleaner] Use FoundDecl only for using-shadow-decls
--
Author: kadir çetinkaya
Date: 2024-02-23T11:48:04+01:00
New Revision: 9dfb8430509619a4e9d36fd00a11b83a2d5d0c3c
URL:
https://github.com/llvm/llvm-project/commit/9dfb8430509619a4e9d36fd00a11b83a2d5d0c3c
DIFF:
https://github.com/llvm/llvm-project/commit/9dfb8430509619a4e9d36fd00a11b83a2d5d0c3c.dif
https://github.com/kadircet closed
https://github.com/llvm/llvm-project/pull/82615
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Bäder
Date: 2024-02-23T11:59:32+01:00
New Revision: 404854ee2018489c15c3454857d92e3bab7c1672
URL:
https://github.com/llvm/llvm-project/commit/404854ee2018489c15c3454857d92e3bab7c1672
DIFF:
https://github.com/llvm/llvm-project/commit/404854ee2018489c15c3454857d92e3bab7c1672.diff
LO
https://github.com/rymiel approved this pull request.
https://github.com/llvm/llvm-project/pull/82735
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
301 - 365 of 365 matches
Mail list logo