ikudrin updated the summary for this revision.
ikudrin updated this revision to Diff 51782.
ikudrin added a comment.
Make cxa_exception.cpp and cxa_exception_storage.cpp to use the same emergency
memory pool.
http://reviews.llvm.org/D17815
Files:
libcxxabi/trunk/src/CMakeLists.txt
libcxxab
https://github.com/igorkudrin created
https://github.com/llvm/llvm-project/pull/90370
The only reason for the removed condition was that there was a dependency for
`CTTestTidyModule` on the `clang-tidy-headers` target, which was only created
under the same `NOT LLVM_INSTALL_TOOLCHAIN_ONLY` con
igorkudrin wrote:
> I think out of tree builds of clang-tidy (back in the svn days, when people
> did partial checkouts of individual projects) probably needed this to be able
> to correctly correctly find the right headers. Maybe standalone builds aren't
> permitted anymore? I think I mention
https://github.com/igorkudrin closed
https://github.com/llvm/llvm-project/pull/90370
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/117419
>From 54fc788cca22b1b30313f4349d9ef2ba8cf58079 Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Fri, 22 Nov 2024 21:36:54 -0800
Subject: [PATCH 1/2] [clang][AArch64] Avoid a crash when a non-reserved
registe
https://github.com/igorkudrin edited
https://github.com/llvm/llvm-project/pull/117419
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -232,13 +232,23 @@ bool AArch64TargetInfo::validateTarget(DiagnosticsEngine
&Diags) const {
bool AArch64TargetInfo::validateGlobalRegisterVariable(
StringRef RegName, unsigned RegSize, bool &HasSizeMismatch) const {
- if ((RegName == "sp") || RegName.starts_with("x"))
igorkudrin wrote:
> Please check if this fixes #109778 too. Seems very similar.
This patch fixes #109778, but only for AArch64.
https://github.com/llvm/llvm-project/pull/117419
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/117419
>From 54fc788cca22b1b30313f4349d9ef2ba8cf58079 Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Fri, 22 Nov 2024 21:36:54 -0800
Subject: [PATCH 1/3] [clang][AArch64] Avoid a crash when a non-reserved
registe
@@ -232,13 +232,23 @@ bool AArch64TargetInfo::validateTarget(DiagnosticsEngine
&Diags) const {
bool AArch64TargetInfo::validateGlobalRegisterVariable(
StringRef RegName, unsigned RegSize, bool &HasSizeMismatch) const {
- if ((RegName == "sp") || RegName.starts_with("x"))
https://github.com/igorkudrin created
https://github.com/llvm/llvm-project/pull/117419
Fixes #76426
The previous patch for this issue, #94271, generated an error message if a
register and a global variable did not have the same size. This patch checks if
the register is actually reserved.
>F
Author: Igor Kudrin
Date: 2024-12-06T15:10:40-08:00
New Revision: da65fe1c16308cdb71b2fd26aaedc0ce52521ab4
URL:
https://github.com/llvm/llvm-project/commit/da65fe1c16308cdb71b2fd26aaedc0ce52521ab4
DIFF:
https://github.com/llvm/llvm-project/commit/da65fe1c16308cdb71b2fd26aaedc0ce52521ab4.diff
L
Author: Igor Kudrin
Date: 2024-12-06T16:13:36-08:00
New Revision: afa2fbf87a8e3fff609fd325c938929c48e94280
URL:
https://github.com/llvm/llvm-project/commit/afa2fbf87a8e3fff609fd325c938929c48e94280
DIFF:
https://github.com/llvm/llvm-project/commit/afa2fbf87a8e3fff609fd325c938929c48e94280.diff
L
https://github.com/igorkudrin closed
https://github.com/llvm/llvm-project/pull/117419
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/igorkudrin created
https://github.com/llvm/llvm-project/pull/147221
This enables producing a "variable is uninitialized" warning when a value is
passed to a pointer-to-const argument:
```
void foo(const int *);
void test() {
int *v;
foo(v);
}
```
Fixes #37460
>From f1e
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/147221
>From f1e26fed6c5023ba59990112ec4a77b024247e4b Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Fri, 4 Jul 2025 23:55:41 -0700
Subject: [PATCH 1/2] [clang] Fix -Wuninitialized for values passed by const
poin
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/147221
>From f1e26fed6c5023ba59990112ec4a77b024247e4b Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Fri, 4 Jul 2025 23:55:41 -0700
Subject: [PATCH 1/3] [clang] Fix -Wuninitialized for values passed by const
poin
@@ -453,7 +450,7 @@ void ClassifyRefs::VisitCallExpr(CallExpr *CE) {
const auto *UO = dyn_cast(Ex);
if (UO && UO->getOpcode() == UO_AddrOf)
Ex = UO->getSubExpr();
- classify(Ex, Ignore);
+ classify(Ex, Use);
igorkudrin wrote:
> Co
@@ -453,7 +450,7 @@ void ClassifyRefs::VisitCallExpr(CallExpr *CE) {
const auto *UO = dyn_cast(Ex);
if (UO && UO->getOpcode() == UO_AddrOf)
Ex = UO->getSubExpr();
- classify(Ex, Ignore);
+ classify(Ex, Use);
igorkudrin wrote:
Than
https://github.com/igorkudrin created
https://github.com/llvm/llvm-project/pull/147897
The second parameter is unused since 6080d32194.
>From 748a7ad92ed59854502ff5c3b28dfb18f8e08c79 Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Wed, 9 Jul 2025 18:49:32 -0700
Subject: [PATCH] [clang][NFC] R
https://github.com/igorkudrin created
https://github.com/llvm/llvm-project/pull/147898
This helps to avoid duplicating warnings in cases like:
```
> cat test.cpp
void bar(int);
void foo(const int &);
void test(bool a) {
int v = v;
if (a)
bar(v);
else
foo(v);
}
> clang++.exe test.cp
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/147221
>From f1e26fed6c5023ba59990112ec4a77b024247e4b Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Fri, 4 Jul 2025 23:55:41 -0700
Subject: [PATCH 1/3] [clang] Fix -Wuninitialized for values passed by const
poin
@@ -453,7 +450,7 @@ void ClassifyRefs::VisitCallExpr(CallExpr *CE) {
const auto *UO = dyn_cast(Ex);
if (UO && UO->getOpcode() == UO_AddrOf)
Ex = UO->getSubExpr();
- classify(Ex, Ignore);
+ classify(Ex, Use);
igorkudrin wrote:
@zyg
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/147898
>From a813a4c665579b3654b287ff64c8180139879a38 Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Wed, 9 Jul 2025 21:19:40 -0700
Subject: [PATCH 1/2] [clang] Combine ConstRefUse with other warnings for
uniniti
@@ -27,7 +27,7 @@ int const_use(const int i);
void f(int a) {
int i;
const_ref_use(i); // expected-warning {{variable 'i' is
uninitialized when passed as a const reference argument here}}
- int j = j + const_ref_use(j); // expected-warning {{variable 'j' is
u
https://github.com/igorkudrin closed
https://github.com/llvm/llvm-project/pull/147898
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/igorkudrin closed
https://github.com/llvm/llvm-project/pull/147897
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/igorkudrin created
https://github.com/llvm/llvm-project/pull/148336
When one kind of diagnostics is disabled, this should not preclude other
diagnostics from displaying, even if they have lower priority. For example,
this should print a warning about passing an uninitialized
https://github.com/igorkudrin created
https://github.com/llvm/llvm-project/pull/148337
This option is similar to -Wuninitialized-const-reference, but diagnoses the
passing of an uninitialized value via a const pointer, like in the following
code:
```
void foo(const int *);
void test() {
int
igorkudrin wrote:
This fixes an additional case reported by @rnapier in #37460
https://github.com/llvm/llvm-project/pull/148337
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/148337
>From 8343c946e874ee27e71781ac1bd10fb680b08fbf Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Fri, 11 Jul 2025 18:23:10 -0700
Subject: [PATCH 1/2] [clang] Add -Wuninitialized-const-pointer
This option is s
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/148337
>From 8343c946e874ee27e71781ac1bd10fb680b08fbf Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Fri, 11 Jul 2025 18:23:10 -0700
Subject: [PATCH 1/2] [clang] Add -Wuninitialized-const-pointer
This option is s
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/148337
>From 8343c946e874ee27e71781ac1bd10fb680b08fbf Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Fri, 11 Jul 2025 18:23:10 -0700
Subject: [PATCH 1/2] [clang] Add -Wuninitialized-const-pointer
This option is s
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/147221
>From f1e26fed6c5023ba59990112ec4a77b024247e4b Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Fri, 4 Jul 2025 23:55:41 -0700
Subject: [PATCH 1/3] [clang] Fix -Wuninitialized for values passed by const
poin
101 - 134 of 134 matches
Mail list logo