llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Matheus Izvekov (mizvekov)
Changes
Class templates might be only instantiated when they are required to be
complete, but checking the template args against the primary template is
immediate.
This result is cached so that later when the c
llvmbot wrote:
@llvm/pr-subscribers-clang-modules
Author: Matheus Izvekov (mizvekov)
Changes
Class templates might be only instantiated when they are required to be
complete, but checking the template args against the primary template is
immediate.
This result is cached so that later wh
vinay-deshmukh wrote:
@steakhal
You can use:
`vinay_deshmukh` AT `outlook` DOT `com`
Thank you for looking into the issue again!
https://github.com/llvm/llvm-project/pull/125348
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/125379
Note that PointerUnion::dyn_cast has been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_cast() with
//isa, cast and the llvm::dyn_cast
This patch migrat
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/125380
Note that PointerUnion::dyn_cast has been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_cast() with
//isa, cast and the llvm::dyn_cast
This patch migrat
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
Note that PointerUnion::dyn_cast has been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_cast() with
//isa, cast and the llvm::dyn_cast
This p
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
Note that PointerUnion::dyn_cast has been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_cast() with
//isa, cast and the llvm::dyn_cast
Litera
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/125381
Note that PointerUnion::dyn_cast has been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_cast() with
//isa, cast and the llvm::dyn_cast
Literal migration
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
Note that PointerUnion::dyn_cast has been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_cast() with
//isa, cast and the llvm::dyn_cast
This p
davemgreen wrote:
/cherry-pick 9f1c825fb62319b94ac9604f733afd59e9eb461b
https://github.com/llvm/llvm-project/pull/124466
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/davemgreen milestoned
https://github.com/llvm/llvm-project/pull/124466
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
/pull-request llvm/llvm-project#125386
https://github.com/llvm/llvm-project/pull/124466
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-02-01T08:13:41-08:00
New Revision: e11e65f08b00a96916ce5ec21bf31d061158829d
URL:
https://github.com/llvm/llvm-project/commit/e11e65f08b00a96916ce5ec21bf31d061158829d
DIFF:
https://github.com/llvm/llvm-project/commit/e11e65f08b00a96916ce5ec21bf31d061158829d.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/125336
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Saleem Abdulrasool
Date: 2025-02-01T14:49:29-08:00
New Revision: b798679c076af4acaa806e893b038372f5954298
URL:
https://github.com/llvm/llvm-project/commit/b798679c076af4acaa806e893b038372f5954298
DIFF:
https://github.com/llvm/llvm-project/commit/b798679c076af4acaa806e893b038372f5954298.
steakhal wrote:
@vinay-deshmukh What email should I use for attribution in the "Co-authored-by"?
https://github.com/llvm/llvm-project/pull/125348
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cf
https://github.com/steakhal edited
https://github.com/llvm/llvm-project/pull/125348
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/steakhal edited
https://github.com/llvm/llvm-project/pull/125348
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/125349
…5325)
Move the BottomFrame to InterpState instead.
>From 1f491bfbf6dd0bf81c7d531920276c5f6ac2c04d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sat, 1 Feb 2025 06:55:55 +0100
Subject: [P
https://github.com/qiongsiwu updated
https://github.com/llvm/llvm-project/pull/124786
>From 7060564de1bb6062639f4b4839fa17958f212755 Mon Sep 17 00:00:00 2001
From: Qiongsi Wu
Date: Mon, 27 Jan 2025 16:44:30 -0800
Subject: [PATCH 1/4] Initial implementation of clang modules current working
dire
Andarwinux wrote:
https://github.com/llvm/llvm-project/pull/125367
RC1 coming soon
https://github.com/llvm/llvm-project/pull/120534
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
owenca wrote:
Same reason we almost never handle them, just like we (almost?) never handle
the possibility of templated qualified names of arbitrary nesting levels (e.g.
`A1::A2 … An`) and of comments before _every_ token. We can always
tweak the code if and when we need to handle these rare c
Author: Kazu Hirata
Date: 2025-02-01T08:13:20-08:00
New Revision: 657dc6d05e8e20d5c3b41161ace7fba5d2cb6e26
URL:
https://github.com/llvm/llvm-project/commit/657dc6d05e8e20d5c3b41161ace7fba5d2cb6e26
DIFF:
https://github.com/llvm/llvm-project/commit/657dc6d05e8e20d5c3b41161ace7fba5d2cb6e26.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/125335
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
kazutakahirata wrote:
> Feel free to batch some of these changes together in a single PR!
Thanks! It's becoming harder to find occurrences where I can migrate
`PU.dyn_cast` to `dyn_cast(PU)` (not to be confused with
`dyn_cast_if_present(PU)`) because I have to convince myself that `PU` is
ne
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
…5325)
Move the BottomFrame to InterpState instead.
---
Full diff: https://github.com/llvm/llvm-project/pull/125349.diff
7 Files Affected:
- (modified) clang/lib/AST/ByteCode/Context.cpp (+1-4)
- (modifi
https://github.com/steakhal created
https://github.com/llvm/llvm-project/pull/125348
This is the second attempt to bring initial support for [[assume()]] in the
Clang Static Analyzer.
The first attempt (#116462) was reverted in
2b9abf0db2d106c7208b4372e662ef5df869e6f1 due to some weird failure
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Balazs Benics (steakhal)
Changes
This is the second attempt to bring initial support for [[assume()]] in the
Clang Static Analyzer.
The first attempt (#116462) was reverted in
2b9abf0db2d106c7208b4372e662ef5df869e6f1 due
steakhal wrote:
@Xazax-hun Please have a thorough review of this one.
https://github.com/llvm/llvm-project/pull/125348
___
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/120896
>From 295df258043ef5a87ae603eedd308b863bad7b59 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Sun, 22 Dec 2024 15:14:30 +0200
Subject: [PATCH 1/3] [Clang] allow restrict qualifier for array types with
poin
https://github.com/Lancern requested changes to this pull request.
Thanks for working on this! Please add a test for your patch. You can take
tests under `clang/test/CodeCompletion` for reference.
https://github.com/llvm/llvm-project/pull/124315
___
c
@@ -2298,6 +2298,13 @@ class FunctionDecl : public DeclaratorDecl,
FunctionDeclBits.IsLateTemplateParsed = ILT;
}
+ bool isInstantiatedFromMemberTemplate() const {
+return FunctionDeclBits.IsInstantiatedFromMemberTemplate;
+ }
+ void setInstantiatedFromMemberTempl
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/125266
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
HazardyKnusperkeks wrote:
> > Seems to also work for top-level types (`::int_64_t constexpr x{123};`
> > works correctly) but breaks for fully qualified types (`::std::int64_t
> > constexpr x{123};` becomes `::constexpr std::int64_t x{123};`)
>
> Yeah, I intentionally didn't want to use a loop
createyourpersonalaccount wrote:
@owenca @mydeveloperday @HazardyKnusperkeks I'll ping now that it's the
weekend, perhaps you have some time to look at this more; in particular now I
got the `--null` option to work for `--staged`, but I'm not sure how you'd like
it to work for other options. I
Author: Timm Baeder
Date: 2025-02-01T18:12:35+01:00
New Revision: 06130ed341ddbf697045731300651fbbcb63f0ff
URL:
https://github.com/llvm/llvm-project/commit/06130ed341ddbf697045731300651fbbcb63f0ff
DIFF:
https://github.com/llvm/llvm-project/commit/06130ed341ddbf697045731300651fbbcb63f0ff.diff
L
https://github.com/HazardyKnusperkeks approved this pull request.
https://github.com/llvm/llvm-project/pull/125326
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/125349
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
hjanuschka wrote:
@5chmidti may i ping you? could you help me out, it feels like its only inches
away from being done. or could we go with the prev. commit as mentioned above?
https://github.com/llvm/llvm-project/pull/120055
___
cfe-commits mailing li
https://github.com/usx95 updated
https://github.com/llvm/llvm-project/pull/124133
>From 22990789b61e9f9d22e88a6b008eb3166fd1cb56 Mon Sep 17 00:00:00 2001
From: Utkarsh Saxena
Date: Thu, 23 Jan 2025 15:47:39 +
Subject: [PATCH 1/3] [experimental] Detect return-stack-addr using CFG
---
.../A
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/124133
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/YutongZhuu created
https://github.com/llvm/llvm-project/pull/125370
This PR addresses https://github.com/llvm/llvm-project/issues/84072.
>From 01497e746ae23ea5033b1c6cd6f9f9718d6dc3d6 Mon Sep 17 00:00:00 2001
From: Yutong Zhu
Date: Sat, 1 Feb 2025 20:09:13 -0500
Subject: [PA
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Yutong Zhu (YutongZhuu)
Changes
This PR addresses https://github.com/llvm/llvm-project/issues/84072.
---
Full diff: https://github.com/llvm/llvm-project/pull/125370.diff
1 Files Affected:
- (modified) clang/lib/Sema/JumpDiagnostics.cpp
@@ -2298,6 +2298,13 @@ class FunctionDecl : public DeclaratorDecl,
FunctionDeclBits.IsLateTemplateParsed = ILT;
}
+ bool isInstantiatedFromMemberTemplate() const {
+return FunctionDeclBits.IsInstantiatedFromMemberTemplate;
+ }
+ void setInstantiatedFromMemberTempl
Author: Owen Pan
Date: 2025-02-01T20:20:43-08:00
New Revision: 6980d9794684908fa1835b87b560d20e5f295a73
URL:
https://github.com/llvm/llvm-project/commit/6980d9794684908fa1835b87b560d20e5f295a73
DIFF:
https://github.com/llvm/llvm-project/commit/6980d9794684908fa1835b87b560d20e5f295a73.diff
LOG:
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/125326
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/125372
Class templates might be only instantiated when they are required to be
complete, but checking the template args against the primary template is
immediate.
This result is cached so that later when the class i
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/125372
>From 9645f14d3b9aa016cb45ca27ad0425adbbc0e1c6 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Fri, 31 Jan 2025 20:41:39 -0300
Subject: [PATCH] [clang] fix P3310 overload resolution flag propagation
Class
https://github.com/compnerd created
https://github.com/llvm/llvm-project/pull/125384
When building on Windows, dealing with the BlocksRuntime is slightly more
complicated. As we are not guaranteed a formward declaration for the blocks
runtime ABI symbols, we may generate the declarations for t
@@ -2298,6 +2298,13 @@ class FunctionDecl : public DeclaratorDecl,
FunctionDeclBits.IsLateTemplateParsed = ILT;
}
+ bool isInstantiatedFromMemberTemplate() const {
+return FunctionDeclBits.IsInstantiatedFromMemberTemplate;
+ }
+ void setInstantiatedFromMemberTempl
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Saleem Abdulrasool (compnerd)
Changes
When building on Windows, dealing with the BlocksRuntime is slightly more
complicated. As we are not guaranteed a formward declaration for the blocks
runtime ABI symbols, we may generate the de
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/125372
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1841,15 +1841,21 @@ class ClassTemplateSpecializationDecl : public
CXXRecordDecl,
LLVM_PREFERRED_TYPE(TemplateSpecializationKind)
unsigned SpecializationKind : 3;
+ /// When matching the primary template, have we matched any packs on the
+ /// parameter side, versus
@@ -1841,15 +1841,21 @@ class ClassTemplateSpecializationDecl : public
CXXRecordDecl,
LLVM_PREFERRED_TYPE(TemplateSpecializationKind)
unsigned SpecializationKind : 3;
+ /// When matching the primary template, have we matched any packs on the
+ /// parameter side, versus
@@ -2525,8 +2525,11 @@ void TextNodeDumper::VisitCXXRecordDecl(const
CXXRecordDecl *D) {
OS << " instantiated_from";
dumpPointer(Instance);
}
- if (const auto *CTSD = dyn_cast(D))
+ if (const auto *CTSD = dyn_cast(D)) {
dumpTemplateSpecializationKind(CTSD->get
https://github.com/cor3ntin commented:
Thanks for fixing that quickly.
LGTM, just a few nits/comments.
(I assume that we will want to cherry-pick that to 20)
https://github.com/llvm/llvm-project/pull/125372
___
cfe-commits mailing list
cfe-commits@li
https://github.com/steakhal approved this pull request.
https://github.com/llvm/llvm-project/pull/125339
___
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-static-analyzer-1
Author: Ben Shi (benshi001)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/125339.diff
1 Files Affected:
- (modified) clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
(+2-2)
``di
https://github.com/nikic approved this pull request.
https://github.com/llvm/llvm-project/pull/125335
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/nikic approved this pull request.
https://github.com/llvm/llvm-project/pull/125336
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/benshi001 created
https://github.com/llvm/llvm-project/pull/125339
None
>From 1cfa014550c0a1c2a8bb22587afdc8b211481f95 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Sat, 1 Feb 2025 16:16:29 +0800
Subject: [PATCH] [clang][StaticAnalyzer][NFC] Fix a typo in comments
---
.../c
Author: yronglin
Date: 2025-02-01T16:58:05+08:00
New Revision: 44aa618ef67d302f5ab77cc591fb3434fe967a2e
URL:
https://github.com/llvm/llvm-project/commit/44aa618ef67d302f5ab77cc591fb3434fe967a2e
DIFF:
https://github.com/llvm/llvm-project/commit/44aa618ef67d302f5ab77cc591fb3434fe967a2e.diff
LOG:
https://github.com/yronglin closed
https://github.com/llvm/llvm-project/pull/117437
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin approved this pull request.
Feel free to batch some of these changes together in a single PR!
https://github.com/llvm/llvm-project/pull/125335
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cg
Author: Ben Shi
Date: 2025-02-01T09:21:47+01:00
New Revision: bfa7edcc6652bdb37d53e0cec64926aab3f280eb
URL:
https://github.com/llvm/llvm-project/commit/bfa7edcc6652bdb37d53e0cec64926aab3f280eb
DIFF:
https://github.com/llvm/llvm-project/commit/bfa7edcc6652bdb37d53e0cec64926aab3f280eb.diff
LOG:
https://github.com/steakhal closed
https://github.com/llvm/llvm-project/pull/125339
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Haojian Wu
Date: 2025-02-01T10:07:40+01:00
New Revision: 7612dcc6e8d8e7f19b364084effbb01946294720
URL:
https://github.com/llvm/llvm-project/commit/7612dcc6e8d8e7f19b364084effbb01946294720
DIFF:
https://github.com/llvm/llvm-project/commit/7612dcc6e8d8e7f19b364084effbb01946294720.diff
LO
https://github.com/dtcxzyw updated
https://github.com/llvm/llvm-project/pull/121958
>From c67349c8d79333d574a753d7afb10489cafb008d Mon Sep 17 00:00:00 2001
From: Yingwei Zheng
Date: Tue, 7 Jan 2025 23:48:53 +0800
Subject: [PATCH 1/4] [InstCombine] Add pre-commit tests. NFC.
---
llvm/test/Tran
nikic wrote:
> so IIUC !llvm.errno.tbaa should just be a module-level list of int-compatible
> TBAA nodes.
Yes, exactly. It should be a module level MD node, not on individual
instructions.
https://github.com/llvm/llvm-project/pull/125258
___
cfe-co
https://github.com/klensy updated
https://github.com/llvm/llvm-project/pull/92231
>From 6f904e5a6ea450f651fa6a1a6d8a57d63a7c07cb Mon Sep 17 00:00:00 2001
From: klensy
Date: Wed, 15 May 2024 12:14:56 +0300
Subject: [PATCH] [ExtractAPI,test] fix filecheck annotation
---
clang/test/ExtractAPI/av
https://github.com/Patryk27 approved this pull request.
https://github.com/llvm/llvm-project/pull/125328
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
klensy wrote:
Reviewed and ready to merge, please, commit someone.
https://github.com/llvm/llvm-project/pull/92231
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
73 matches
Mail list logo