[clang] [clang-format] Fix crash involving array designators (PR #77045)

2024-01-09 Thread via cfe-commits
https://github.com/XDeme edited https://github.com/llvm/llvm-project/pull/77045 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-repl] Enable native CPU detection by default (PR #77491)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Stefan Gränitz (weliveindetail) Changes We can pass `-mcpu=native` to the clang driver to let it consider the host CPU when choosing the compile target for `clang-repl`. We can already achieve this behavior with `clang-repl -Xcc -mcpu=nat

[clang] [Clang] Wide delimiters ('{{{') for expect strings (PR #77326)

2024-01-09 Thread via cfe-commits
https://github.com/sethp updated https://github.com/llvm/llvm-project/pull/77326 >From 1afdcda3bbf695430111873a69631a07e64ff610 Mon Sep 17 00:00:00 2001 From: Seth Pellegrino Date: Sat, 6 Jan 2024 07:54:31 -0800 Subject: [PATCH] [Clang] Wide delimiters ('{{{') for expect strings Prior to this c

[clang] [Clang] Wide delimiters ('{{{') for expect strings (PR #77326)

2024-01-09 Thread via cfe-commits
sethp wrote: I think I've followed all the steps in https://llvm.org/docs/GitHub.html#landing-your-change except performing the actual merge (or squash), for which I lack write permissions. Is there anything else for me to do here? https://github.com/llvm/llvm-project/pull/77326 _

[libcxx] [llvm] [libunwind] [lldb] [clang-tools-extra] [mlir] [clang] [compiler-rt] [clangd] Fix typo in AST.cpp (PR #77493)

2024-01-09 Thread via cfe-commits
https://github.com/Nour1248 created https://github.com/llvm/llvm-project/pull/77493 None >From 4a8855eb6b54e2e073f1ee9384ec3dfc399657a5 Mon Sep 17 00:00:00 2001 From: Nour Fouad Date: Tue, 9 Jan 2024 18:08:45 +0200 Subject: [PATCH] [clangd] Fix typo in AST.cpp --- clang-tools-extra/clangd/AS

[libcxx] [llvm] [libunwind] [lldb] [clang-tools-extra] [mlir] [clang] [compiler-rt] [clangd] Fix typo in AST.cpp (PR #77493)

2024-01-09 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 i

[libcxx] [llvm] [libunwind] [lldb] [clang-tools-extra] [mlir] [clang] [compiler-rt] [clangd] Fix typo in AST.cpp (PR #77493)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: None (Nour1248) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/77493.diff 1 Files Affected: - (modified) clang-tools-extra/clangd/AST.cpp (+5-5) ``diff diff --git a/clang-tools-extra/clangd/AST.cpp b/clang

[libcxx] [llvm] [libunwind] [lldb] [clang-tools-extra] [mlir] [clang] [compiler-rt] [clangd] Fix typo in AST.cpp (PR #77493)

2024-01-09 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 4ea5c603b4c4db36b8ee7e04adf96416f4d996dc 938019a3c34e322b6ead871dd66d973e50c084f1 --

[clang] [Clang] Wide delimiters ('{{{') for expect strings (PR #77326)

2024-01-09 Thread via cfe-commits
sethp wrote: Awesome, thank you for your help! https://github.com/llvm/llvm-project/pull/77326 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[flang] [llvm] [clang] [mlir] [MLIR][LLVM] Add Continuous Loop Peeling transform to SCF (PR #77328)

2024-01-09 Thread via cfe-commits
https://github.com/muneebkhan85 updated https://github.com/llvm/llvm-project/pull/77328 >From 91418f78aad0c994a49e9305516bd6bbb3d69d65 Mon Sep 17 00:00:00 2001 From: Muneeb Khan Date: Tue, 7 Nov 2023 23:52:17 +0800 Subject: [PATCH 01/14] [MLIR][LLVM] Add Continuous Loop Peeling transform to SC

[flang] [llvm] [clang] [mlir] [MLIR][LLVM] Add Continuous Loop Peeling transform to SCF (PR #77328)

2024-01-09 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 036e48e2f5f890e1f9574cdb610e2336f12038a2 d0c6477734356ac3ce898deb84e069ddbfc0fead --

[flang] [llvm] [clang] [mlir] [MLIR][LLVM] Add Continuous Loop Peeling transform to SCF (PR #77328)

2024-01-09 Thread via cfe-commits
https://github.com/muneebkhan85 updated https://github.com/llvm/llvm-project/pull/77328 >From 91418f78aad0c994a49e9305516bd6bbb3d69d65 Mon Sep 17 00:00:00 2001 From: Muneeb Khan Date: Tue, 7 Nov 2023 23:52:17 +0800 Subject: [PATCH 01/14] [MLIR][LLVM] Add Continuous Loop Peeling transform to SC

[flang] [clang] [mlir] [Flang][OpenMP][MLIR] Add support for -nogpulib option (PR #71045)

2024-01-09 Thread via cfe-commits
https://github.com/agozillon approved this pull request. the PR LGTM. https://github.com/llvm/llvm-project/pull/71045 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libclc] 9160f49 - libclc: generic: add half implementation for erf/erfc (#66901)

2024-01-09 Thread via cfe-commits
Author: Romaric Jodin Date: 2024-01-09T16:47:53Z New Revision: 9160f49e08af4267efdc870a1c9a434bfd155ae3 URL: https://github.com/llvm/llvm-project/commit/9160f49e08af4267efdc870a1c9a434bfd155ae3 DIFF: https://github.com/llvm/llvm-project/commit/9160f49e08af4267efdc870a1c9a434bfd155ae3.diff LOG:

[clang] [Clang][Sema] Print more static_assert exprs (PR #74852)

2024-01-09 Thread via cfe-commits
https://github.com/sethp updated https://github.com/llvm/llvm-project/pull/74852 >From f281d34a51f662c934f158e4770774b0dc3588a2 Mon Sep 17 00:00:00 2001 From: Seth Pellegrino Date: Thu, 7 Dec 2023 08:45:51 -0800 Subject: [PATCH 1/7] [Clang][Sema] Print more static_assert exprs This change intro

[llvm] [clang] [Clang] Update Unicode version to 15.1 (PR #77147)

2024-01-09 Thread via cfe-commits
cor3ntin wrote: @nikic looks like you closed the wrong issue https://github.com/llvm/llvm-project/pull/77147 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [Clang] Update Unicode version to 15.1 (PR #77147)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin reopened https://github.com/llvm/llvm-project/pull/77147 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][ASTImporter] Improve import of friend class templates. (PR #74627)

2024-01-09 Thread via cfe-commits
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= , =?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= , =?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= Message-ID: In-Reply-To: https://github.com/NagyDonat approved this pull request. https://github.com/llvm/llvm-project/pull/74627 ___ cfe-commi

[clang] [clang] Improve bit-field in ref NTTP diagnostic (PR #71077)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. Still looks good, thanks https://github.com/llvm/llvm-project/pull/71077 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 79e17cd - [clang] Improve bit-field in ref NTTP diagnostic (#71077)

2024-01-09 Thread via cfe-commits
Author: Andrey Ali Khan Bolshakov Date: 2024-01-09T18:14:17+01:00 New Revision: 79e17cd01491c0fde241097ad4c5c24afbb1883e URL: https://github.com/llvm/llvm-project/commit/79e17cd01491c0fde241097ad4c5c24afbb1883e DIFF: https://github.com/llvm/llvm-project/commit/79e17cd01491c0fde241097ad4c5c24afb

[clang] [clang] Improve bit-field in ref NTTP diagnostic (PR #71077)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin closed https://github.com/llvm/llvm-project/pull/71077 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Improve bit-field in ref NTTP diagnostic (PR #71077)

2024-01-09 Thread via cfe-commits
cor3ntin wrote: Merging at @bolshakov-a's request https://github.com/llvm/llvm-project/pull/71077 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][Sema] Print more static_assert exprs (PR #74852)

2024-01-09 Thread via cfe-commits
sethp wrote: In playing around with this some more, I found it was pretty effective for me to have an intializer-like expression (as in [e769f15](https://github.com/llvm/llvm-project/pull/74852/commits/e769f158c8ee001e95299ce4c83e5250e2a8f963) ), because then I could copy/paste the output from

[clang] 6eb372e - [clang-tidy] Improve performance of misc-const-correctness (#72705)

2024-01-09 Thread via cfe-commits
Author: Piotr Zegar Date: 2024-01-09T18:22:03+01:00 New Revision: 6eb372e4e46a6dc4511f454b6501e93eb4cad22d URL: https://github.com/llvm/llvm-project/commit/6eb372e4e46a6dc4511f454b6501e93eb4cad22d DIFF: https://github.com/llvm/llvm-project/commit/6eb372e4e46a6dc4511f454b6501e93eb4cad22d.diff L

[clang] [Clang][Sema] Print more static_assert exprs (PR #74852)

2024-01-09 Thread via cfe-commits
@@ -0,0 +1,115 @@ +// RUN: %clang_cc1 -std=c++2a -verify %s + +struct A { + int a, b[3], c; + bool operator==(const A&) const = default; +}; + +constexpr auto a0 = A{0, 0, 3, 4, 5}; + +// expected-note@+1 {{evaluates to 'A{0, {0, 3, 4}, 5} == A{1, {2, 3, 4}, 5}'}} +static_assert

[clang] [Clang][Sema] Print more static_assert exprs (PR #74852)

2024-01-09 Thread via cfe-commits
@@ -0,0 +1,115 @@ +// RUN: %clang_cc1 -std=c++2a -verify %s + +struct A { + int a, b[3], c; + bool operator==(const A&) const = default; +}; + +constexpr auto a0 = A{0, 0, 3, 4, 5}; + +// expected-note@+1 {{evaluates to 'A{0, {0, 3, 4}, 5} == A{1, {2, 3, 4}, 5}'}} +static_assert

[libunwind] [lld] [libcxx] [lldb] [mlir] [compiler-rt] [libclc] [flang] [libc] [clang] [llvm] [clang-tools-extra] [libcxxabi] [libc++][ranges] Implement ranges::contains_subrange (PR #66963)

2024-01-09 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 647f5fe641b30c874bab770fced9fcec9b601161 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 1/9] [libc++] Implement ranges::contains_subrange --- libcxx/i

[lldb] [clang] [flang] [libunwind] [mlir] [libcxxabi] [clang-tools-extra] [lld] [llvm] [compiler-rt] [libcxx] [libc] [libclc] [libc++][ranges] Implement ranges::contains_subrange (PR #66963)

2024-01-09 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 647f5fe641b30c874bab770fced9fcec9b601161 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 01/10] [libc++] Implement ranges::contains_subrange --- libcxx

[lldb] [clang] [clang-tools-extra] [Clang] [c++20] P1907R1: Support for generalized non-type template ar… (PR #77428)

2024-01-09 Thread via cfe-commits
cor3ntin wrote: Sure! I will close this one. I wasn't sure you were around and honestly a bit concerned about all the work that is going to be lost on phabricator. On Tue, Jan 9, 2024, 18:38 Andrey Ali Khan Bolshakov < ***@***.***> wrote: > Have I understood correctly that I should open my own

[clang] [clang][Parser] Pop scope prior VarDecl invalidating by invalid init (PR #77434)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/77434 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [AIX][TOC] Add -mtocdata/-mno-tocdata options on AIX (PR #67999)

2024-01-09 Thread via cfe-commits
https://github.com/diggerlin edited https://github.com/llvm/llvm-project/pull/67999 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clangd] Fix typo (PR #77504)

2024-01-09 Thread via cfe-commits
https://github.com/Nour1248 created https://github.com/llvm/llvm-project/pull/77504 None >From 68af1fcbaade87ec8d20c7a83f20bf4bfba5caf5 Mon Sep 17 00:00:00 2001 From: Nour Fouad Date: Tue, 9 Jan 2024 19:56:42 +0200 Subject: [PATCH] [clangd] Fix typo --- clang-tools-extra/clangd/AST.cpp | 12

[clang-tools-extra] [clangd] Fix typo (PR #77504)

2024-01-09 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 i

[clang-tools-extra] [clangd] Fix typo (PR #77504)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: None (Nour1248) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/77504.diff 1 Files Affected: - (modified) clang-tools-extra/clangd/AST.cpp (+6-6) ``diff diff --git a/clang-tools-extra/clangd/AST.cpp b/clang

[clang] 03a0bfa - [clang][dataflow] Add an early-out to `flowConditionImplies()` / `flowConditionAllows()`. (#77453)

2024-01-09 Thread via cfe-commits
Author: martinboehme Date: 2024-01-09T19:18:54+01:00 New Revision: 03a0bfa96a6eb09c4bbae344ac3aa062339aa730 URL: https://github.com/llvm/llvm-project/commit/03a0bfa96a6eb09c4bbae344ac3aa062339aa730 DIFF: https://github.com/llvm/llvm-project/commit/03a0bfa96a6eb09c4bbae344ac3aa062339aa730.diff

[clang] [clang][dataflow] Add an early-out to `flowConditionImplies()` / `flowConditionAllows()`. (PR #77453)

2024-01-09 Thread via cfe-commits
https://github.com/martinboehme closed https://github.com/llvm/llvm-project/pull/77453 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 1b8e39a - [clang][modules] Objective-C test lacks support on AIX/zOS (#77485)

2024-01-09 Thread via cfe-commits
Author: Jake Egan Date: 2024-01-09T13:40:21-05:00 New Revision: 1b8e39a1a2e8237852914501e3361d98af6db054 URL: https://github.com/llvm/llvm-project/commit/1b8e39a1a2e8237852914501e3361d98af6db054 DIFF: https://github.com/llvm/llvm-project/commit/1b8e39a1a2e8237852914501e3361d98af6db054.diff LOG

[flang] [llvm] [libcxx] [clang-tools-extra] [libcxxabi] [lld] [compiler-rt] [mlir] [libclc] [clang] [lldb] [libunwind] [libc] [libc++][ranges] Implement ranges::contains_subrange (PR #66963)

2024-01-09 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 647f5fe641b30c874bab770fced9fcec9b601161 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 01/10] [libc++] Implement ranges::contains_subrange --- libcxx

[llvm] [flang] [libc] [mlir] [lld] [libunwind] [lldb] [clang-tools-extra] [compiler-rt] [libcxxabi] [libclc] [libcxx] [clang] [libc++][ranges] Implement ranges::contains_subrange (PR #66963)

2024-01-09 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 647f5fe641b30c874bab770fced9fcec9b601161 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 01/11] [libc++] Implement ranges::contains_subrange --- libcxx

[clang] [clang] Add tests for CWG1800-1804 (PR #77509)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Vlad Serebrennikov (Endilll) Changes Covers C++ core issues 1800, 1801, 1802, 1803, 1804. --- Full diff: https://github.com/llvm/llvm-project/pull/77509.diff 2 Files Affected: - (modified) clang/test/CXX/drs/dr18xx.cpp (+160-7) - (modi

[clang] [llvm] [LLVM][DWARF] Fix accelerator swtiching with TU re-use (PR #77511)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-debuginfo Author: Alexander Yermolovich (ayermolo) Changes This bug is triggered when a TU is already created, and we process the same DICompositeType at a top level. We would switch to TU accelerator table, but would not switc

[clang] [clang] Add tests for CWG1800-1804 (PR #77509)

2024-01-09 Thread via cfe-commits
@@ -1,16 +1,169 @@ -// RUN: %clang_cc1 -std=c++98 -triple x86_64-unknown-unknown %s -verify=expected,cxx98 -fexceptions -Wno-deprecated-builtins -fcxx-exceptions -pedantic-errors -// RUN: %clang_cc1 -std=c++11 -triple x86_64-unknown-unknown %s -verify=expected,cxx11-17,since-cx

[clang] [clang] Add tests for CWG1800-1804 (PR #77509)

2024-01-09 Thread via cfe-commits
@@ -1,16 +1,169 @@ -// RUN: %clang_cc1 -std=c++98 -triple x86_64-unknown-unknown %s -verify=expected,cxx98 -fexceptions -Wno-deprecated-builtins -fcxx-exceptions -pedantic-errors -// RUN: %clang_cc1 -std=c++11 -triple x86_64-unknown-unknown %s -verify=expected,cxx11-17,since-cx

[clang] [clang] Add tests for CWG1800-1804 (PR #77509)

2024-01-09 Thread via cfe-commits
@@ -1,16 +1,169 @@ -// RUN: %clang_cc1 -std=c++98 -triple x86_64-unknown-unknown %s -verify=expected,cxx98 -fexceptions -Wno-deprecated-builtins -fcxx-exceptions -pedantic-errors -// RUN: %clang_cc1 -std=c++11 -triple x86_64-unknown-unknown %s -verify=expected,cxx11-17,since-cx

[mlir] [lld] [libunwind] [clang] [libclc] [flang] [libcxxabi] [libc] [llvm] [lldb] [libcxx] [clang-tools-extra] [compiler-rt] [libc++][ranges] Implement ranges::contains_subrange (PR #66963)

2024-01-09 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 647f5fe641b30c874bab770fced9fcec9b601161 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 01/11] [libc++] Implement ranges::contains_subrange --- libcxx

[flang] [compiler-rt] [libcxxabi] [libunwind] [libc] [libcxx] [lld] [libclc] [llvm] [mlir] [clang] [lldb] [clang-tools-extra] [libc++][ranges] Implement ranges::contains_subrange (PR #66963)

2024-01-09 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 647f5fe641b30c874bab770fced9fcec9b601161 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 01/12] [libc++] Implement ranges::contains_subrange --- libcxx

[compiler-rt] [libcxx] [flang] [libcxxabi] [clang] [libclc] [libunwind] [lld] [llvm] [libc] [mlir] [lldb] [clang-tools-extra] [libc++][ranges] Implement ranges::contains_subrange (PR #66963)

2024-01-09 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 647f5fe641b30c874bab770fced9fcec9b601161 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 01/12] [libc++] Implement ranges::contains_subrange --- libcxx

[flang] [compiler-rt] [clang] [libcxxabi] [libc] [clang-tools-extra] [libclc] [lldb] [libcxx] [mlir] [llvm] [libunwind] [lld] [libc++][ranges] Implement ranges::contains_subrange (PR #66963)

2024-01-09 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 647f5fe641b30c874bab770fced9fcec9b601161 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 01/13] [libc++] Implement ranges::contains_subrange --- libcxx

[compiler-rt] [libcxx] [flang] [libcxxabi] [clang] [libclc] [libunwind] [lld] [openmp] [llvm] [libc] [mlir] [lldb] [clang-tools-extra] [libc++][ranges] Implement ranges::contains_subrange (PR #66963)

2024-01-09 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 647f5fe641b30c874bab770fced9fcec9b601161 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 01/13] [libc++] Implement ranges::contains_subrange --- libcxx

[compiler-rt] [libcxx] [flang] [libcxxabi] [clang] [libclc] [libunwind] [lld] [openmp] [llvm] [libc] [mlir] [lldb] [clang-tools-extra] [libc++][ranges] Implement ranges::contains_subrange (PR #66963)

2024-01-09 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 647f5fe641b30c874bab770fced9fcec9b601161 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 01/14] [libc++] Implement ranges::contains_subrange --- libcxx

[flang] [clang] [flang][driver] Add support for -isysroot in the frontend (PR #77365)

2024-01-09 Thread via cfe-commits
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r 0e4a38018a7228d93d72a31d9fae6855f866dded...797e906a23524332f951d20fa0dd6d12b52705c2 flang

[clang] baa8c2a - [Clang] Wide delimiters ('{{{') for expect strings (#77326)

2024-01-09 Thread via cfe-commits
Author: sethp Date: 2024-01-09T12:45:57-08:00 New Revision: baa8c2abcd8da31549996458c9df4871454b0673 URL: https://github.com/llvm/llvm-project/commit/baa8c2abcd8da31549996458c9df4871454b0673 DIFF: https://github.com/llvm/llvm-project/commit/baa8c2abcd8da31549996458c9df4871454b0673.diff LOG: [C

[libclc] [compiler-rt] [lldb] [llvm] [libunwind] [openmp] [lld] [mlir] [clang-tools-extra] [libcxx] [clang] [flang] [ocaml] Fixed typo error about set_module_identifier in llvm ocaml binding (PR #7747

2024-01-09 Thread via cfe-commits
https://github.com/Yujinmon updated https://github.com/llvm/llvm-project/pull/77479 >From b5586e9935d30a587323699aac2213bae5d14174 Mon Sep 17 00:00:00 2001 From: Yujin <78896558+yujin...@users.noreply.github.com> Date: Tue, 9 Jan 2024 23:14:52 +0900 Subject: [PATCH 1/2] fixed typo error about se

[clang] [clang-format] Fix crash involving array designators (PR #77045)

2024-01-09 Thread via cfe-commits
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/77045 >From d9cbbe48b96d27bff3fc926b60d039ed05f00489 Mon Sep 17 00:00:00 2001 From: XDeme Date: Fri, 5 Jan 2024 01:23:16 -0300 Subject: [PATCH 1/7] [clang-format] Fix crash involving array designators and dangling comma

[clang] [clang-format] Add SpaceInParensOption for __attribute__ keyword (PR #77522)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Gedare Bloom (gedare) Changes The __attribute((specifier-list)) currently is formatted based on the SpacesInParensOptions.Other (previously, SpacesInParentheses). This change allows finer control over addition of spaces between the consec

[clang] [Headers][X86] Reformat ia32intrin.h doc to match the other headers (PR #77525)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 @llvm/pr-subscribers-clang Author: Paul T Robinson (pogo59) Changes Doxygen comment style for every other intrinsic-function header uses /// comments, so change ia32intrin.h from the /** style to /// style. While I was in there, change `

[clang] [Headers][X86] Reformat ia32intrin.h doc to match the other headers (PR #77525)

2024-01-09 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 47605ffec8864e989905027b2f56277e2dc8b8fa cd91a7f0e5cacb682cb6280655a8d1112cecaf6a --

[libunwind] [libunwind] Convert a few options from CACHE PATH to CACHE STRING (PR #77534)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-libunwind Author: Martin Storsjö (mstorsjo) Changes This applies the same change as in 760261a3daf98882ccbd177e3133fb4a058f47ad (where they were applied to libcxxabi and libcxx) to libunwind as well. These options can reasonably be set either as an abs

[clang] [clang] [Driver] Treat MuslEABIHF as a hardfloat environment wrt multiarch directories (PR #77536)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Martin Storsjö (mstorsjo) Changes If using multiarch directories with musl, the multiarch directory still uses *-linux-gnu triples - which may or may not be intentional, while it is somewhat consistent at least. However, for musl

[clang] [clang] [Driver] Treat MuslEABIHF as a hardfloat environment wrt multiarch directories (PR #77536)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Martin Storsjö (mstorsjo) Changes If using multiarch directories with musl, the multiarch directory still uses *-linux-gnu triples - which may or may not be intentional, while it is somewhat consistent at least. However, for musl armhf t

[llvm] [compiler-rt] [clang] [mlir] [lldb] [libcxxabi] [libunwind] [lld] [libclc] [libc] [flang] [clang-tools-extra] [openmp] [libcxx] [libc++][ranges] Implement ranges::contains_subrange (PR #66963)

2024-01-09 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 647f5fe641b30c874bab770fced9fcec9b601161 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 01/14] [libc++] Implement ranges::contains_subrange --- libcxx

[llvm] [compiler-rt] [clang] [mlir] [lldb] [libcxxabi] [libunwind] [lld] [libclc] [libc] [flang] [clang-tools-extra] [openmp] [libcxx] [libc++][ranges] Implement ranges::contains_subrange (PR #66963)

2024-01-09 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 647f5fe641b30c874bab770fced9fcec9b601161 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 01/15] [libc++] Implement ranges::contains_subrange --- libcxx

[clang-tools-extra] [mlir] [clang] [llvm] [emacs] Fix Emacs library formatting (PR #76110)

2024-01-09 Thread via cfe-commits
darkfeline wrote: @d0k @r4nt @kirillbobyrev @jpienaar tagging people based on git blame on the files, apologies in advance if you aren't the right persons for this. https://github.com/llvm/llvm-project/pull/76110 ___ cfe-commits mailing list cfe-commi

[clang] [CMake] Deprecate GCC_INSTALL_PREFIX (PR #77537)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Fangrui Song (MaskRay) Changes Part of https://reviews.llvm.org/D158218 GCC_INSTALL_PREFIX is a rarely-used legacy option inherited from pre-CMake build system and has configuration file replacement nowadays. Many `clang/test/Driver` tests

[clang-tools-extra] feb49bb - [clangd] Fix typo in function name in AST.cpp (#77504)

2024-01-09 Thread via cfe-commits
Author: Nour1248 Date: 2024-01-09T18:58:38-05:00 New Revision: feb49bb42433c55a206489d4c8dafd940c019e30 URL: https://github.com/llvm/llvm-project/commit/feb49bb42433c55a206489d4c8dafd940c019e30 DIFF: https://github.com/llvm/llvm-project/commit/feb49bb42433c55a206489d4c8dafd940c019e30.diff LOG:

[clang] 4694421 - [clang][Parser] Pop scope prior VarDecl invalidating by invalid init (#77434)

2024-01-09 Thread via cfe-commits
Author: Ding Fei Date: 2024-01-10T08:49:36+08:00 New Revision: 46944210ebd93765b068eeba22bd3e337099af3e URL: https://github.com/llvm/llvm-project/commit/46944210ebd93765b068eeba22bd3e337099af3e DIFF: https://github.com/llvm/llvm-project/commit/46944210ebd93765b068eeba22bd3e337099af3e.diff LOG:

[mlir] [clang-tools-extra] [lld] [llvm] [lldb] [compiler-rt] [clang] [libc] [libcxxabi] [flang] [libcxx] [Mips] Fix unable to handle inline assembly ends with compat-branch o… (PR #77291)

2024-01-09 Thread via cfe-commits
yingopq wrote: @topperc Could you help review this patch? Thanks. https://github.com/llvm/llvm-project/pull/77291 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[openmp] [mlir] [libunwind] [clang-tools-extra] [lld] [llvm] [lldb] [compiler-rt] [libclc] [clang] [flang] [libcxx] [ocaml] Fixed typo error about set_module_identifier in llvm ocaml binding (PR #7747

2024-01-09 Thread via cfe-commits
https://github.com/Yujinmon updated https://github.com/llvm/llvm-project/pull/77479 >From b5586e9935d30a587323699aac2213bae5d14174 Mon Sep 17 00:00:00 2001 From: Yujin <78896558+yujin...@users.noreply.github.com> Date: Tue, 9 Jan 2024 23:14:52 +0900 Subject: [PATCH 1/3] fixed typo error about se

[clang] [Clang] Implement the 'counted_by' attribute (PR #76348)

2024-01-09 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 061e4f24b24a3b59d73a94dc6f2f0d21a2b7beac 557604301ab98d89b5ddf6d857d85326d7d3da3d --

[clang] [Clang] Use const pointer to eliminate warning with libxml 2.12.0 (PR #76719)

2024-01-09 Thread via cfe-commits
FantasqueX wrote: Gently ping~ https://github.com/llvm/llvm-project/pull/76719 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-cl] document correct defaults for `-fms-compatibility-version` / `-fmsc-version` (PR #76418)

2024-01-09 Thread via cfe-commits
h-vetinari wrote: Gentle ping @llvm/pr-subscribers-clang, could someone have a look and merge this? 🙃 https://github.com/llvm/llvm-project/pull/76418 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listi

[clang] [Sema] Use lexical DC for friend functions when getting constraint instantiation args (PR #77552)

2024-01-09 Thread via cfe-commits
https://github.com/antangelo created https://github.com/llvm/llvm-project/pull/77552 Fixes a crash where the template argument depth computed in the semantic context for a friend FunctionDecl with a constrained parameter is compared against arguments in the lexical context for the purpose of c

[clang] [Sema] Use lexical DC for friend functions when getting constraint instantiation args (PR #77552)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (antangelo) Changes Fixes a crash where the template argument depth computed in the semantic context for a friend FunctionDecl with a constrained parameter is compared against arguments in the lexical context for the purpose of check

[clang] [clang-format] Fix crash involving array designators (PR #77045)

2024-01-09 Thread via cfe-commits
@@ -2315,6 +2315,8 @@ bool UnwrappedLineParser::tryToParseLambdaIntroducer() { if (Next->is(tok::greater)) return false; } + if (tok::isLiteral(FormatTok->Tok.getKind())) +return false; XDeme wrote: With this change this code will crash: ```cp

[clang] [clang-format] Fix crash involving array designators (PR #77045)

2024-01-09 Thread via cfe-commits
https://github.com/XDeme deleted https://github.com/llvm/llvm-project/pull/77045 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Fix crash involving array designators (PR #77045)

2024-01-09 Thread via cfe-commits
@@ -2315,6 +2315,8 @@ bool UnwrappedLineParser::tryToParseLambdaIntroducer() { if (Next->is(tok::greater)) return false; } + if (tok::isLiteral(FormatTok->Tok.getKind())) +return false; XDeme wrote: With this change, a code like this will cras

[clang] [clang-format] Fix crash involving array designators (PR #77045)

2024-01-09 Thread via cfe-commits
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/77045 >From d9cbbe48b96d27bff3fc926b60d039ed05f00489 Mon Sep 17 00:00:00 2001 From: XDeme Date: Fri, 5 Jan 2024 01:23:16 -0300 Subject: [PATCH 1/8] [clang-format] Fix crash involving array designators and dangling comma

[clang] [clang-format] Fix crash involving array designators (PR #77045)

2024-01-09 Thread via cfe-commits
https://github.com/XDeme edited https://github.com/llvm/llvm-project/pull/77045 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Fix crash involving array designators (PR #77045)

2024-01-09 Thread via cfe-commits
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/77045 >From d9cbbe48b96d27bff3fc926b60d039ed05f00489 Mon Sep 17 00:00:00 2001 From: XDeme Date: Fri, 5 Jan 2024 01:23:16 -0300 Subject: [PATCH 1/9] [clang-format] Fix crash involving array designators and dangling comma

[clang-tools-extra] lsOutgoing calls (PR #77556)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: Nathan Ridge (HighCommander4) Changes --- Patch is 49.27 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/77556.diff 23 Files Affected: - (modified) clang-tools-extra/clangd/ClangdLSPServer.

[clang] [PowerPC] Make "ca" aliased to "xer" (PR #77557)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kai Luo (bzEq) Changes `ca` is not accepted in clobber list of inline assembly right now. Make `ca` aliased to `xer`, so it can be accepted in clobber list. Fixes #77549. --- Full diff: https://github.com/llvm/llvm-project/pull/77557.dif

[clang] [PowerPC] Make "ca" aliased to "xer" (PR #77557)

2024-01-09 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 db78c30ba772af1466bb0d0c1d376c8e642ee4a9 aaee97fb9f7bef5ff4e3f845fa29d45e9c7a83b0 --

[llvm] [clang] riscv vector cc (PR #77560)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Author: Brandon Wu (4vtomat) Changes [RISCV] RISCV vector calling convention (1/2) This is the vector calling convention based on https://github.com/riscv-non-isa/riscv-elf-psabi-doc, the idea is to split between "scalar"

[llvm] [clang] riscv vector cc (PR #77560)

2024-01-09 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 7388b7422f9307dd5ae3fe3876a676d83d702daf 3e000d49ecc3769efa2051332c04163b84b0f9ae --

[clang] [clang] Add tests for CWG1800-1804 (PR #77509)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/77509 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] efcf192 - Changed Checks from TriviallyCopyable to TriviallyCopyConstructible (#77194)

2024-01-09 Thread via cfe-commits
Author: Bhuminjay Soni Date: 2024-01-10T08:27:58+01:00 New Revision: efcf192a0a5993165f837ce71250fb6df689634b URL: https://github.com/llvm/llvm-project/commit/efcf192a0a5993165f837ce71250fb6df689634b DIFF: https://github.com/llvm/llvm-project/commit/efcf192a0a5993165f837ce71250fb6df689634b.diff

[clang] Changed Checks from TriviallyCopyable to TriviallyCopyConstructible (PR #77194)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin closed https://github.com/llvm/llvm-project/pull/77194 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Sema] Use lexical DC for friend functions when getting constraint instantiation args (PR #77552)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. LGTM. Do you need me to merge that for you? https://github.com/llvm/llvm-project/pull/77552 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/

[clang] [Clang][Parser] pop explicitly to keep context stack balance (PR #77312)

2024-01-09 Thread via cfe-commits
cor3ntin wrote: This looks like a duplicate of https://github.com/llvm/llvm-project/pull/77312 @danix800 https://github.com/llvm/llvm-project/pull/77312 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/li

[clang] Fix crash with modules and constexpr destructor (PR #69076)

2024-01-09 Thread via cfe-commits
cor3ntin wrote: This change needs a release note. Please add an entry to `clang/docs/ReleaseNotes.rst` in the section the most adapted to the change, and referencing any Github issue this change fixes. Thanks! https://github.com/llvm/llvm-project/pull/69076

[clang] [clang] Add tests for DRs about complete-class context (PR #77444)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin edited https://github.com/llvm/llvm-project/pull/77444 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Add tests for DRs about complete-class context (PR #77444)

2024-01-09 Thread via cfe-commits
@@ -42,6 +42,28 @@ namespace dr1611 { // dr1611: dup 1658 C c; } +namespace dr1626 { // dr1626: no open +// FIXME: current consensus for CWG2335 is that the examples are well-formed. cor3ntin wrote: It is not clear from https://www.open-std.org/jtc1/sc22/w

[clang] [clang] Add tests for DRs about complete-class context (PR #77444)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. LGTM modulo comment https://github.com/llvm/llvm-project/pull/77444 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][coverage] fixing "if constexpr" and "if consteval" coverage report (PR #77214)

2024-01-09 Thread via cfe-commits
Hana =?utf-8?q?Dusi=CC=81kova=CC=81?= Message-ID: In-Reply-To: https://github.com/cor3ntin approved this pull request. LGTM @hanickadot do you need me to merge that for you? https://github.com/llvm/llvm-project/pull/77214 ___ cfe-commits mailing lis

[clang] [AST] Mark the fallthrough coreturn statement implicit. (PR #77465)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin edited https://github.com/llvm/llvm-project/pull/77465 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AST] Mark the fallthrough coreturn statement implicit. (PR #77465)

2024-01-09 Thread via cfe-commits
@@ -1743,7 +1743,7 @@ bool CoroutineStmtBuilder::makeOnFallthrough() { return false; } else if (HasRVoid) { Fallthrough = S.BuildCoreturnStmt(FD.getLocation(), nullptr, - /*IsImplicit*/false); +

[clang] [AST] Mark the fallthrough coreturn statement implicit. (PR #77465)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. LGTM modulo nit https://github.com/llvm/llvm-project/pull/77465 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Interp] Implement __builtin_addressof (PR #77303)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. LGTM modulo comment https://github.com/llvm/llvm-project/pull/77303 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Interp] Implement __builtin_addressof (PR #77303)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin edited https://github.com/llvm/llvm-project/pull/77303 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Interp] Implement __builtin_addressof (PR #77303)

2024-01-09 Thread via cfe-commits
@@ -613,15 +615,34 @@ static bool interp__builtin_ffs(InterpState &S, CodePtr OpPC, return true; } +static bool interp__builtin_addressof(InterpState &S, CodePtr OpPC, + const InterpFrame *Frame, + co

<    49   50   51   52   53   54   55   56   57   58   >