https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/123495
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Stylie777 approved this pull request.
LGTM! Thanks
https://github.com/llvm/llvm-project/pull/123028
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Sirraide commented:
The tests are in the wrong directory (you’ve added them to a file in
`test/Preprocessor`, but this is a Sema change so the test should probably be
in `test/Sema`).
Additionally, a test involving typo correction would probably be a good idea:
```c
#define
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/104661
>From 5729891997dacfac91ad807ddfde60aec44708fb Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 17 Jan 2025 11:01:49 -0500
Subject: [PATCH 1/2] [Clang] Remove 3-element vector load and store special
handl
https://github.com/jyn514 updated
https://github.com/llvm/llvm-project/pull/123683
>From 35ca294c28904b1ff60c441ecafe01a9752e67fb Mon Sep 17 00:00:00 2001
From: jyn
Date: Tue, 24 Dec 2024 19:11:24 -0500
Subject: [PATCH] Generate `DW_AT_RUST_short_backtrace` attributes for
`DISubprogram` nodes
https://github.com/RKSimon commented:
LGTM - but we should have a frontend specialist approve
https://github.com/llvm/llvm-project/pull/119423
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Congcong Cai (HerrCai0907)
Changes
1. clean llvm::errs ouput
2. add -Wno-everything option to suppress clang warning during test
---
Full diff: https://github.com/llvm/llvm-project/pull/123758.diff
2 Files Affected:
- (modified) clang/
https://github.com/HerrCai0907 created
https://github.com/llvm/llvm-project/pull/123758
1. clean llvm::errs ouput
2. add -Wno-everything option to suppress clang warning during test
>From e98964cb134d16f26dc2156b28997b0e80a2fb62 Mon Sep 17 00:00:00 2001
From: Congcong Cai
Date: Tue, 21 Jan 20
@@ -216,11 +244,18 @@ int compareit(float a, float b) {
// no-inf-no-nan-warning@+2 {{use of infinity is undefined behavior due to the
currently enabled floating-point options}}
// no-inf-warning@+1 {{use of infinity is undefined behavior due to the
currently enabled floatin
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/104661
>From 5729891997dacfac91ad807ddfde60aec44708fb Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 17 Jan 2025 11:01:49 -0500
Subject: [PATCH 1/3] [Clang] Remove 3-element vector load and store special
handl
Author: Shilei Tian
Date: 2025-01-21T09:18:16-05:00
New Revision: 03744d2aaffee04bc1e4d0668c41556c3c20d406
URL:
https://github.com/llvm/llvm-project/commit/03744d2aaffee04bc1e4d0668c41556c3c20d406
DIFF:
https://github.com/llvm/llvm-project/commit/03744d2aaffee04bc1e4d0668c41556c3c20d406.diff
L
https://github.com/shiltian closed
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
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-x86_64-win-fast` running on `as-builder-3` while building `clang`
at step 6 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/2/builds/15293
Here is the relevant piece
@@ -2203,6 +2203,12 @@ Parser::ParseCXXCondition(StmtResult *InitStmt,
SourceLocation Loc,
return ParseCXXCondition(nullptr, Loc, CK, MissingOK);
}
+EnterExpressionEvaluationContext Eval(
erichkeane wrote:
This doesn't quite seem right to me, a
shiltian wrote:
The compile error was resolved by 59dffce8c80eb9cefc96b8d3fe55473edfee9c4c.
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-com
https://github.com/jyn514 updated
https://github.com/llvm/llvm-project/pull/123683
>From 1d66e6b4ad90c714e669088b8bc1592684640ac8 Mon Sep 17 00:00:00 2001
From: jyn
Date: Tue, 24 Dec 2024 19:11:24 -0500
Subject: [PATCH] Generate `DW_AT_LLVM_short_backtrace` attributes for
`DISubprogram` nodes
@@ -732,8 +732,8 @@ static llvm::Value *EmitCXXNewAllocSize(CodeGenFunction
&CGF,
// Emit the array size expression.
// We multiply the size of all dimensions for NumElements.
// e.g for 'int[2][3]', ElemType is 'int' and NumElements is 6.
- numElements =
-ConstantE
AaronBallman wrote:
> > Yes and no. It's due to the redefinitions, for sure. But that diagnostic is
> > suppressed in system headers: https://godbolt.org/z/Mb7Kh975f, so I think
> > we need to understand why there's a `limits.h` being included as though it
> > were not a system header, because
https://github.com/HerrCai0907 commented:
Could it be a normal check under misc and pass the query in config instead of
create a new pattern?
https://github.com/llvm/llvm-project/pull/123734
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http
@@ -2203,6 +2203,12 @@ Parser::ParseCXXCondition(StmtResult *InitStmt,
SourceLocation Loc,
return ParseCXXCondition(nullptr, Loc, CK, MissingOK);
}
+EnterExpressionEvaluationContext Eval(
erichkeane wrote:
No, more that this applies to the expr
@@ -0,0 +1,45 @@
+// RUN: %clang_cc1 -x c++ -fsyntax-only -Wparentheses -verify %s
+
+// Do not emit the warning for compound-assignments.
+bool f(int x) { return x = 0; } // expected-warning {{suggest parentheses
around assignment used as truth value}} \
+
@@ -0,0 +1,35 @@
+// RUN: %clang_cc1 -x c -fsyntax-only -Wparentheses -verify %s
+
+// NOTE: Don't know if tests allow includes.
+#include
erichkeane wrote:
Include shouldn't be here, you can just define the thing manually if you'd like.
https://github.com/llvm
@@ -20287,7 +20287,11 @@ void Sema::DiagnoseEqualityWithExtraParens(ParenExpr
*ParenE) {
ExprResult Sema::CheckBooleanCondition(SourceLocation Loc, Expr *E,
bool IsConstexpr) {
- DiagnoseAssignmentAsCondition(E);
+ // This warning is a
@@ -2203,6 +2203,12 @@ Parser::ParseCXXCondition(StmtResult *InitStmt,
SourceLocation Loc,
return ParseCXXCondition(nullptr, Loc, CK, MissingOK);
}
+EnterExpressionEvaluationContext Eval(
a-tarasyuk wrote:
Do you mean using the extra context fo
@@ -20287,7 +20287,11 @@ void Sema::DiagnoseEqualityWithExtraParens(ParenExpr
*ParenE) {
ExprResult Sema::CheckBooleanCondition(SourceLocation Loc, Expr *E,
bool IsConstexpr) {
- DiagnoseAssignmentAsCondition(E);
+ // This warning is a
@@ -761,6 +803,17 @@ ExprResult Sema::ImpCastExprToType(Expr *E, QualType Ty,
}
}
+ // FIXME: Doesn't include C89, so this warning isn't emitted when passing
+ // `std=c89`.
+ auto isC = getLangOpts().C99 || getLangOpts().C11 || getLangOpts().C17 ||
e
HerrCai0907 wrote:
> The deduplication here is negligible, but it allows the compiler to
> skip emission of many templated base class destructors. Shrinks
> clang-query by 53k. No functionality change intended.
I test the binary size of clang-query before an after this change, there are no
chan
@@ -325,6 +325,7 @@ C Language Changes
--
- Extend clang's to define ``LONG_LONG_*`` macros for Android's
bionic.
+- Added support for the ``__nullptr`` keyword.
erichkeane wrote:
```suggestion
- Exposed the the ``__nullptr`` keyword as
@@ -8477,6 +8477,9 @@ def err_incomplete_object_call : Error<
def warn_condition_is_assignment : Warning<"using the result of an "
"assignment as a condition without parentheses">,
InGroup;
+def warn_assignment_bool_context : Warning<"suggest parentheses around
assignment
erichkeane wrote:
@ldionne, @philnik777, other contributors: can you confirm that the small
libcxx change in this patch is acceptable?
Thanks!
https://github.com/llvm/llvm-project/pull/121419
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
h
https://github.com/AidanGoldfarb updated
https://github.com/llvm/llvm-project/pull/123119
>From 51372333df218cfb4fa8dcc0cebee03c0e3ebc5f Mon Sep 17 00:00:00 2001
From: Aidan
Date: Wed, 15 Jan 2025 15:24:12 -0500
Subject: [PATCH 1/6] __nullptr -> KEYALL, added relevant test
---
clang/include/c
https://github.com/cor3ntin approved this pull request.
This needs a changelog entry. LGTM otherwise
https://github.com/llvm/llvm-project/pull/89300
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo
https://github.com/nikic approved this pull request.
https://github.com/llvm/llvm-project/pull/123696
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cor3ntin wrote:
This needs a changelog entry
https://github.com/llvm/llvm-project/pull/111561
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cor3ntin wrote:
@sdkrystian feel free to ping reviewers once a week (at most) in the future
otherwise some PRs that should not be forgotten are lost :)
https://github.com/llvm/llvm-project/pull/89300
___
cfe-commits mailing list
cfe-commits@lists.llvm
Author: Kazu Hirata
Date: 2025-01-21T16:24:04+08:00
New Revision: 671088be4e7883f9907d22bb64248996a33f9bae
URL:
https://github.com/llvm/llvm-project/commit/671088be4e7883f9907d22bb64248996a33f9bae
DIFF:
https://github.com/llvm/llvm-project/commit/671088be4e7883f9907d22bb64248996a33f9bae.diff
L
https://github.com/hstk30-hw approved this pull request.
https://github.com/llvm/llvm-project/pull/123696
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hstk30-hw closed
https://github.com/llvm/llvm-project/pull/123696
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/123667
>From 00b8b64879ad3ae35a0a671da563ac876ffaf228 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Mon, 20 Jan 2025 22:51:00 +0200
Subject: [PATCH 1/2] [Clang] use constant evaluation context for constexpr if
c
@@ -0,0 +1,10 @@
+// RUN: %clang_cc1 -std=c++26 -verify %s
a-tarasyuk wrote:
@frederick-vs-ja I've updated the test
https://github.com/llvm/llvm-project/pull/123667
___
cfe-commits mailing list
cfe-commits@lists.llvm.o
https://github.com/a-tarasyuk edited
https://github.com/llvm/llvm-project/pull/123667
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/michael-jabbour-sonarsource updated
https://github.com/llvm/llvm-project/pull/114240
>From cc3cf25da67c9f8b9edabb318c6011cad9bd2f58 Mon Sep 17 00:00:00 2001
From: Michael Jabbour
Date: Tue, 29 Oct 2024 11:16:09 +0100
Subject: [PATCH 1/6] [NFC] Factor out RetireNodesFromMerged
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Malavika Samak (malavikasamak)
Changes
This reverts commit 7dd34baf5505d689161c3a8678322a394d7a2929.
Fixed the assertion violation reported by
7dd34baf5505d689161c3a8678322a394d7a2929
---
Full diff: https://github.com/llvm/llvm-project/p
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
Author: Malavika Samak (malavikasamak)
Changes
This reverts commit 7dd34baf5505d689161c3a8678322a394d7a2929.
Fixed the assertion violation reported by
7dd34baf5505d689161c3a8678322a394d7a2929
---
Full diff: https://github.com/llvm/llvm-
https://github.com/malavikasamak created
https://github.com/llvm/llvm-project/pull/123713
This reverts commit 7dd34baf5505d689161c3a8678322a394d7a2929.
Fixed the assertion violation reported by
7dd34baf5505d689161c3a8678322a394d7a2929
>From b3b7a079e861432554eb3c85a2cc235980f53f65 Mon Sep 17
https://github.com/hokein edited
https://github.com/llvm/llvm-project/pull/123648
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1571,9 +1571,10 @@ void ASTDeclWriter::VisitCXXRecordDecl(CXXRecordDecl *D)
{
} else {
Record.push_back(0);
}
-// For lambdas inside canonical FunctionDecl remember the mapping.
+// For lambdas inside template functions, remember the mapping to
+/
https://github.com/hokein commented:
> before this change RelatedDeclsMap was created only for canonical decl but in
> reality it has to be done for the definition of the function that does not
> always match the canonical decl.
I'm new to the module codebase, and it is not obvious to me. Coul
Author: Fraser Cormack
Date: 2025-01-21T10:09:25Z
New Revision: eaf3e1b0d1ebae590c9be94eafaa10da9e192a37
URL:
https://github.com/llvm/llvm-project/commit/eaf3e1b0d1ebae590c9be94eafaa10da9e192a37
DIFF:
https://github.com/llvm/llvm-project/commit/eaf3e1b0d1ebae590c9be94eafaa10da9e192a37.diff
LOG
https://github.com/frasercrmck closed
https://github.com/llvm/llvm-project/pull/123653
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Oliver Stannard
Date: 2025-01-21T10:12:36Z
New Revision: 84fa1755a5b7845ddaeaa513a3786013c76c9c88
URL:
https://github.com/llvm/llvm-project/commit/84fa1755a5b7845ddaeaa513a3786013c76c9c88
DIFF:
https://github.com/llvm/llvm-project/commit/84fa1755a5b7845ddaeaa513a3786013c76c9c88.diff
LO
https://github.com/ostannard closed
https://github.com/llvm/llvm-project/pull/123336
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
nikic wrote:
> Just double checking, do we have a test for the auto-upgrade?
All the compatibility-*.ll tests test auto-upgrade.
https://github.com/llvm/llvm-project/pull/123181
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llv
Author: David Green
Date: 2025-01-21T09:16:04Z
New Revision: 547bfda56b2e3f3a4c6d2357d3566dcd3fa996ad
URL:
https://github.com/llvm/llvm-project/commit/547bfda56b2e3f3a4c6d2357d3566dcd3fa996ad
DIFF:
https://github.com/llvm/llvm-project/commit/547bfda56b2e3f3a4c6d2357d3566dcd3fa996ad.diff
LOG: [
michael-jabbour-sonarsource wrote:
@vsapsai Thank you very much for the input. :pray:
> Can you trigger the crash without -ast-dump-all?
> Can you use in the test %clang_cc1 instead of %clang?
I addressed both of these in f6f0887d22172c9db4f602b7f272630a97a708bd. I added
a separate invocatio
@@ -14477,6 +14485,268 @@ StmtResult
SemaOpenMP::ActOnOpenMPTileDirective(ArrayRef Clauses,
buildPreInits(Context, PreInits));
}
+StmtResult SemaOpenMP::ActOnOpenMPStripeDirective(ArrayRef
Clauses,
+
https://github.com/zahiraam edited
https://github.com/llvm/llvm-project/pull/119891
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2145,21 +2144,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
https://github.com/arsenm approved this pull request.
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
@@ -2002,20 +2002,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
arsenm wrote:
> Wonder if I should try really hard to update the struct we use for this
> before the branch in 8 days, since if it's default in CUDA now it'd break ABI
> for a release.
Can you implement the new path under a switch?
https://github.com/llvm/llvm-project/pull/123437
___
@@ -14477,6 +14484,279 @@ StmtResult
SemaOpenMP::ActOnOpenMPTileDirective(ArrayRef Clauses,
buildPreInits(Context, PreInits));
}
+StmtResult SemaOpenMP::ActOnOpenMPStripeDirective(ArrayRef
Clauses,
+
https://github.com/DavidTruby approved this pull request.
LGTM, I'm glad we're matching clang's behaviour here. Thanks!
https://github.com/llvm/llvm-project/pull/101701
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-
https://github.com/HerrCai0907 edited
https://github.com/llvm/llvm-project/pull/118593
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
alexfh wrote:
Can we have this behavior guarded by a compiler option?
https://github.com/llvm/llvm-project/pull/122423
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Sirraide
Date: 2025-01-21T14:13:13+01:00
New Revision: 33656932b0e9098354b2e685d6ed70bd0bcb246a
URL:
https://github.com/llvm/llvm-project/commit/33656932b0e9098354b2e685d6ed70bd0bcb246a
DIFF:
https://github.com/llvm/llvm-project/commit/33656932b0e9098354b2e685d6ed70bd0bcb246a.diff
LOG:
https://github.com/Sirraide closed
https://github.com/llvm/llvm-project/pull/123493
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fhahn edited https://github.com/llvm/llvm-project/pull/123181
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fhahn approved this pull request.
LGTM, thanks
https://github.com/llvm/llvm-project/pull/123181
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Sirraide updated
https://github.com/llvm/llvm-project/pull/123493
>From 6475c9dfc20901c03d4120b745fa6076502510f5 Mon Sep 17 00:00:00 2001
From: Sirraide
Date: Sun, 19 Jan 2025 03:35:09 +0100
Subject: [PATCH 1/2] [clang-format] Rename ExportBlockIndentation ->
IndentExportBlo
Author: Sergey Kozub
Date: 2025-01-21T11:00:24+01:00
New Revision: 616979ebd7dc9ae63522788750ea3dc6a96aa69f
URL:
https://github.com/llvm/llvm-project/commit/616979ebd7dc9ae63522788750ea3dc6a96aa69f
DIFF:
https://github.com/llvm/llvm-project/commit/616979ebd7dc9ae63522788750ea3dc6a96aa69f.diff
https://github.com/sergey-kozub closed
https://github.com/llvm/llvm-project/pull/123398
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Sirraide wrote:
Alright, I think everything should be sorted now
https://github.com/llvm/llvm-project/pull/123493
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Fraser Cormack
Date: 2025-01-21T10:05:39Z
New Revision: d96ec48068e03d1058b1c31581f7bc8738e12ee0
URL:
https://github.com/llvm/llvm-project/commit/d96ec48068e03d1058b1c31581f7bc8738e12ee0
DIFF:
https://github.com/llvm/llvm-project/commit/d96ec48068e03d1058b1c31581f7bc8738e12ee0.diff
LOG
https://github.com/frasercrmck closed
https://github.com/llvm/llvm-project/pull/123647
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/StarOne01 updated
https://github.com/llvm/llvm-project/pull/123495
>From 6f2ce4c05c0e03b1c18c694ddea97dac184e2218 Mon Sep 17 00:00:00 2001
From: Prashanth
Date: Sun, 19 Jan 2025 07:28:24 +0530
Subject: [PATCH 1/4] [clang][Sema] Add diagnostic note for function-like
macros re
@@ -203,180 +203,180 @@ __m128i test_mm256_maskz_cvtbiassph_phf8(__mmask16 __U,
__m256i __A, __m256h __B
return _mm256_maskz_cvtbiassph_phf8(__U, __A, __B);
}
-__m128i test_mm_cvtne2ph_pbf8(__m128h __A, __m128h __B) {
- // CHECK-LABEL: @test_mm_cvtne2ph_pbf8(
- // CHECK:
https://github.com/dmpolukhin updated
https://github.com/llvm/llvm-project/pull/123648
>From e5cd06ddbc4193f9d5910eba93f0eb309d67063c Mon Sep 17 00:00:00 2001
From: Dmitry Polukhin
Date: Mon, 20 Jan 2025 09:03:25 -0800
Subject: [PATCH 1/2] [C++20][Modules] Fix crash/compiler error due broken AS
https://github.com/StarOne01 updated
https://github.com/llvm/llvm-project/pull/123495
>From 6f2ce4c05c0e03b1c18c694ddea97dac184e2218 Mon Sep 17 00:00:00 2001
From: Prashanth
Date: Sun, 19 Jan 2025 07:28:24 +0530
Subject: [PATCH 1/5] [clang][Sema] Add diagnostic note for function-like
macros re
https://github.com/kparzysz approved this pull request.
Thanks!
https://github.com/llvm/llvm-project/pull/101701
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2551,18 +2551,7 @@ void Sema::MergeTypedefNameDecl(Scope *S,
TypedefNameDecl *New,
// Make the old tag definition visible.
makeMergedDefinitionVisible(Hidden);
- // If this was an unscoped enumeration, yank all of its enumerators
- // out of the scop
@@ -4034,6 +4034,12 @@ class Sema final : public SemaBase {
void MergeTypedefNameDecl(Scope *S, TypedefNameDecl *New,
LookupResult &OldDecls);
+ /// RetireNodesFromMergedDecl - We have just merged the decl 'New' by making
+ /// another definitio
@@ -2551,18 +2551,7 @@ void Sema::MergeTypedefNameDecl(Scope *S,
TypedefNameDecl *New,
// Make the old tag definition visible.
makeMergedDefinitionVisible(Hidden);
- // If this was an unscoped enumeration, yank all of its enumerators
- // out of the scop
@@ -654,6 +716,83 @@
ExprMutationAnalyzer::Analyzer::findFunctionArgMutation(const Expr *Exp) {
return nullptr;
}
+const Stmt *
+ExprMutationAnalyzer::Analyzer::findPointeeValueMutation(const Expr *Exp) {
+ const auto Matches = match(
+ stmt(forEachDescendant(
+
@@ -654,6 +716,83 @@
ExprMutationAnalyzer::Analyzer::findFunctionArgMutation(const Expr *Exp) {
return nullptr;
}
+const Stmt *
+ExprMutationAnalyzer::Analyzer::findPointeeValueMutation(const Expr *Exp) {
+ const auto Matches = match(
+ stmt(forEachDescendant(
+
@@ -112,6 +115,57 @@ AST_MATCHER_P(Stmt, canResolveToExpr, const Stmt *, Inner)
{
return canExprResolveTo(Exp, Target);
}
+// use class member to store data can reduce stack usage to avoid stack
overflow
+// when recursive call.
+class ExprPointeeResolve {
+ const Expr *T
@@ -112,6 +115,57 @@ AST_MATCHER_P(Stmt, canResolveToExpr, const Stmt *, Inner)
{
return canExprResolveTo(Exp, Target);
}
+// use class member to store data can reduce stack usage to avoid stack
overflow
+// when recursive call.
+class ExprPointeeResolve {
+ const Expr *T
https://github.com/5chmidti edited
https://github.com/llvm/llvm-project/pull/118593
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -654,6 +716,83 @@
ExprMutationAnalyzer::Analyzer::findFunctionArgMutation(const Expr *Exp) {
return nullptr;
}
+const Stmt *
+ExprMutationAnalyzer::Analyzer::findPointeeValueMutation(const Expr *Exp) {
+ const auto Matches = match(
+ stmt(forEachDescendant(
+
@@ -2551,18 +2551,7 @@ void Sema::MergeTypedefNameDecl(Scope *S,
TypedefNameDecl *New,
// Make the old tag definition visible.
makeMergedDefinitionVisible(Hidden);
- // If this was an unscoped enumeration, yank all of its enumerators
- // out of the scop
https://github.com/melver updated
https://github.com/llvm/llvm-project/pull/123063
>From 6727047d25b8b72f8e23b03a84c0b23f6dad566a Mon Sep 17 00:00:00 2001
From: Marco Elver
Date: Wed, 15 Jan 2025 13:23:14 +0100
Subject: [PATCH 1/3] Thread Safety Analysis: Support warning on obtaining
address o
@@ -1571,9 +1571,10 @@ void ASTDeclWriter::VisitCXXRecordDecl(CXXRecordDecl *D)
{
} else {
Record.push_back(0);
}
-// For lambdas inside canonical FunctionDecl remember the mapping.
+// For lambdas inside template functions, remember the mapping to
+/
davemgreen wrote:
Ah - thanks. It is hopefully fixed in 6dc356d6985fc49d1b69c20cc27f6b066742144a?
https://github.com/llvm/llvm-project/pull/120363
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/c
https://github.com/melver edited
https://github.com/llvm/llvm-project/pull/123063
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -231,75 +231,71 @@ _mm512_maskz_cvtnehf8_ph(__mmask32 __U, __m256i __A) {
(__v32qi)__A, (__v32hf)(__m512h)_mm512_setzero_ph(), (__mmask32)__U);
}
-static __inline__ __m256i __DEFAULT_FN_ATTRS512
-_mm512_cvtneph_pbf8(__m512h __A) {
- return (__m256i)__builtin_ia32_vcv
https://github.com/hokein commented:
We have initiated tests to verify this fix within our codebase. It will take
some time to get the results.
https://github.com/llvm/llvm-project/pull/123648
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
ht
https://github.com/hokein edited
https://github.com/llvm/llvm-project/pull/123648
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1571,9 +1571,10 @@ void ASTDeclWriter::VisitCXXRecordDecl(CXXRecordDecl *D)
{
} else {
Record.push_back(0);
}
-// For lambdas inside canonical FunctionDecl remember the mapping.
+// For lambdas inside template functions, remember the mapping to
+/
https://github.com/mydeveloperday approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/123493
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/StarOne01 updated
https://github.com/llvm/llvm-project/pull/123495
>From 6f2ce4c05c0e03b1c18c694ddea97dac184e2218 Mon Sep 17 00:00:00 2001
From: Prashanth
Date: Sun, 19 Jan 2025 07:28:24 +0530
Subject: [PATCH 1/6] [clang][Sema] Add diagnostic note for function-like
macros re
1 - 100 of 454 matches
Mail list logo