Sirraide wrote:
CI is just going to fail again because of the aforementioned problem, so I’m
just going to merge this now and hope I won’t have to revert it later.
https://github.com/llvm/llvm-project/pull/84981
___
cfe-commits mailing list
cfe-commit
Author: Sirraide
Date: 2024-03-13T14:59:55+01:00
New Revision: 2cf2bc472da87bb4bf971b1448e05b9e3bd983dc
URL:
https://github.com/llvm/llvm-project/commit/2cf2bc472da87bb4bf971b1448e05b9e3bd983dc
DIFF:
https://github.com/llvm/llvm-project/commit/2cf2bc472da87bb4bf971b1448e05b9e3bd983dc.diff
LOG:
https://github.com/Sirraide closed
https://github.com/llvm/llvm-project/pull/84981
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -10778,6 +10778,101 @@ def warn_imp_cast_drops_unaligned : Warning<
"implicit cast from type %0 to type %1 drops __unaligned qualifier">,
InGroup>;
+def warn_func_effect_allocates : Warning<
+ "'%0' function '%1' must not allocate or deallocate memory">,
+ InGroup;
+
https://github.com/Sirraide approved this pull request.
LGTM.
Really weird that we somehow both have documentation for it, but also didn’t
link to it... if it was meant to be undocumented, we shouldn’t have had any
documentation for it just lying around unused either.
https://github.com/llvm
Author: Zepp
Date: 2024-03-13T15:25:29+01:00
New Revision: e77324decf74e8203fdee53e53c1866319ebf47c
URL:
https://github.com/llvm/llvm-project/commit/e77324decf74e8203fdee53e53c1866319ebf47c
DIFF:
https://github.com/llvm/llvm-project/commit/e77324decf74e8203fdee53e53c1866319ebf47c.diff
LOG: [Cl
https://github.com/Sirraide closed
https://github.com/llvm/llvm-project/pull/85022
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/nikic ready_for_review
https://github.com/llvm/llvm-project/pull/84341
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
@ZeppLu Congratulations on having your first Pull Request (PR) merged into the
LLVM Project!
Your changes will be combined with recent changes from other authors, then
tested
by our [build bots](https://lab.llvm.org/buildbot/). If there is a problem with
a build,
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Nikita Popov (nikic)
Changes
As part of the [migration to
ptradd](https://discourse.llvm.org/t/rfc-replacing-getelementptr-with-ptradd/68699),
we need to change the representation of the `inrange` attribute, which is used
for vta
llvmbot wrote:
@llvm/pr-subscribers-llvm-analysis
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-lld-elf
Author: Nikita Popov (nikic)
Changes
As part of the [migration to
ptradd](https://discourse.llvm.org/t/rfc-replacing-getelementptr-with-ptradd/68699),
we need to change the represent
llvmbot wrote:
@llvm/pr-subscribers-lld-macho
Author: Nikita Popov (nikic)
Changes
As part of the [migration to
ptradd](https://discourse.llvm.org/t/rfc-replacing-getelementptr-with-ptradd/68699),
we need to change the representation of the `inrange` attribute, which is used
for vtable
Author: Zaara Syeda
Date: 2024-03-13T10:26:31-04:00
New Revision: 37b5eb0a0a75bdf69b96b902417906da31c88dc3
URL:
https://github.com/llvm/llvm-project/commit/37b5eb0a0a75bdf69b96b902417906da31c88dc3
DIFF:
https://github.com/llvm/llvm-project/commit/37b5eb0a0a75bdf69b96b902417906da31c88dc3.diff
L
https://github.com/syzaara closed
https://github.com/llvm/llvm-project/pull/67999
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4912,3 +4922,279 @@ void AutoType::Profile(llvm::FoldingSetNodeID &ID,
const ASTContext &Context) {
Profile(ID, Context, getDeducedType(), getKeyword(), isDependentType(),
getTypeConstraintConcept(), getTypeConstraintArguments());
}
+
+FunctionEffect::~Function
https://github.com/diggerlin edited
https://github.com/llvm/llvm-project/pull/77732
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/diggerlin edited
https://github.com/llvm/llvm-project/pull/77732
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/al45tair created
https://github.com/llvm/llvm-project/pull/85089
musl doesn't supply crtbegin/crtend objects, so we don't want to try to link
them there.
rdar://123436174
>From 8bdd6627e21eaddedfff208eebaa46f1eeb81674 Mon Sep 17 00:00:00 2001
From: Alastair Houghton
Date:
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Alastair Houghton (al45tair)
Changes
musl doesn't supply crtbegin/crtend objects, so we don't want to try to link
them there.
rdar://123436174
---
Full diff: https://github.com/llvm/llvm-project/pull/85089.diff
1 Files Affected:
- (mo
@@ -8927,8 +8927,13 @@ void Sema::CheckVariableDeclarationType(VarDecl *NewVD) {
}
}
- if (T->isRVVSizelessBuiltinType())
-checkRVVTypeSupport(T, NewVD->getLocation(), cast(CurContext));
+ if (T->isRVVSizelessBuiltinType() && isa(CurContext)) {
+const FunctionD
https://github.com/4vtomat edited
https://github.com/llvm/llvm-project/pull/83674
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
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 960b4aa6dab69125778f230c4c94f2d19c96cc87
8bdd6627e21eaddedfff208eebaa46f1eeb81674 --
@@ -8927,8 +8927,13 @@ void Sema::CheckVariableDeclarationType(VarDecl *NewVD) {
}
}
- if (T->isRVVSizelessBuiltinType())
-checkRVVTypeSupport(T, NewVD->getLocation(), cast(CurContext));
+ if (T->isRVVSizelessBuiltinType() && isa(CurContext)) {
+const FunctionD
@@ -3173,41 +3174,46 @@ class ArrayType : public Type, public
llvm::FoldingSetNode {
return T->getTypeClass() == ConstantArray ||
T->getTypeClass() == VariableArray ||
T->getTypeClass() == IncompleteArray ||
- T->getTypeClass() == DependentS
https://github.com/nemanjai created
https://github.com/llvm/llvm-project/pull/85091
To facilitate proper range checking and better error messages if an attempt is
made to call these with non-litaral arguments, we provide builtins to emit the
read/write CSR instructions.
>From 543086dd6a208527
https://github.com/al45tair created
https://github.com/llvm/llvm-project/pull/85092
Clang was putting its built-in headers at the end of the search path if running
on musl; this was a mistake, because it breaks libc++, as the latter tries to
include the built-in header and then the `#include_n
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
@llvm/pr-subscribers-clang
Author: Nemanja Ivanovic (nemanjai)
Changes
To facilitate proper range checking and better error messages if an attempt is
made to call these with non-litaral arguments, we provide builtins to emit the
read/writ
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Alastair Houghton (al45tair)
Changes
Clang was putting its built-in headers at the end of the search path if running
on musl; this was a mistake, because it breaks libc++, as the latter tries to
include the built-in header and then the `#
nemanjai wrote:
Individual implementations will provide different sets of CSR's and need a way
to read/write them. Of course, this can be done with inline asm, but doing such
things with inline asm has its limitations (no error checking, if a user
attempts to wrap the asm in a function, they w
@@ -0,0 +1,84 @@
+// RUN: %clang_cc1 -fsyntax-only -fblocks -verify %s
dougsonos wrote:
Hm, the standard diagnostic for diagnosing incompatible attributes produces an
error, and the last-pass constraint analysis is skipped when there are errors.
I'm going to ke
https://github.com/al45tair created
https://github.com/llvm/llvm-project/pull/85097
We can't use `dladdr()` in the tests, because when we're statically linking
with musl that function is a no-op.
Additionally, because musl disables emission of unwind information in its
build, and because its
al45tair wrote:
This is a cherry pick of https://github.com/apple/llvm-project/pull/8260.
https://github.com/llvm/llvm-project/pull/85097
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit
llvmbot wrote:
@llvm/pr-subscribers-libunwind
Author: Alastair Houghton (al45tair)
Changes
We can't use `dladdr()` in the tests, because when we're statically linking
with musl that function is a no-op.
Additionally, because musl disables emission of unwind information in its
build, and
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 960b4aa6dab69125778f230c4c94f2d19c96cc87
6808d20b198bba4f2e062094b89cfc13eac49f85 --
https://github.com/cor3ntin commented:
LGTM but I'll let @AaronBallman approve as I'm in a flight with bad internet
today.
https://github.com/llvm/llvm-project/pull/81102
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/c
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/81102
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -293,6 +293,9 @@ Bug Fixes to C++ Support
of templates. Previously we were diagnosing on any non-function template
instead of only on class, alias, and variable templates, as last updated by
CWG2032. Fixes (#GH#83461)
+- Fixed a bug and crashes in constant evaluation w
401 - 437 of 437 matches
Mail list logo