https://github.com/yingcong-wu updated
https://github.com/llvm/llvm-project/pull/156383
>From b69df27e57cc0b0673960bc6802693df9fcc1e03 Mon Sep 17 00:00:00 2001
From: "Wu, Yingcong"
Date: Tue, 2 Sep 2025 09:42:07 +0800
Subject: [PATCH 1/4] switch to llvm-objdump
---
libunwind/test/eh_frame_fde
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-aarch64-linux-bootstrap-msan` running on `sanitizer-buildbot10`
while building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/94/builds/10425
Here is the rele
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kito Cheng (kito-cheng)
Changes
For each intrinsic with ManualCodegen block will generate something like below:
```cpp
SegInstSEW = 0;
...
if (SegInstSEW == (unsigned)-1) {
auto PointeeType =
E->getArg(4294967295)->getType()->ge
MythreyaK wrote:
Glad to help, Thank you for the review!
https://github.com/llvm/llvm-project/pull/155561
___
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
`sanitizer-aarch64-linux-bootstrap-hwasan` running on `sanitizer-buildbot11`
while building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/55/builds/16532
Here is the re
https://github.com/yingcong-wu edited
https://github.com/llvm/llvm-project/pull/156383
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
HighCommander4 wrote:
Thanks @MythreyaK for the fix!
https://github.com/llvm/llvm-project/pull/155561
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tcottin created
https://github.com/llvm/llvm-project/pull/156365
PR for some followup issues from clangd/clangd#529.
`\note` and `\warning`:
In the hover card, they are now displayed with heading and enclosing rulers.
`\retval` commands:
Each `\retval` command is now a bulle
@@ -4020,11 +4033,17 @@ bool Lexer::LexTokenInternal(Token &Result, bool
TokAtPhysicalStartOfLine) {
case 'h': case 'i': case 'j': case 'k': case 'l': case 'm': case 'n':
case 'o': case 'p': case 'q': case 'r': case 's': case 't':/*'u'*/
case 'v': case 'w': case 'x':
https://github.com/efriedma-quic updated
https://github.com/llvm/llvm-project/pull/151053
>From 43e441c0559294f0e4d85cf67bea480140b2e9d1 Mon Sep 17 00:00:00 2001
From: Eli Friedman
Date: Mon, 28 Jul 2025 15:47:33 -0700
Subject: [PATCH 1/2] [clang] Followup for constexpr-unknown potential consta
https://github.com/kito-cheng created
https://github.com/llvm/llvm-project/pull/156397
For each intrinsic with ManualCodegen block will generate something like below:
```cpp
SegInstSEW = 0;
...
if (SegInstSEW == (unsigned)-1) {
auto PointeeType = E->getArg(4294967295)->getType()->getP
https://github.com/arjunr2 updated
https://github.com/llvm/llvm-project/pull/156087
>From cb996a12aa20c65980f620381731fad1622e0417 Mon Sep 17 00:00:00 2001
From: Arjun Ramesh
Date: Sat, 30 Aug 2025 01:01:02 -0400
Subject: [PATCH 1/2] Support for `wasm32-wali-linux-musl target` in `clang`,
`lld
Author: Victor Chernyakin
Date: 2025-08-31T16:38:22-07:00
New Revision: a49030e493b76bc2b294d36709c7ed84aef557f4
URL:
https://github.com/llvm/llvm-project/commit/a49030e493b76bc2b294d36709c7ed84aef557f4
DIFF:
https://github.com/llvm/llvm-project/commit/a49030e493b76bc2b294d36709c7ed84aef557f4.d
wangpc-pp wrote:
> It would be nice to see an actual encodings spec PDF to be able to verify
> that the opcode encoding in this PR is actually correct.
Thanks @arichardson ! We will release an v0.1 PDF in
https://github.com/riscv/zibi this week and then update this PR. :-)
https://github.com/
https://github.com/wangpc-pp approved this pull request.
https://github.com/llvm/llvm-project/pull/156397
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -113,93 +113,93 @@ _mm512_set1_pch(_Float16 _Complex __h) {
return (__m512h)_mm512_set1_ps(__builtin_bit_cast(float, __h));
}
-static __inline__ __m128 __DEFAULT_FN_ATTRS128 _mm_castph_ps(__m128h __a) {
+static __inline__ __m128 __DEFAULT_FN_ATTRS128_CONSTEXPR _mm_castph_
https://github.com/ckoparkar edited
https://github.com/llvm/llvm-project/pull/156381
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,34 @@
+# RUN: not llvm-mc -triple=riscv32 --mattr=+experimental-zibi %s 2>&1 \
+# RUN:| FileCheck %s --check-prefix=CHECK-ERROR
+# RUN: not llvm-mc -triple=riscv64 --mattr=+experimental-zibi %s 2>&1 \
+# RUN:| FileCheck %s --check-prefix=CHECK-ERROR
+beq
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
Author: Kito Cheng (kito-cheng)
Changes
For each intrinsic with ManualCodegen block will generate something like below:
```cpp
SegInstSEW = 0;
...
if (SegInstSEW == (unsigned)-1) {
auto PointeeType =
E->getArg(4294967295)->getT
https://github.com/Andres-Salamanca approved this pull request.
https://github.com/llvm/llvm-project/pull/156124
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Andres-Salamanca approved this pull request.
https://github.com/llvm/llvm-project/pull/155721
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -226,6 +289,109 @@ cir::GlobalLinkageKind
CIRGenModule::getVTableLinkage(const CXXRecordDecl *rd) {
return cir::GlobalLinkageKind::ExternalLinkage;
}
+cir::GlobalOp CIRGenVTables::getAddrOfVTT(const CXXRecordDecl *rd) {
+ assert(rd->getNumVBases() && "Only classes with
@@ -469,18 +473,23 @@ UseTrailingReturnTypeCheck::UseTrailingReturnTypeCheck(
void UseTrailingReturnTypeCheck::storeOptions(
ClangTidyOptions::OptionMap &Opts) {
+ Options.store(Opts, "WarnOnNonTrailingVoid", WarnOnNonTrailingVoid);
Options.store(Opts, "TransformFuncti
@@ -65,7 +65,7 @@ class PragmaAnnotateHandler : public PragmaHandler {
Token Tok;
PP.LexUnexpandedToken(Tok);
if (Tok.isNot(tok::eod))
- PP.Diag(Tok, diag::ext_pp_extra_tokens_at_eol) << "pragma";
+ PP.Diag(Tok, diag::ext_pp_extra_tokens_at_eol) << "#pragm
https://github.com/DaveBrantonCTCT updated
https://github.com/llvm/llvm-project/pull/155200
>From 19b4ddf6a856fdbebac19d1779c6ee83f2d682b0 Mon Sep 17 00:00:00 2001
From: Dave Branton
Date: Tue, 2 Sep 2025 08:59:08 +1200
Subject: [PATCH 1/6] Correct replacement code when signed stdint types are
https://github.com/wangpc-pp approved this pull request.
LGTM. We will hold this PR for one more day to see if there are more comments.
https://github.com/llvm/llvm-project/pull/127463
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lis
@@ -0,0 +1,15 @@
+// This test checks that under implicit modules, different optimization levels
ChuanqiXu9 wrote:
I feel this was caused by a typo. @jansvoboda11 can you fix this?
https://github.com/llvm/llvm-project/pull/146422
https://github.com/yingcong-wu edited
https://github.com/llvm/llvm-project/pull/156383
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/DaveBrantonCTCT updated
https://github.com/llvm/llvm-project/pull/155200
>From 19b4ddf6a856fdbebac19d1779c6ee83f2d682b0 Mon Sep 17 00:00:00 2001
From: Dave Branton
Date: Tue, 2 Sep 2025 08:59:08 +1200
Subject: [PATCH 1/5] Correct replacement code when signed stdint types are
@@ -213,6 +213,11 @@ Changes in existing checks
when the format string is converted to a different type by an implicit
constructor call.
+- Improved :doc:`modernize-use-std-format
EugeneZelenko wrote:
Sorry, I missed existing `modernize-use-std-format` e
https://github.com/yingcong-wu edited
https://github.com/llvm/llvm-project/pull/156383
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -249,6 +249,10 @@ Changes in existing checks
` check to recognize
literal suffixes added in C++23 and C23.
+- Improved :doc:`modernize-use-std-format
EugeneZelenko wrote:
Please keep alphabetcial order (by check name) in this list.
https://github.com
@@ -249,6 +249,10 @@ Changes in existing checks
` check to recognize
literal suffixes added in C++23 and C23.
+- Improved :doc:`modernize-use-std-format
+ ` now correctly replaces signed
types, and correctly
EugeneZelenko wrote:
Please follow 80 chara
https://github.com/qiongsiwu updated
https://github.com/llvm/llvm-project/pull/156377
>From 0cb749e2ec11cf51d2c97e935727e55aeaf65097 Mon Sep 17 00:00:00 2001
From: Qiongsi Wu
Date: Mon, 1 Sep 2025 16:09:21 -0700
Subject: [PATCH] Permit link decls in submodule declarations.
---
clang/include/c
llvmbot wrote:
@llvm/pr-subscribers-libunwind
Author: Wu Yingcong (yingcong-wu)
Changes
In https://github.com/llvm/llvm-project/pull/154902, the test failed with
llvm-clang-win-x-aarch64(it pretends to be a Linux build?), and objdump is not
available there.
Change the test to use llvm-o
yingcong-wu wrote:
But I have added `// REQUIRES: linux` to the test already, why is it still
running on win-x-aarch64 ? Do you have any ideas? @philnik777
https://github.com/llvm/llvm-project/pull/154902
___
cfe-commits mailing list
cfe-commits@list
@@ -150,6 +150,9 @@ Changes to the Debug Info
Changes to the LLVM tools
-
+* modernize-use-std-format now correctly replaces signed types, and correctly
DaveBrantonCTCT wrote:
Thank you, have put this in the right place.
http
yingcong-wu wrote:
> @yingcong-wu The new test fails on the Arm bots. Please fix it soon or revert
> to get the precommit CI green again (finally).
Sure, I will take a quick look now.
https://github.com/llvm/llvm-project/pull/154902
___
cfe-commits m
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ppc64le-rhel`
running on `ppc64le-clang-rhel-test` while building `clang-tools-extra` at step
5 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/145/builds/9503
Here is the
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina ,
=?utf-8?q?Tom=C3=A1=C5=A1?= Slanina
Message-ID:
In-Reply-To:
owenca
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
https://github.com/vedantjk updated
https://github.com/llvm/llvm-project/pull/156381
>From 9833270e2861fe77e7e8e862d81bacbd39983895 Mon Sep 17 00:00:00 2001
From: vedantjk
Date: Mon, 1 Sep 2025 18:02:01 -0700
Subject: [PATCH] [clang] Make vector cast intrinsics constexpr
---
clang/lib/Headers
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
https://github.com/vedantjk created
https://github.com/llvm/llvm-project/pull/156380
Enable constexpr usage of vector bitcast intrinsics by changing from
`__DEFAULT_FN_ATTRS*` to
`__DEFAULT_FN_ATTRS*_CONSTEXPR` attributes.
**Updated intrinsics:**
- AVX-512 bitcast intrinsics: `_mm512_cas
https://github.com/zyn0217 commented:
I think we need a release note, maybe 'Potential AST breaking changes' would be
a good fit.
https://github.com/llvm/llvm-project/pull/156329
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.ll
https://github.com/qiongsiwu created
https://github.com/llvm/llvm-project/pull/156377
https://github.com/llvm/llvm-project/pull/148959 added two checks that
restricts the uses of link declarations. It is later discovered that the Swift
project uses link declarations in submodules extensively o
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/156378
_CLC_DEF_WEAK can be used in our downstream libclc to allow overriding generic
__clc_tgamma implementation.
>From cc51cd1e096794162a5f3c7be9aa160d83ba2547 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Tue, 2
jj-marr wrote:
@SunBlack I'm still in favour of the check but I didn't see myself working on
it until C++26 as it won't be usable for many people.
I would prefer Option 2 if I was still working on this. In the example you
gave, the initializer list should be in a constexpr std::array to avoid
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Qiongsi Wu (qiongsiwu)
Changes
https://github.com/llvm/llvm-project/pull/148959 added two checks that
restricts the uses of link declarations. It is later discovered that the Swift
project uses link declarations in submodules extensively
https://github.com/eulerkochy created
https://github.com/llvm/llvm-project/pull/156369
None
>From e3795502f1acf7ec5c3980ed9fdb502bbf9403ba Mon Sep 17 00:00:00 2001
From: Koustav Chowdhury
Date: Tue, 2 Sep 2025 01:11:34 +0530
Subject: [PATCH] feat: constexpr SSE multiplication intrinsics
---
haoNoQ wrote:
> > At the moment of the previous PR, there was a concern about configurability
> > of check
>
> I think I was about adding an option to configure list of optional classes.
> Probably `OptionalClasses` or similar. I haven't seen issues about it, so it
> may not be a high priorit
https://github.com/DaveBrantonCTCT updated
https://github.com/llvm/llvm-project/pull/155200
>From 19b4ddf6a856fdbebac19d1779c6ee83f2d682b0 Mon Sep 17 00:00:00 2001
From: Dave Branton
Date: Tue, 2 Sep 2025 08:59:08 +1200
Subject: [PATCH 1/3] Correct replacement code when signed stdint types are
https://github.com/vidur2 closed
https://github.com/llvm/llvm-project/pull/155131
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
aganea wrote:
Ping.
This still occurs on Windows as of today on main, `clang-cl -print-runtime-dir`
doesn't print the right folder path.
On disk we have: `C:\Program Files\LLVM\lib\clang\22\lib\windows`,
whereas `-print-runtime-path` prints the full target as on the other platforms:
`C:\Progra
@@ -150,6 +150,9 @@ Changes to the Debug Info
Changes to the LLVM tools
-
+* modernize-use-std-format now correctly replaces signed types, and correctly
EugeneZelenko wrote:
Such entry should be in `clang-tools-extra/docs/Rele
https://github.com/DaveBrantonCTCT updated
https://github.com/llvm/llvm-project/pull/155200
>From 19b4ddf6a856fdbebac19d1779c6ee83f2d682b0 Mon Sep 17 00:00:00 2001
From: Dave Branton
Date: Tue, 2 Sep 2025 08:59:08 +1200
Subject: [PATCH] Correct replacement code when signed stdint types are used
https://github.com/philnik777 updated
https://github.com/llvm/llvm-project/pull/155612
>From e2125e4c9a9d8f3b45ba28af3a54cf13626a910f Mon Sep 17 00:00:00 2001
From: Nikolas Klauser
Date: Wed, 27 Aug 2025 14:28:22 +0200
Subject: [PATCH] [Clang] Introduce __builtin_meow_synthesises_from_spaceship
@@ -3632,6 +3632,36 @@ static unsigned maxNestingDepth(const AnnotatedLine
&Line) {
return Result;
}
+// Returns the token after the first qualifier of the name, or nullptr if there
+// is no qualifier.
+static FormatToken *skipNameQualifier(const FormatToken *Tok) {
+ //
https://github.com/BaLiKfromUA updated
https://github.com/llvm/llvm-project/pull/144313
>From b2e5ee18bf7f03bbf5f99ef124ef707dc3116886 Mon Sep 17 00:00:00 2001
From: Valentyn Yukhymenko
Date: Mon, 16 Jun 2025 08:55:06 +0100
Subject: [PATCH 1/4] first iteration of fix
---
.../bde/types/bdlb_nu
HighCommander4 wrote:
Changes to `clang-tools-extra/clangd` LGTM.
https://github.com/llvm/llvm-project/pull/156270
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3669,12 +3718,11 @@ static FormatToken *getFunctionName(const AnnotatedLine
&Line,
}
// Skip to the unqualified part of the name.
-while (Tok->startsSequence(tok::identifier, tok::coloncolon)) {
- assert(Tok->Next);
- Tok = Tok->Next->Next;
- if
@@ -3669,12 +3718,11 @@ static FormatToken *getFunctionName(const AnnotatedLine
&Line,
}
// Skip to the unqualified part of the name.
-while (Tok->startsSequence(tok::identifier, tok::coloncolon)) {
- assert(Tok->Next);
- Tok = Tok->Next->Next;
- if
Author: Marco Elver
Date: 2025-09-01T21:50:13+02:00
New Revision: 5176fb8b1369f9738731ea3452828b29227e1e06
URL:
https://github.com/llvm/llvm-project/commit/5176fb8b1369f9738731ea3452828b29227e1e06
DIFF:
https://github.com/llvm/llvm-project/commit/5176fb8b1369f9738731ea3452828b29227e1e06.diff
L
https://github.com/melver closed
https://github.com/llvm/llvm-project/pull/155687
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/philnik777 closed
https://github.com/llvm/llvm-project/pull/155612
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1119,43 +1115,158 @@ bool Preprocessor::LexHeaderName(Token &FilenameTok,
bool AllowMacroExpansion) {
return false;
}
+// We represent the primary and partition names as 'Paths' which are sections
+// of the hierarchical access path for a clang module. However for C++2
https://github.com/eulerkochy converted_to_draft
https://github.com/llvm/llvm-project/pull/156369
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/eulerkochy edited
https://github.com/llvm/llvm-project/pull/156369
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
yronglin wrote:
> Some nits but I think it looks good overall @erichkeane @Bigcheese
Thanks for your review!
https://github.com/llvm/llvm-project/pull/107168
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailma
@@ -3632,6 +3632,36 @@ static unsigned maxNestingDepth(const AnnotatedLine
&Line) {
return Result;
}
+// Returns the token after the first qualifier of the name, or nullptr if there
+// is no qualifier.
+static FormatToken *skipNameQualifier(const FormatToken *Tok) {
+ //
@@ -3632,6 +3632,36 @@ static unsigned maxNestingDepth(const AnnotatedLine
&Line) {
return Result;
}
+// Returns the token after the first qualifier of the name, or nullptr if there
+// is no qualifier.
+static FormatToken *skipNameQualifier(const FormatToken *Tok) {
+ //
https://github.com/NagyDonat approved this pull request.
I support the removal of this checker, because it implements a heuristic that
finds and reports a very specific bug which is (as far as I see) not a
"natural" mistake that would appear during real-world development.
https://github.com/ll
https://github.com/naveen-seth updated
https://github.com/llvm/llvm-project/pull/156248
>From 9760106dbd916861d396b90cc30262a13a01c9c2 Mon Sep 17 00:00:00 2001
From: Naveen Seth Hanig
Date: Mon, 25 Aug 2025 02:36:42 +0200
Subject: [PATCH 1/4] [clang][modules-driver] Move logic to enable
-fmodu
NagyDonat wrote:
> So is it best to close this PR?
Yes, I think this PR should be closed (because although it is a good approach
for fixing the bug, we have that other commit which is further along the same
path).
https://github.com/llvm/llvm-project/pull/155131
__
carlosgalvezp wrote:
> we shouldn't discourage people from improving the codebase
These are orthogonal issues. People are always welcome to improve the codebase,
but small PRs are essential for a healthy codebase. And it will actually be
**less* work for the author, because the patches will be
https://github.com/RKSimon closed
https://github.com/llvm/llvm-project/pull/156327
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
SunBlack wrote:
I came across it because of #156058. I think the conversion can already be
useful now, but restrictions could be imposed.
> `std::span` has a capability gap with a const reference to a `std::vector`
> until C++26 as `std::span` cannot be constructed from an initializer list.
>
@@ -39,6 +39,55 @@ AST_MATCHER(clang::ParmVarDecl, isArgvOfMain) {
return FD ? FD->isMain() : false;
}
+template
+const TargetType *getAs(const NodeType *Node) {
+ if constexpr (std::is_same_v)
+return Node->template get();
+ else
+return llvm::dyn_cast(Node);
+}
@@ -2485,11 +2536,12 @@ class Preprocessor {
}
/// If we're importing a standard C++20 Named Modules.
- bool isInImportingCXXNamedModules() const {
-// NamedModuleImportPath will be non-empty only if we're importing
-// Standard C++ named modules.
-return !Nam
@@ -14,7 +14,9 @@
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/ASTMutationListener.h"
#include "clang/AST/DynamicRecursiveASTVisitor.h"
+#include "clang/Basic/SourceLocation.h"
#include "clang/Lex/HeaderSearch.h"
+#include "clang/Lex/ModuleLoader.h"
@@ -1178,186 +1289,39 @@ bool Preprocessor::LexAfterModuleImport(Token &Result)
{
// Figure out what kind of lexer we actually have.
recomputeCurLexerKind();
- // Lex the next token. The header-name lexing rules are used at the start of
- // a pp-import.
- //
- // For
@@ -1119,43 +1115,158 @@ bool Preprocessor::LexHeaderName(Token &FilenameTok,
bool AllowMacroExpansion) {
return false;
}
+// We represent the primary and partition names as 'Paths' which are sections
+// of the hierarchical access path for a clang module. However for C++2
@@ -233,6 +233,9 @@ class Token {
PtrData = const_cast(Ptr);
}
+ template T getAnnotationValueAs() const {
+return static_cast(getAnnotationValue());
+ }
yronglin wrote:
It's unecessary, removed.
https://github.com/llvm/llvm-project/pull/107168
@@ -2485,11 +2536,12 @@ class Preprocessor {
}
/// If we're importing a standard C++20 Named Modules.
- bool isInImportingCXXNamedModules() const {
-// NamedModuleImportPath will be non-empty only if we're importing
-// Standard C++ named modules.
-return !Nam
@@ -1776,6 +1801,22 @@ class Preprocessor {
/// Lex the parameters for an #embed directive, returns nullopt on error.
std::optional LexEmbedParameters(Token &Current,
bool ForHasEmbed);
+ bool LexModuleNameContin
https://github.com/bolshakov-a created
https://github.com/llvm/llvm-project/pull/156329
`VarTemplateSpecializationDecl::getTemplateArgsAsWritten()` function should
return `nullptr` in the case of implicit instantiation, as its
`ClassTemplateSpecializationDecl` counterpart does, and not the arg
mizvekov wrote:
> OK, I understand. Could you point me to where that pattern selection happens?
> I will not be able to work on that PR for two weeks but I can go back on it
> afterward.
In `Sema::InstantiateClass`, which is implemented in
SemaTemplateInstantiate.cpp.
https://github.com/llvm
mizvekov wrote:
The problem is not whether the template instantiation is a definition or not,
if the type is required to be complete, then it needs to be a definition. If
it's not required to be complete, then it doesn't need to be.
What happens here is that when the instantiation is needed, b
@@ -728,23 +678,15 @@ void
CallAndMessageChecker::HandleNilReceiver(CheckerContext &C,
C.addTransition(state);
}
-void ento::registerCallAndMessageModeling(CheckerManager &mgr) {
- mgr.registerChecker();
-}
-
-bool ento::shouldRegisterCallAndMessageModeling(const CheckerMa
5chmidti wrote:
I'll have very little access to my machine this month, but I'll move this
forward in October (maybe with a bit before that) and also split the PR into
smaller ones.
https://github.com/llvm/llvm-project/pull/146553
___
cfe-commits mail
https://github.com/RKSimon closed
https://github.com/llvm/llvm-project/pull/156337
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tblah approved this pull request.
Flang and flang-rt changes LGTM.
https://github.com/llvm/llvm-project/pull/156270
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
5chmidti wrote:
I won't have access to my machine for 2 weeks, so I can't try it out in the
coming days, sorry. I'll see if I can do at least some review on mobile, but my
general thoughts are in discourse.
For now: I think the documentation should be extended to explain that the AST
is not a
Author: moorabbit
Date: 2025-09-01T16:04:17Z
New Revision: e932e413cfd00d42b2832c7d5fc4b3db576a1401
URL:
https://github.com/llvm/llvm-project/commit/e932e413cfd00d42b2832c7d5fc4b3db576a1401
DIFF:
https://github.com/llvm/llvm-project/commit/e932e413cfd00d42b2832c7d5fc4b3db576a1401.diff
LOG: [He
https://github.com/RKSimon closed
https://github.com/llvm/llvm-project/pull/156187
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/RKSimon auto_merge_enabled
https://github.com/llvm/llvm-project/pull/156337
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
balazske wrote:
According to https://discourse.llvm.org/t/remove-alpha-core-castsize/87974 this
checker looks to be rarely used. In the current form it can have more false
positives (I tested it on some C projects) than useful results. Additionally,
the same problem could be found with other m
Author: Simon Pilgrim
Date: 2025-09-01T15:59:53Z
New Revision: e956090f7455750c7ce932801609c22a97b19a05
URL:
https://github.com/llvm/llvm-project/commit/e956090f7455750c7ce932801609c22a97b19a05
DIFF:
https://github.com/llvm/llvm-project/commit/e956090f7455750c7ce932801609c22a97b19a05.diff
LOG:
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/149827
>From bb71b69ea69fe4046a3f93e30f82dfb1d4d59b69 Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Mon, 18 Aug 2025 15:14:40 +0100
Subject: [PATCH 1/3] [clang][DebugInfo] Emit unified (Itanium) mangled name to
https://github.com/paschalis-mpeis approved this pull request.
Thanks for the fixes. Directory `/bolt` LGTM. Please wait on other areas.
https://github.com/llvm/llvm-project/pull/156270
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://li
1 - 100 of 224 matches
Mail list logo