[clang] Reapply "[Clang] Implement P3034R1 Module Declarations Shouldn’t be Macros" (PR #102135)

2024-08-06 Thread via cfe-commits
https://github.com/yronglin created https://github.com/llvm/llvm-project/pull/102135 This PR reapply [[Clang] Implement P3034R1 Module Declarations Shouldn’t be Macros](https://github.com/llvm/llvm-project/pull/90574), and partially implement [P1857R3 Modules Dependency Discovery](https://www

[clang] [clang][Interp] Ignore ObjCBoxedExpr subexpr... (PR #102136)

2024-08-06 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/102136 ... if it can't be expressed as a constant initializer. >From 741c0bb89bc50a2a1bf270a2ac3717eb5c7f4666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Tue, 6 Aug 2024 15:04:13 +0200 Subject:

[clang] [clang][Interp] Ignore ObjCBoxedExpr subexpr... (PR #102136)

2024-08-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes ... if it can't be expressed as a constant initializer. --- Full diff: https://github.com/llvm/llvm-project/pull/102136.diff 2 Files Affected: - (modified) clang/lib/AST/Interp/Compiler.cpp (+3-2) - (modi

[clang] Reapply "[Clang] Implement P3034R1 Module Declarations Shouldn’t be Macros" (PR #102135)

2024-08-06 Thread via cfe-commits
https://github.com/yronglin edited https://github.com/llvm/llvm-project/pull/102135 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] f9b69a3 - Revert "[CMake] Fold export_executable_symbols_* into function args. (#101741)"

2024-08-06 Thread Steven Wu via cfe-commits
Author: Steven Wu Date: 2024-08-06T06:08:16-07:00 New Revision: f9b69a378cb1acfedab7252b4d4dc3d0af282d0b URL: https://github.com/llvm/llvm-project/commit/f9b69a378cb1acfedab7252b4d4dc3d0af282d0b DIFF: https://github.com/llvm/llvm-project/commit/f9b69a378cb1acfedab7252b4d4dc3d0af282d0b.diff LOG

[clang] f9b69a3 - Revert "[CMake] Fold export_executable_symbols_* into function args. (#101741)"

2024-08-06 Thread Steven Wu via cfe-commits
Author: Steven Wu Date: 2024-08-06T06:08:16-07:00 New Revision: f9b69a378cb1acfedab7252b4d4dc3d0af282d0b URL: https://github.com/llvm/llvm-project/commit/f9b69a378cb1acfedab7252b4d4dc3d0af282d0b DIFF: https://github.com/llvm/llvm-project/commit/f9b69a378cb1acfedab7252b4d4dc3d0af282d0b.diff LOG

[clang] Reapply "[Clang] Implement P3034R1 Module Declarations Shouldn’t be Macros" (PR #102135)

2024-08-06 Thread via 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 f2f410ca1317e7d2da89be0729a63a26ca83e7d7 581160a121fca5796bff2392d9228207d37e6f16 --e

[clang] [llvm] [PAC][ELF][AArch64] Encode signed GOT flag in PAuth core info (PR #96159)

2024-08-06 Thread Daniil Kovalev via cfe-commits
https://github.com/kovdan01 updated https://github.com/llvm/llvm-project/pull/96159 >From 4eeb1b4e82941681b6cafda8579d136e3e7cb09f Mon Sep 17 00:00:00 2001 From: Daniil Kovalev Date: Tue, 18 Jun 2024 15:37:18 +0300 Subject: [PATCH 1/3] [PAC][ELF][AArch64] Encode signed GOT flag in PAuth core i

[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [CMake] Fold export_executable_symbols_* into function args. (PR #101741)

2024-08-06 Thread Steven Wu via cfe-commits
cachemeifyoucan wrote: Reverted. I suspect it is a LLVM_DRIVER build that is not covered by PR testing and I missed some code path there. Let me improve later. https://github.com/llvm/llvm-project/pull/101741 ___ cfe-commits mailing list cfe-commits@l

[clang] [RFC] Reapply "[Clang] Implement P3034R1 Module Declarations Shouldn’t be Macros" (PR #102135)

2024-08-06 Thread via cfe-commits
https://github.com/yronglin edited https://github.com/llvm/llvm-project/pull/102135 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RFC] Reapply "[Clang] Implement P3034R1 Module Declarations Shouldn’t be Macros" (PR #102135)

2024-08-06 Thread via cfe-commits
yronglin wrote: I'm not sure if this is the right approach, what do you think? https://github.com/llvm/llvm-project/pull/102135 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][ExprConst] allow single element access of vector object to be constant expression (PR #101126)

2024-08-06 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman approved this pull request. LGTM! https://github.com/llvm/llvm-project/pull/101126 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [lldb] [clang][AST] fix ast-print of extern with >=2 declarators, fixed, fixed (PR #98795)

2024-08-06 Thread Pavel Labath via cfe-commits
labath wrote: I don't have the full context but I can definitely run the lldb test suite for you. I'm building now. (BTW, I see there are some merge conflicts on the PR.) https://github.com/llvm/llvm-project/pull/98795 ___ cfe-commits mailing list cfe

[clang] [llvm] [PAC][ELF][AArch64] Encode signed GOT flag in PAuth core info (PR #96159)

2024-08-06 Thread via 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 40c2aaf54e9a7b5c560bb68796d444180ad67b5d 470af5fa28032a99e3e9d2159e27549b5d1dfb55 --e

[clang] [clang] Inject tokens containing #embed back into token stream (PR #97274)

2024-08-06 Thread Mariya Podchishchaeva via cfe-commits
@@ -2123,17 +2123,18 @@ class Preprocessor { char getSpellingOfSingleCharacterNumericConstant(const Token &Tok, Fznamznon wrote: Thank you @AaronBallman https://github.com/llvm/llvm-project/pull/97274 ___ cfe-co

[clang] [llvm] [PAC][ELF][AArch64] Encode signed GOT flag in PAuth core info (PR #96159)

2024-08-06 Thread Daniil Kovalev via cfe-commits
https://github.com/kovdan01 updated https://github.com/llvm/llvm-project/pull/96159 >From 4eeb1b4e82941681b6cafda8579d136e3e7cb09f Mon Sep 17 00:00:00 2001 From: Daniil Kovalev Date: Tue, 18 Jun 2024 15:37:18 +0300 Subject: [PATCH 1/4] [PAC][ELF][AArch64] Encode signed GOT flag in PAuth core i

[clang] Add Clang attribute to ensure that fields are initialized explicitly (PR #102040)

2024-08-06 Thread Aaron Ballman via cfe-commits
AaronBallman wrote: Thank you for this! > @AaronBallman I think this is worth of an RFC, WDYT? Yes, this should definitely get an RFC. Some things worth discussing in the RFC: * Is there a larger design here beyond just fields? e.g., what about local variables? * Should there be a class-level

[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] Reapply "[CMake] Fold export_executable_symbols_* into function args. (#101741)" (PR #102138)

2024-08-06 Thread Steven Wu via cfe-commits
https://github.com/cachemeifyoucan created https://github.com/llvm/llvm-project/pull/102138 Fix the builds with LLVM_TOOL_LLVM_DRIVER_BUILD enabled. >From ea208594eca2af600cd38f618bada04d4b6b9a10 Mon Sep 17 00:00:00 2001 From: Steven Wu Date: Tue, 6 Aug 2024 06:21:47 -0700 Subject: [PATCH] =?

[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] Reapply "[CMake] Fold export_executable_symbols_* into function args. (#101741)" (PR #102138)

2024-08-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra @llvm/pr-subscribers-llvm-support Author: Steven Wu (cachemeifyoucan) Changes Fix the builds with LLVM_TOOL_LLVM_DRIVER_BUILD enabled. --- Patch is 32.90 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-

[clang] [clang-tools-extra] [lldb] [clang] Reland: Instantiate alias templates with sugar (PR #101858)

2024-08-06 Thread Dmitri Gribenko via cfe-commits
gribozavr wrote: > So from my undertstanding, IWYU only needs the SubstTemplateTypeParmType for > resugaring purposes, in order to recover the type as written by the user. > > But with this patch we are doing the substitution already with sugar, so > there is no need to resugar, so IWYU should

[clang] [Clang][Parser] Accept P2741R3 (static_assert with user-generated message) in C++11 as an extension (PR #102044)

2024-08-06 Thread Nikolas Klauser via cfe-commits
@@ -671,10 +671,8 @@ static void InitializeCPlusPlusFeatureTestMacros(const LangOptions &LangOpts, LangOpts.CPlusPlus23 ? "202211L" : LangOpts.CPlusPlus17 ? "201603L" : "200907");

[clang] [lldb] [clang][AST] fix ast-print of extern with >=2 declarators, fixed, fixed (PR #98795)

2024-08-06 Thread Pavel Labath via cfe-commits
labath wrote: > I don't have the full context but I can definitely run the lldb test suite > for you. I'm building now. (BTW, I see there are some merge conflicts on the > PR.) I have the results now. The patch is based on a fairly old revision, so it didn't work for me without a python 3.12

[clang] [Clang][Parser] Accept P2741R3 (static_assert with user-generated message) in C++11 as an extension (PR #102044)

2024-08-06 Thread Mital Ashok via cfe-commits
@@ -671,10 +671,8 @@ static void InitializeCPlusPlusFeatureTestMacros(const LangOptions &LangOpts, LangOpts.CPlusPlus23 ? "202211L" : LangOpts.CPlusPlus17 ? "201603L" : "200907");

[clang] [Clang][Parser] Accept P2741R3 (static_assert with user-generated message) in C++11 as an extension (PR #102044)

2024-08-06 Thread via cfe-commits
@@ -671,10 +671,8 @@ static void InitializeCPlusPlusFeatureTestMacros(const LangOptions &LangOpts, LangOpts.CPlusPlus23 ? "202211L" : LangOpts.CPlusPlus17 ? "201603L" : "200907");

[clang] [Clang][Parser] Accept P2741R3 (static_assert with user-generated message) in C++11 as an extension (PR #102044)

2024-08-06 Thread Nikolas Klauser via cfe-commits
@@ -671,10 +671,8 @@ static void InitializeCPlusPlusFeatureTestMacros(const LangOptions &LangOpts, LangOpts.CPlusPlus23 ? "202211L" : LangOpts.CPlusPlus17 ? "201603L" : "200907");

[clang] [compiler-rt] [llvm] [PAC][AArch64] Support init/fini array signing (PR #96478)

2024-08-06 Thread Piotr Sobczak via cfe-commits
piotrAMD wrote: I am getting build errors with gcc. Any ideas? ``` llvm-project/compiler-rt/lib/builtins/crtbegin.c:11:18: error: missing binary operator before token "(" 11 | #if __has_feature(ptrauth_init_fini) | ^ llvm-project/compiler-rt/lib/builtins/crtbegin.c:

[clang] #101784 part 1: introduce ctyped in an independent manner (PR #101941)

2024-08-06 Thread via cfe-commits
TsXor wrote: What I think is just contradictory: I don't see value in leaving `# type: ignore` at the call sites of those functions everywhere. If you are satisfied with this, why don't we just make a `cindex.pyi` stub independent from `cindex.py`? Users of `

[clang] [RISCV][clang] Remove bfloat base type in non-zvfbfmin vcreate (PR #102146)

2024-08-06 Thread Brandon Wu via cfe-commits
https://github.com/4vtomat created https://github.com/llvm/llvm-project/pull/102146 None >From 9ca5156a494d7f88ea80a960e2515142ae867ba8 Mon Sep 17 00:00:00 2001 From: Brandon Wu Date: Tue, 6 Aug 2024 06:56:48 -0700 Subject: [PATCH] [RISCV][clang] Remove bfloat base type in non-zvfbfmin vcreat

[clang] #101784 part 1: introduce ctyped in an independent manner (PR #101941)

2024-08-06 Thread via cfe-commits
TsXor wrote: I collected a document at https://gist.github.com/TsXor/97f73ec170c223b1ba21fb78742c2489 . https://github.com/llvm/llvm-project/pull/101941 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https:/

[clang] [RISCV][clang] Remove bfloat base type in non-zvfbfmin vcreate (PR #102146)

2024-08-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Brandon Wu (4vtomat) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/102146.diff 1 Files Affected: - (modified) clang/include/clang/Basic/riscv_vector.td (+1-1) ``diff diff --git a/clang/include/clang/Basic/

[clang] [X86_64] Fix empty field error in vaarg of C++. (PR #101639)

2024-08-06 Thread Longsheng Mou via cfe-commits
CoTinker wrote: Ping~ https://github.com/llvm/llvm-project/pull/101639 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV][clang] Add missing `zvfbfmin` to `vget_v` intrinsic (PR #102149)

2024-08-06 Thread Brandon Wu via cfe-commits
https://github.com/4vtomat created https://github.com/llvm/llvm-project/pull/102149 It's missing in the patch supporting `zvfbfmin` intrinsics. >From 17cbf0b868699a04639c49acf4bbf383e70e85ca Mon Sep 17 00:00:00 2001 From: Brandon Wu Date: Tue, 6 Aug 2024 07:06:13 -0700 Subject: [PATCH] [RISCV

[clang] [RISCV][clang] Add missing `zvfbfmin` to `vget_v` intrinsic (PR #102149)

2024-08-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Brandon Wu (4vtomat) Changes It's missing in the patch supporting `zvfbfmin` intrinsics. --- Full diff: https://github.com/llvm/llvm-project/pull/102149.diff 1 Files Affected: - (modified) clang/include/clang/Basic/riscv_vector.td (+6-

[clang] [RISCV][clang] Add missing `zvfbfmin` to `vget_v` intrinsic (PR #102149)

2024-08-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: Brandon Wu (4vtomat) Changes It's missing in the patch supporting `zvfbfmin` intrinsics. --- Full diff: https://github.com/llvm/llvm-project/pull/102149.diff 1 Files Affected: - (modified) clang/include/clang/Basic/riscv_vecto

[clang] [llvm] [RISCV] Add sifive-p470 processor (PR #102022)

2024-08-06 Thread Michael Maitland via cfe-commits
https://github.com/michaelmaitland updated https://github.com/llvm/llvm-project/pull/102022 >From 987b46c76297486e2c4c5a67f5c67225b2bbd361 Mon Sep 17 00:00:00 2001 From: Michael Maitland Date: Mon, 5 Aug 2024 10:01:08 -0700 Subject: [PATCH 1/2] [RISCV] Add sifive-p470 processor This is an OOO

[clang] [llvm] [clang] Generate nuw GEPs for struct member accesses (PR #99538)

2024-08-06 Thread Hari Limaye via cfe-commits
@@ -1902,16 +1902,18 @@ class IRBuilderBase { } Value *CreateConstGEP2_32(Type *Ty, Value *Ptr, unsigned Idx0, unsigned Idx1, -const Twine &Name = "") { +const Twine &Name = "", +GEPNoWrapF

[clang] [compiler-rt] [llvm] [PAC][AArch64] Support init/fini array signing (PR #96478)

2024-08-06 Thread Daniil Kovalev via cfe-commits
kovdan01 wrote: @piotrAMD It looks like that `__has_feature` preprocessor directive support was implemented in gcc only in 2023: https://github.com/gcc-mirror/gcc/commit/06280a906cb3dc80cf5e07cf3335b758848d488d Thanks for reporting. I suppose we can just surround this chunk of code with `#ifd

[clang] #101784 part 1: introduce ctyped in an independent manner (PR #101941)

2024-08-06 Thread via cfe-commits
TsXor wrote: In fact there are even some C functions used implicitly here: they are not declared in `functionList`, and relies on default `restype` as `c_int` to work. (Including `clang_getCursorTLSKind`, which causes segfault [here](https://github.com/llvm/l

[clang] [Clang] strengthen checks for 'main' function to meet [basic.start.main] p3 requirements (PR #101853)

2024-08-06 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/101853 >From 56c8d3a8e5f860ec1f68adf997d502849de1cb50 Mon Sep 17 00:00:00 2001 From: Oleksandr T Date: Sun, 4 Aug 2024 00:45:49 +0300 Subject: [PATCH] [Clang] strengthen checks for 'main' function to meet [basic.st

[clang] #101784 part 1: introduce ctyped in an independent manner (PR #101941)

2024-08-06 Thread via cfe-commits
TsXor wrote: The complexity here is because conversion rules in `ctypes` is just complex itself. You have 2 ways to do 1 thing there. https://github.com/llvm/llvm-project/pull/101941 ___ cfe-commits mailing list cfe-

[clang] #101784 part 1: introduce ctyped in an independent manner (PR #101941)

2024-08-06 Thread via cfe-commits
https://github.com/TsXor updated https://github.com/llvm/llvm-project/pull/101941 >From cbe82fc24aa94c919aaa1a01ae72e11ddcd71f19 Mon Sep 17 00:00:00 2001 From: TsXor Date: Mon, 5 Aug 2024 16:20:40 +0800 Subject: [PATCH] Introduce ctyped in an independent manner. --- clang/bindings/python/clan

[clang] e958456 - [clang][Interp] Ignore ObjCBoxedExpr subexpr... (#102136)

2024-08-06 Thread via cfe-commits
Author: Timm Baeder Date: 2024-08-06T16:19:56+02:00 New Revision: e958456840c1663b496e5ee4a44ce73ae780f50d URL: https://github.com/llvm/llvm-project/commit/e958456840c1663b496e5ee4a44ce73ae780f50d DIFF: https://github.com/llvm/llvm-project/commit/e958456840c1663b496e5ee4a44ce73ae780f50d.diff L

[clang] [clang][Interp] Ignore ObjCBoxedExpr subexpr... (PR #102136)

2024-08-06 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/102136 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PAC] Add support for __ptrauth type qualifier (PR #100830)

2024-08-06 Thread Akira Hatanaka via cfe-commits
@@ -104,6 +104,7 @@ FEATURE(thread_sanitizer, LangOpts.Sanitize.has(SanitizerKind::Thread)) FEATURE(dataflow_sanitizer, LangOpts.Sanitize.has(SanitizerKind::DataFlow)) FEATURE(scudo, LangOpts.Sanitize.hasOneOf(SanitizerKind::Scudo)) FEATURE(ptrauth_intrinsics, LangOpts.Pointer

[clang] #101784 part 1: introduce ctyped in an independent manner (PR #101941)

2024-08-06 Thread via cfe-commits
https://github.com/TsXor edited https://github.com/llvm/llvm-project/pull/101941 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PowerPC] Fix codegen for transparent_union function params (PR #101738)

2024-08-06 Thread Lei Huang via cfe-commits
https://github.com/lei137 updated https://github.com/llvm/llvm-project/pull/101738 >From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001 From: Lei Huang Date: Fri, 2 Aug 2024 13:58:37 -0400 Subject: [PATCH 01/10] [PowerPC] Fix codegen for transparent_union function params Up

[clang] [clang][ASTMatcher] Add matcher for 'matches' (PR #102152)

2024-08-06 Thread via cfe-commits
https://github.com/Gitspike created https://github.com/llvm/llvm-project/pull/102152 Add Matcher matches. >From ece7952421b0b565a653f3ada8d9bb0b8f366b69 Mon Sep 17 00:00:00 2001 From: hehouhua Date: Tue, 6 Aug 2024 22:17:00 +0800 Subject: [PATCH] [clang][ASTMatcher] Add matcher for 'matches'

[clang] [clang][ASTMatcher] Add matcher for 'matches' (PR #102152)

2024-08-06 Thread via cfe-commits
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

[clang] [clang][ASTMatcher] Add matcher for 'matches' (PR #102152)

2024-08-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (Gitspike) Changes Add Matcher matches. --- Full diff: https://github.com/llvm/llvm-project/pull/102152.diff 5 Files Affected: - (modified) clang/docs/LibASTMatchersReference.html (+14) - (modified) clang/docs/ReleaseNotes.rst (+2

[clang] [clang][ASTMatcher] Add matcher for 'matches' (PR #102152)

2024-08-06 Thread via cfe-commits
https://github.com/Gitspike updated https://github.com/llvm/llvm-project/pull/102152 >From a12c4a59a3221524cbeb9d1fac261bf60585ead4 Mon Sep 17 00:00:00 2001 From: hehouhua Date: Tue, 6 Aug 2024 22:17:00 +0800 Subject: [PATCH] [clang][ASTMatcher] Add matcher for 'matches' Add Matcher matches. -

[clang] [clang][ASTMatcher] Add matcher for 'matches' (PR #102152)

2024-08-06 Thread via cfe-commits
https://github.com/Gitspike updated https://github.com/llvm/llvm-project/pull/102152 >From 994e693ed246df662f757c69035d54f62639b560 Mon Sep 17 00:00:00 2001 From: hehouhua Date: Tue, 6 Aug 2024 22:17:00 +0800 Subject: [PATCH] [clang][ASTMatcher] Add matcher for 'matches' Add Matcher matches. -

[clang] [Clang] strengthen checks for 'main' function to meet [basic.start.main] p3 requirements (PR #101853)

2024-08-06 Thread Oleksandr T. via cfe-commits
@@ -990,6 +990,12 @@ def warn_main_redefined : Warning<"variable named 'main' with external linkage " "has undefined behavior">, InGroup; def ext_main_used : Extension< "referring to 'main' within an expression is a Clang extension">, InGroup; +def ext_main_invalid_li

[clang] [compiler-rt] [llvm] [PAC][AArch64] Support init/fini array signing (PR #96478)

2024-08-06 Thread Daniil Kovalev via cfe-commits
kovdan01 wrote: @piotrAMD Submitted #102154 with a fix. Could you please check if it resolves the issue for you? https://github.com/llvm/llvm-project/pull/96478 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mai

[clang] [Clang] strengthen checks for 'main' function to meet [basic.start.main] p3 requirements (PR #101853)

2024-08-06 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk edited https://github.com/llvm/llvm-project/pull/101853 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] strengthen checks for 'main' function to meet [basic.start.main] p3 requirements (PR #101853)

2024-08-06 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk edited https://github.com/llvm/llvm-project/pull/101853 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [RISCV] Add sifive-p470 processor (PR #102022)

2024-08-06 Thread Yingwei Zheng via cfe-commits
@@ -266,11 +272,47 @@ def SIFIVE_P450 : RISCVProcessorModel<"sifive-p450", SiFiveP400Model, FeatureStdExtZfhmin, FeatureUnalignedScalarMem, FeatureUnalignedVect

[clang] [llvm] [RISCV] Add vector and vector crypto to SiFiveP400 scheduler model (PR #102155)

2024-08-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: Michael Maitland (michaelmaitland) Changes The SiFiveP400 scheduler model did not support vector or vector crypto. With the addition of the sifive-p470 processor, this model needs to support these extensions. The p

[clang] #101784 part 1: introduce ctyped in an independent manner (PR #101941)

2024-08-06 Thread via cfe-commits
https://github.com/TsXor edited https://github.com/llvm/llvm-project/pull/101941 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][Sema] Make UnresolvedLookupExprs in class scope explicit specializations instantiation dependent (PR #100392)

2024-08-06 Thread Krystian Stasiowski via cfe-commits
https://github.com/sdkrystian updated https://github.com/llvm/llvm-project/pull/100392 >From 7d0e70feb5e657c1830901e3ed9a01c1d56c7526 Mon Sep 17 00:00:00 2001 From: Krystian Stasiowski Date: Wed, 24 Jul 2024 10:15:47 -0400 Subject: [PATCH 1/3] [Clang][Sema] Make UnresolvedLookupExprs in class s

[clang] cee594c - [Clang][Sema][OpenMP] Allow `num_teams` to accept multiple expressions (#99732)

2024-08-06 Thread via cfe-commits
Author: Shilei Tian Date: 2024-08-06T10:55:15-04:00 New Revision: cee594cf36dc6c737df61e5417a98e09d807bd06 URL: https://github.com/llvm/llvm-project/commit/cee594cf36dc6c737df61e5417a98e09d807bd06 DIFF: https://github.com/llvm/llvm-project/commit/cee594cf36dc6c737df61e5417a98e09d807bd06.diff L

[clang] [Clang][Sema][OpenMP] Allow `num_teams` to accept multiple expressions (PR #99732)

2024-08-06 Thread Shilei Tian via cfe-commits
https://github.com/shiltian closed https://github.com/llvm/llvm-project/pull/99732 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Clang][OMPX] Add the code generation for multi-dim `num_teams` (PR #101407)

2024-08-06 Thread Shilei Tian via cfe-commits
https://github.com/shiltian edited https://github.com/llvm/llvm-project/pull/101407 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [compiler-rt] [libcxx] [cmake] Add hexagon-linux cmake cache files (PR #98712)

2024-08-06 Thread Brian Cain via cfe-commits
androm3da wrote: @ldionne ping https://github.com/llvm/llvm-project/pull/98712 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PAC][ELF][AArch64] Encode signed GOT flag in PAuth core info (PR #96159)

2024-08-06 Thread Daniil Kovalev via cfe-commits
https://github.com/kovdan01 edited https://github.com/llvm/llvm-project/pull/96159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PowerPC] Fix codegen for transparent_union function params (PR #101738)

2024-08-06 Thread Lei Huang via cfe-commits
lei137 wrote: > Would it do any harm to just unconditionally compute the type and pass it > into getExtend()? This seem to cause issues for type `_Bool`, where it changes the function param from `i1 noundef zeroext %b1` to `i8 noundef zeroext %b1.coerce`. ``` $cat a.c void fcall(_Bool); _B

[clang] [llvm] [RISCV] Add sifive-p470 processor (PR #102022)

2024-08-06 Thread Craig Topper via cfe-commits
@@ -266,11 +272,47 @@ def SIFIVE_P450 : RISCVProcessorModel<"sifive-p450", SiFiveP400Model, FeatureStdExtZfhmin, FeatureUnalignedScalarMem, FeatureUnalignedVect

[clang] bd576fe - [clang][driver][clang-cl] Support `--precompile` and `-fmodule-*` options in Clang-CL (#98761)

2024-08-06 Thread via cfe-commits
Author: Sharadh Rajaraman Date: 2024-08-06T23:05:55+08:00 New Revision: bd576fe34285c4dcd04837bf07a89a9c00e3cd5e URL: https://github.com/llvm/llvm-project/commit/bd576fe34285c4dcd04837bf07a89a9c00e3cd5e DIFF: https://github.com/llvm/llvm-project/commit/bd576fe34285c4dcd04837bf07a89a9c00e3cd5e.d

[clang] [clang][driver][clang-cl] Support `--precompile` and `-fmodule-*` options in Clang-CL (PR #98761)

2024-08-06 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 closed https://github.com/llvm/llvm-project/pull/98761 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][driver][clang-cl] Support `--precompile` and `-fmodule-*` options in Clang-CL (PR #98761)

2024-08-06 Thread via cfe-commits
github-actions[bot] wrote: @sharadhr 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

[clang] #101784 part 1: introduce ctyped in an independent manner (PR #101941)

2024-08-06 Thread via cfe-commits
TsXor wrote: I made a stub with `stubgen`. See it at https://gist.github.com/TsXor/29922be784597cd44b496c47e3e46df5 . https://github.com/llvm/llvm-project/pull/101941 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-b

[clang] [llvm] [RISCV] Add sifive-p470 processor (PR #102022)

2024-08-06 Thread Craig Topper via cfe-commits
https://github.com/topperc edited https://github.com/llvm/llvm-project/pull/102022 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][driver][clang-cl] Support `--precompile` and `-fmodule-*` options in Clang-CL (PR #98761)

2024-08-06 Thread Chuanqi Xu via cfe-commits
ChuanqiXu9 wrote: I think this worth to be in 19.x and I don't it is a risk. https://github.com/llvm/llvm-project/pull/98761 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][driver][clang-cl] Support `--precompile` and `-fmodule-*` options in Clang-CL (PR #98761)

2024-08-06 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 milestoned https://github.com/llvm/llvm-project/pull/98761 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][Sema] Ensure that the selected candidate for a member function explicit specialization is more constrained than all others (PR #101721)

2024-08-06 Thread Krystian Stasiowski via cfe-commits
https://github.com/sdkrystian updated https://github.com/llvm/llvm-project/pull/101721 >From 046bf3e993cd8905869cb244ddb7df019b44ae78 Mon Sep 17 00:00:00 2001 From: Krystian Stasiowski Date: Fri, 2 Aug 2024 11:32:49 -0400 Subject: [PATCH 1/5] [Clang][Sema] Ensure that the selected candidate for

[clang] [RISCV] full support for riscv_rvv_vector_bits attribute (PR #100110)

2024-08-06 Thread Craig Topper via cfe-commits
https://github.com/topperc approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/100110 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [compiler-rt] [llvm] [PAC][AArch64] Support init/fini array signing (PR #96478)

2024-08-06 Thread Piotr Sobczak via cfe-commits
piotrAMD wrote: Thanks for the quick fix, but apparently the fix was already submitted in 41b83ca559c402d238e303c0ac233180d60dcd57 - I wasn't aware of that. https://github.com/llvm/llvm-project/pull/96478 ___ cfe-commits mailing list cfe-commits@list

[clang] [ARM] Enable cfi-icall for thumb triples (PR #102126)

2024-08-06 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm approved this pull request. https://github.com/llvm/llvm-project/pull/102126 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][driver][clang-cl] Support `--precompile` and `-fmodule-*` options in Clang-CL (PR #98761)

2024-08-06 Thread Chuanqi Xu via cfe-commits
ChuanqiXu9 wrote: /cherry-pick bd576fe34285c4dcd04837bf07a89a9c00e3cd https://github.com/llvm/llvm-project/pull/98761 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Transforms] Fix Coroutine transform on non-default addressspaces (PR #102096)

2024-08-06 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 updated https://github.com/llvm/llvm-project/pull/102096 >From bd46405c413a4be83c370e587b52a9753752b310 Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Mon, 5 Aug 2024 22:31:41 -0500 Subject: [PATCH] [Transforms] Fix Coroutine transform on non-default addressspaces

[clang] [Clang][Sema] Ensure that the selected candidate for a member function explicit specialization is more constrained than all others (PR #101721)

2024-08-06 Thread Krystian Stasiowski via cfe-commits
https://github.com/sdkrystian updated https://github.com/llvm/llvm-project/pull/101721 >From dd1c7b5fe3e1c4bca73cc5b4162ae73c3d7783fb Mon Sep 17 00:00:00 2001 From: Krystian Stasiowski Date: Fri, 2 Aug 2024 11:32:49 -0400 Subject: [PATCH 1/5] [Clang][Sema] Ensure that the selected candidate for

[clang] [llvm] [Coroutines] Change `llvm.coro.noop` to accept `llvm_anyptr_ty` instead (PR #102096)

2024-08-06 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 edited https://github.com/llvm/llvm-project/pull/102096 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Coroutines] Change `llvm.coro.noop` to accept `llvm_anyptr_ty` instead (PR #102096)

2024-08-06 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 edited https://github.com/llvm/llvm-project/pull/102096 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Coroutines] Change `llvm.coro.noop` to accept `llvm_anyptr_ty` instead (PR #102096)

2024-08-06 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 updated https://github.com/llvm/llvm-project/pull/102096 >From 51b6f620c03eb5b4b00cfea22142850dc1ac51b8 Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Mon, 5 Aug 2024 22:31:41 -0500 Subject: [PATCH] [Transforms] Fix Coroutine transform on non-default addressspaces

[clang] [llvm] [Coroutines] Change `llvm.coro.noop` to accept `llvm_anyptr_ty` instead (PR #102096)

2024-08-06 Thread Joseph Huber via cfe-commits
jhuber6 wrote: > I imagine the better fix would be to either overload the intrinsic or make it > return a pointer in the global address space, depending on whether it's > semantics tied to globals or this is just an implementation choice. It's definitely tied to globals for `noop` in this case

[clang] [clang][driver][clang-cl] Support `--precompile` and `-fmodule-*` options in Clang-CL (PR #98761)

2024-08-06 Thread via cfe-commits
llvmbot wrote: /pull-request llvm/llvm-project#102159 https://github.com/llvm/llvm-project/pull/98761 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] b809671 - [Serialization] Fix a warning

2024-08-06 Thread Kazu Hirata via cfe-commits
Author: Kazu Hirata Date: 2024-08-06T08:22:00-07:00 New Revision: b809671a4184fb279abf7ae2f75ee9117c13dd60 URL: https://github.com/llvm/llvm-project/commit/b809671a4184fb279abf7ae2f75ee9117c13dd60 DIFF: https://github.com/llvm/llvm-project/commit/b809671a4184fb279abf7ae2f75ee9117c13dd60.diff L

[clang] 15d4a84 - [PAC][ELF][AArch64] Encode signed GOT flag in PAuth core info (#96159)

2024-08-06 Thread via cfe-commits
Author: Daniil Kovalev Date: 2024-08-06T18:24:01+03:00 New Revision: 15d4a84e7977725dc0661995963a12ff8605b03c URL: https://github.com/llvm/llvm-project/commit/15d4a84e7977725dc0661995963a12ff8605b03c DIFF: https://github.com/llvm/llvm-project/commit/15d4a84e7977725dc0661995963a12ff8605b03c.diff

[clang] [llvm] [PAC][ELF][AArch64] Encode signed GOT flag in PAuth core info (PR #96159)

2024-08-06 Thread Daniil Kovalev via cfe-commits
https://github.com/kovdan01 closed https://github.com/llvm/llvm-project/pull/96159 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV][clang] Remove bfloat base type in non-zvfbfmin vcreate (PR #102146)

2024-08-06 Thread Craig Topper via cfe-commits
https://github.com/topperc approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/102146 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV][clang] Add missing `zvfbfmin` to `vget_v` intrinsic (PR #102149)

2024-08-06 Thread Craig Topper via cfe-commits
https://github.com/topperc approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/102149 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix compile-time regression from attribute arg checking change (PR #101768)

2024-08-06 Thread Mike Rice via cfe-commits
mikerice1969 wrote: Thanks @nikic! https://github.com/llvm/llvm-project/pull/101768 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 6250313 - [clang] Fix compile-time regression from attribute arg checking change (#101768)

2024-08-06 Thread via cfe-commits
Author: Mike Rice Date: 2024-08-06T08:28:56-07:00 New Revision: 6250313291c9541abe74142be86a9bb7c0d30974 URL: https://github.com/llvm/llvm-project/commit/6250313291c9541abe74142be86a9bb7c0d30974 DIFF: https://github.com/llvm/llvm-project/commit/6250313291c9541abe74142be86a9bb7c0d30974.diff LOG

[clang] [clang] Fix compile-time regression from attribute arg checking change (PR #101768)

2024-08-06 Thread Mike Rice via cfe-commits
https://github.com/mikerice1969 closed https://github.com/llvm/llvm-project/pull/101768 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Implement C++26’s P2893R3 ‘Variadic friends’ (PR #101448)

2024-08-06 Thread via cfe-commits
https://github.com/Sirraide edited https://github.com/llvm/llvm-project/pull/101448 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Implement C++26’s P2893R3 ‘Variadic friends’ (PR #101448)

2024-08-06 Thread via cfe-commits
https://github.com/Sirraide edited https://github.com/llvm/llvm-project/pull/101448 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] b9183d0 - [Clang][Sema] Ensure that the selected candidate for a member function explicit specialization is more constrained than all others (#101721)

2024-08-06 Thread via cfe-commits
Author: Krystian Stasiowski Date: 2024-08-06T11:33:50-04:00 New Revision: b9183d0d0e24d164d3b57bf81ae911a22094e897 URL: https://github.com/llvm/llvm-project/commit/b9183d0d0e24d164d3b57bf81ae911a22094e897 DIFF: https://github.com/llvm/llvm-project/commit/b9183d0d0e24d164d3b57bf81ae911a22094e897

[clang] [Clang][Sema] Ensure that the selected candidate for a member function explicit specialization is more constrained than all others (PR #101721)

2024-08-06 Thread Krystian Stasiowski via cfe-commits
https://github.com/sdkrystian closed https://github.com/llvm/llvm-project/pull/101721 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][Sema] Make UnresolvedLookupExprs in class scope explicit specializations instantiation dependent (PR #100392)

2024-08-06 Thread Krystian Stasiowski via cfe-commits
https://github.com/sdkrystian updated https://github.com/llvm/llvm-project/pull/100392 >From 2721a3142f4cf7e22eec27f8c209a2a4e8f98519 Mon Sep 17 00:00:00 2001 From: Krystian Stasiowski Date: Wed, 24 Jul 2024 10:15:47 -0400 Subject: [PATCH 1/3] [Clang][Sema] Make UnresolvedLookupExprs in class s

[clang] Add Clang attribute to ensure that fields are initialized explicitly (PR #102040)

2024-08-06 Thread via cfe-commits
https://github.com/higher-performance updated https://github.com/llvm/llvm-project/pull/102040 >From f09b427e989fc03f365333749ec7de60d939ffb8 Mon Sep 17 00:00:00 2001 From: higher-performance Date: Mon, 5 Aug 2024 15:04:19 -0400 Subject: [PATCH] Add Clang attribute to ensure that fields are ini

[clang] [clang][ASTMatcher] Add matcher for 'matches' (PR #102152)

2024-08-06 Thread via cfe-commits
https://github.com/Gitspike updated https://github.com/llvm/llvm-project/pull/102152 >From 994e693ed246df662f757c69035d54f62639b560 Mon Sep 17 00:00:00 2001 From: hehouhua Date: Tue, 6 Aug 2024 22:17:00 +0800 Subject: [PATCH] [clang][ASTMatcher] Add matcher for 'matches' Add Matcher matches. -

<    1   2   3   4   5   >