[clang] [Sema] When checking for constraint equivalence, do not calculate satisfaction (PR #74490)

2023-12-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Ilya Biryukov (ilya-biryukov) Changes ... and only look at equivalence of substituted expressions, not results of constraint satisfaction. Fixes #74314. There is already some existing machinery for that in `TemplateInstantiator` and `Se

[clang] c568927 - [SystemZ] Properly support 16 byte atomic int/fp types and ops. (#73134)

2023-12-05 Thread via cfe-commits
Author: Jonas Paulsson Date: 2023-12-05T17:17:21+01:00 New Revision: c568927f3e2e7d9804ea74ecbf11c16c014ddcbc URL: https://github.com/llvm/llvm-project/commit/c568927f3e2e7d9804ea74ecbf11c16c014ddcbc DIFF: https://github.com/llvm/llvm-project/commit/c568927f3e2e7d9804ea74ecbf11c16c014ddcbc.diff

[clang] 4e0275a - [Driver] Mark -arch as TargetSpecific (#74365)

2023-12-05 Thread via cfe-commits
Author: Fangrui Song Date: 2023-12-05T08:27:55-08:00 New Revision: 4e0275a2c8f7f94cc1aacf4803fc827fad8f56d4 URL: https://github.com/llvm/llvm-project/commit/4e0275a2c8f7f94cc1aacf4803fc827fad8f56d4 DIFF: https://github.com/llvm/llvm-project/commit/4e0275a2c8f7f94cc1aacf4803fc827fad8f56d4.diff

[clang] 5ad3a32 - [clang][modules] Reset codegen options (take 2). (#74388)

2023-12-05 Thread via cfe-commits
Author: Juergen Ributzka Date: 2023-12-05T08:31:21-08:00 New Revision: 5ad3a32c79319b0721cb26398946b9a59b50d264 URL: https://github.com/llvm/llvm-project/commit/5ad3a32c79319b0721cb26398946b9a59b50d264 DIFF: https://github.com/llvm/llvm-project/commit/5ad3a32c79319b0721cb26398946b9a59b50d264.di

[clang] [llvm] Include LLVM_VERSION_SUFFIX in the Clang version string. (PR #74469)

2023-12-05 Thread via cfe-commits
@@ -650,6 +652,7 @@ if (CLANG_ENABLE_BOOTSTRAP) CLANG_VERSION_MAJOR CLANG_VERSION_MINOR CLANG_VERSION_PATCHLEVEL +CLANG_VERSION_SUFFIX zmodem wrote: D'oh, I made assumptions about the context without looking :/ All good then! https://github.co

[clang] [analyzer] Move alpha checker EnumCastOutOfRange to optin (PR #67157)

2023-12-05 Thread via cfe-commits
=?utf-8?q?Donát?= Nagy Message-ID: In-Reply-To: https://github.com/DonatNagyE updated https://github.com/llvm/llvm-project/pull/67157 >From 5c42d3e5286e041e22776fa496d884454640ffec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Don=C3=A1t=20Nagy?= Date: Fri, 22 Sep 2023 17:22:53 +0200 Subject: [PA

[lldb] [libc] [compiler-rt] [llvm] [flang] [libcxx] [lld] [clang] [clang-tools-extra] [Clang] Fix linker error for function multiversioning (PR #71706)

2023-12-05 Thread via cfe-commits
https://github.com/elizabethandrews updated https://github.com/llvm/llvm-project/pull/71706 >From 534fad70af45a6a22ba2d03f474089e896f4fcd6 Mon Sep 17 00:00:00 2001 From: Elizabeth Andrews Date: Thu, 26 Oct 2023 08:53:54 -0700 Subject: [PATCH 1/4] [Clang] Fix linker error for function multivers

[clang] [llvm] [Sema] Implement support for -Wformat-signedness (PR #74440)

2023-12-05 Thread via cfe-commits
@@ -918,6 +918,9 @@ def Wdeprecated : Flag<["-"], "Wdeprecated">, Group, HelpText<"Enable warnings for deprecated constructs and define __DEPRECATED">; def Wno_deprecated : Flag<["-"], "Wno-deprecated">, Group, Visibility<[ClangOption, CC1Option]>; +def Wformat_signedness

[clang] [llvm] [Sema] Implement support for -Wformat-signedness (PR #74440)

2023-12-05 Thread via cfe-commits
@@ -0,0 +1,107 @@ +// RUN: %clang_cc1 -std=c11 -fsyntax-only -verify -Wformat -Wformat-signedness %s + +int printf(const char *restrict format, ...); +int scanf(const char * restrict, ...); apple-fcloutier wrote: Please add tests with enum values: ```c #include

[clang] 31aebdd - Include LLVM_VERSION_SUFFIX in the Clang version string. (#74469)

2023-12-05 Thread via cfe-commits
Author: James Y Knight Date: 2023-12-05T12:20:12-05:00 New Revision: 31aebdd8919b7bef4bbfe1d7988708215a8b953f URL: https://github.com/llvm/llvm-project/commit/31aebdd8919b7bef4bbfe1d7988708215a8b953f DIFF: https://github.com/llvm/llvm-project/commit/31aebdd8919b7bef4bbfe1d7988708215a8b953f.diff

[clang] [Sema] Warning for _Float16 passed to format specifier '%f' (PR #74439)

2023-12-05 Thread via cfe-commits
apple-fcloutier wrote: Should this only apply in C23 mode? Standard behavior until C23 is that `_Float16` promotes to `double`. What about C++? https://github.com/llvm/llvm-project/pull/74439 ___ cfe-commits mailing list cfe-commits@lists.llvm.org htt

[clang] [llvm] [LLVM][IR] Add native vector support to ConstantInt & ConstantFP. (PR #74502)

2023-12-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis @llvm/pr-subscribers-llvm-transforms Author: Paul Walker (paulwalker-arm) Changes [LLVM][IR] Add native vector support to ConstantInt & ConstantFP. NOTE: For brevity the following takes about ConstantInt but everything extends to cover Con

[clang] [llvm] [LLVM][IR] Add native vector support to ConstantInt & ConstantFP. (PR #74502)

2023-12-05 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 989e8f9d51e6945905b0e26148574c8e1fa88c84 d2ff1c7015265fb26d88b3f574d648f519ea531c --

[clang] [analyzer] EnumCastOutOfRangeChecker: report the value (PR #74503)

2023-12-05 Thread via cfe-commits
https://github.com/DonatNagyE created https://github.com/llvm/llvm-project/pull/74503 ...that is causing the bug report when it's converted to the enum type. This commit only improves the diagnostics and does not affect the set of reports. >From 747642a5f2dad784b1c9af20d33d12bc509f909e Mon Sep

[clang] [analyzer] EnumCastOutOfRangeChecker: report the value (PR #74503)

2023-12-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (DonatNagyE) Changes ...that is causing the bug report when it's converted to the enum type. This commit only improves the diagnostics and does not affect the set of reports. --- Patch is 26.77 KiB, truncated to 20.00 KiB below, ful

[clang] [analyzer] Move alpha checker EnumCastOutOfRange to optin (PR #67157)

2023-12-05 Thread via cfe-commits
=?utf-8?q?Donát?= Nagy Message-ID: In-Reply-To: DonatNagyE wrote: > > Before merging this PR, the diagnostics of the EnumCast checker should be > > updated to mention the name of the `enum` type in question. @gamesh411 > > could you create a PR that implements this improvement (as we discuss

[clang] Fix tests clang-offload-bundler-zlib/zstd.c (PR #74504)

2023-12-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-driver Author: Yaxun (Sam) Liu (yxsamliu) Changes The test fails intermittently due to non-unique file name %T. Use %t based file names instead. Fixes: https://github.com/llvm/llvm-project/issues/74472 --- Full diff: h

[clang-tools-extra] [clang-tidy] add modernize-use-std-numbers (PR #66583)

2023-12-05 Thread via cfe-commits
https://github.com/EugeneZelenko requested changes to this pull request. https://github.com/llvm/llvm-project/pull/66583 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] add modernize-use-std-numbers (PR #66583)

2023-12-05 Thread via cfe-commits
@@ -193,6 +193,13 @@ New checks replacing with ``starts_with`` when the method exists in the class. Notably, this will work with ``std::string`` and ``std::string_view``. +- New :doc:`modernize-use-std-numbers + ` check. + + Finds constants and function calls to math fun

[clang-tools-extra] [clang-tidy] add modernize-use-std-numbers (PR #66583)

2023-12-05 Thread via cfe-commits
https://github.com/EugeneZelenko edited https://github.com/llvm/llvm-project/pull/66583 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] add modernize-use-std-numbers (PR #66583)

2023-12-05 Thread via cfe-commits
@@ -5,7 +5,7 @@ modernize-use-std-numbers Finds constants and function calls to math functions that can be replaced with c++20's mathematical constants from the ``numbers`` header and offers fix-it hints. -Does not match the use of variables or macros with that value and inst

[clang-tools-extra] [clang-tidy] add modernize-use-std-numbers (PR #66583)

2023-12-05 Thread via cfe-commits
@@ -0,0 +1,73 @@ +.. title:: clang-tidy - modernize-use-std-numbers + +modernize-use-std-numbers += + +Finds constants and function calls to math functions that can be replaced +with c++20's mathematical constants from the ``numbers`` header and offers +fix

[clang-tools-extra] [clang-tidy] add modernize-use-std-numbers (PR #66583)

2023-12-05 Thread via cfe-commits
@@ -0,0 +1,73 @@ +.. title:: clang-tidy - modernize-use-std-numbers + +modernize-use-std-numbers += + +Finds constants and function calls to math functions that can be replaced +with c++20's mathematical constants from the ``numbers`` header and offers +fix

[clang-tools-extra] [clang-tidy] add modernize-use-std-numbers (PR #66583)

2023-12-05 Thread via cfe-commits
@@ -0,0 +1,73 @@ +.. title:: clang-tidy - modernize-use-std-numbers + +modernize-use-std-numbers += + +Finds constants and function calls to math functions that can be replaced +with c++20's mathematical constants from the ``numbers`` header and offers

[clang] Fix tests clang-offload-bundler-zlib/zstd.c (PR #74504)

2023-12-05 Thread via cfe-commits
https://github.com/eddyz87 approved this pull request. Makes sense, let's hope it fixes CI. Strange that I haven't observed this bug on x86 runners but maybe just needed to dig deeper in run history. https://github.com/llvm/llvm-project/pull/74504 ___

[clang] [clang] Disable missing definition warning on pure virtual functions (PR #74510)

2023-12-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Charalampos Mitrodimas (charmitro) Changes Warning '-Wundefined-func-template' incorrectly indicates that no definition is available for a pure virtual function. However, a definition is not needed for a pure virtual function. Fixes #740

[clang] [clang] Avoid -Wshadow warning when init-capture named same as class field (PR #74512)

2023-12-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Mariya Podchishchaeva (Fznamznon) Changes Shadowing warning doesn't make much sense since field is not available in lambda's body without capturing this. Fixes https://github.com/llvm/llvm-project/issues/71976 --- Full diff: https://git

[clang-tools-extra] [clang-tidy] add modernize-use-std-numbers (PR #66583)

2023-12-05 Thread via cfe-commits
@@ -193,6 +193,13 @@ New checks replacing with ``starts_with`` when the method exists in the class. Notably, this will work with ``std::string`` and ``std::string_view``. +- New :doc:`modernize-use-std-numbers + ` check. + + Finds constants and function calls to math fun

[clang] [Driver] Add riscv64-suse-linux triple (PR #74513)

2023-12-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Andreas Schwab (andreas-schwab) Changes Fixes: 72256 --- Full diff: https://github.com/llvm/llvm-project/pull/74513.diff 1 Files Affected: - (modified) clang/lib/Driver/ToolChains/Gnu.cpp (+2-1) ``diff diff --git a/cl

[clang] [Driver] Add riscv64-suse-linux triple (PR #74513)

2023-12-05 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 3d21b5603835fcd1de8d0565c3324e36fed21ff1 b5bc870a7609629672f5d7a0758941f61c25115d --

[llvm] [lldb] [flang] [lld] [libc] [clang] [compiler-rt] [clang-tools-extra] [libcxx] [Clang] Fix linker error for function multiversioning (PR #71706)

2023-12-05 Thread via cfe-commits
https://github.com/elizabethandrews updated https://github.com/llvm/llvm-project/pull/71706 >From 534fad70af45a6a22ba2d03f474089e896f4fcd6 Mon Sep 17 00:00:00 2001 From: Elizabeth Andrews Date: Thu, 26 Oct 2023 08:53:54 -0700 Subject: [PATCH 1/5] [Clang] Fix linker error for function multivers

[clang] af03e29 - [clang][NFC] Refactor expected directives in C++ DRs 600-699 (#74477)

2023-12-05 Thread via cfe-commits
Author: Vlad Serebrennikov Date: 2023-12-05T23:49:44+04:00 New Revision: af03e2928971bbed2901e096b446e1e1a078de43 URL: https://github.com/llvm/llvm-project/commit/af03e2928971bbed2901e096b446e1e1a078de43 DIFF: https://github.com/llvm/llvm-project/commit/af03e2928971bbed2901e096b446e1e1a078de43.

[lldb] [libcxx] [clang] [clang-tools-extra] [llvm] [lld] [compiler-rt] [libc] [flang] [Clang] Fix linker error for function multiversioning (PR #71706)

2023-12-05 Thread via cfe-commits
elizabethandrews wrote: Thanks for reviews everyone! I think I have addressed all pending comments. I will merge the PR in a couple of hours unless someone has remaining concerns. https://github.com/llvm/llvm-project/pull/71706 ___ cfe-commits mailin

[clang] [OpenACC] Implement 'cache' construct parsing (PR #74324)

2023-12-05 Thread via cfe-commits
@@ -268,6 +270,71 @@ ExprResult Parser::ParseOpenACCRoutineName() { return getActions().CorrectDelayedTyposInExpr(Res); } +void Parser::ParseOpenACCCacheVar() { + ExprResult ArrayName = ParseOpenACCIDExpression(); + // FIXME: Pass this to Sema. + (void)ArrayName; + + //

[clang] [clang] Avoid -Wshadow warning when init-capture named same as class field (PR #74512)

2023-12-05 Thread via cfe-commits
https://github.com/cor3ntin edited https://github.com/llvm/llvm-project/pull/74512 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Avoid -Wshadow warning when init-capture named same as class field (PR #74512)

2023-12-05 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. LGTM modulo nitpick. Thanks a lot for the quick fix https://github.com/llvm/llvm-project/pull/74512 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/l

[clang] [clang] Avoid -Wshadow warning when init-capture named same as class field (PR #74512)

2023-12-05 Thread via cfe-commits
@@ -655,6 +655,9 @@ Bug Fixes in This Version Fixes (`#64467 `_) - Clang's ``-Wchar-subscripts`` no longer warns on chars whose values are known non-negative constants. Fixes (`#18763

[clang] [clang] Disable missing definition warning on pure virtual functions (PR #74510)

2023-12-05 Thread via cfe-commits
@@ -4952,7 +4952,8 @@ void Sema::InstantiateFunctionDefinition(SourceLocation PointOfInstantiation, std::make_pair(Function, PointOfInstantiation)); } else if (TSK == TSK_ImplicitInstantiation) { if (AtEndOfTU && !getDiagnostics().hasErrorOccurred() && -

[clang] [OpenACC] Implement 'cache' construct parsing (PR #74324)

2023-12-05 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. Thanks! https://github.com/llvm/llvm-project/pull/74324 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [lld] [compiler-rt] [libcxx] [clang] [llvm] [lldb] [libc] [flang] [Clang] Fix linker error for function multiversioning (PR #71706)

2023-12-05 Thread via cfe-commits
https://github.com/DanielKristofKiss approved this pull request. https://github.com/llvm/llvm-project/pull/71706 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Exclude non-template classes when checking if constraint refers to containing template arguments (PR #74265)

2023-12-05 Thread via cfe-commits
@@ -0,0 +1,34 @@ +// RUN: %clang_cc1 -std=c++20 -verify %s + +template +concept C = true; + +class non_temp { +template T> +friend void f(); + +non_temp(); +}; + +template T> +void f() { +auto v = non_temp(); +} + +template +class temp { +template T> +frien

[clang] [clang] Disable missing definition warning on pure virtual functions (PR #74510)

2023-12-05 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 d6fbd96e5eaf3e8acbf1b43dce7a311352907567 1140e0094137614ad9917276f5324cbea4f2e0f9 --

[clang] cee5b87 - [Clang] Fix linker error for function multiversioning (#71706)

2023-12-05 Thread via cfe-commits
Author: elizabethandrews Date: 2023-12-05T18:11:53-05:00 New Revision: cee5b8777fa98312b05bf8aa81554910a8f867c5 URL: https://github.com/llvm/llvm-project/commit/cee5b8777fa98312b05bf8aa81554910a8f867c5 DIFF: https://github.com/llvm/llvm-project/commit/cee5b8777fa98312b05bf8aa81554910a8f867c5.di

[flang] [clang-tools-extra] [compiler-rt] [libcxx] [lld] [llvm] [clang] [libc] [lldb] [Clang] Fix linker error for function multiversioning (PR #71706)

2023-12-05 Thread via cfe-commits
https://github.com/elizabethandrews closed https://github.com/llvm/llvm-project/pull/71706 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 07157db - [clang][tidy] Ensure rewriter has the correct CWD (#67839)

2023-12-05 Thread via cfe-commits
Author: Jan Svoboda Date: 2023-12-05T15:35:55-08:00 New Revision: 07157db81d4421ced9fcf9a2002255c2a3a80d49 URL: https://github.com/llvm/llvm-project/commit/07157db81d4421ced9fcf9a2002255c2a3a80d49 DIFF: https://github.com/llvm/llvm-project/commit/07157db81d4421ced9fcf9a2002255c2a3a80d49.diff L

[clang] [clang] Add per-global code model attribute (PR #72078)

2023-12-05 Thread via cfe-commits
https://github.com/heiher updated https://github.com/llvm/llvm-project/pull/72078 >From e3863873ab817dacf8680763bb42d91f005fe5ea Mon Sep 17 00:00:00 2001 From: WANG Rui Date: Fri, 10 Nov 2023 21:07:48 -0600 Subject: [PATCH 1/4] [clang] Add per-global code model attribute This patch adds a per-

[clang] [clang] Add per-global code model attribute (PR #72078)

2023-12-05 Thread via cfe-commits
@@ -57,6 +57,16 @@ global variable or function should be in after translation. let Heading = "section, __declspec(allocate)"; } +def CodeModelDocs : Documentation { + let Category = DocCatVariable; + let Content = [{ +The ``model`` attribute allows you to use a different c

[clang] 4699789 - [clang][analyzer][NFC] Supplement comments in `evalFtell` of StreamChecker (#74291)

2023-12-05 Thread via cfe-commits
Author: Ben Shi Date: 2023-12-06T10:26:30+08:00 New Revision: 4699789249e6945c46cdbecd1fee493cbe553c66 URL: https://github.com/llvm/llvm-project/commit/4699789249e6945c46cdbecd1fee493cbe553c66 DIFF: https://github.com/llvm/llvm-project/commit/4699789249e6945c46cdbecd1fee493cbe553c66.diff LOG:

[clang] aeaae53 - [clang-format] Add "three dot" diff option to git-clang-format (#74230)

2023-12-05 Thread via cfe-commits
Author: Aiden Grossman Date: 2023-12-05T19:19:21-08:00 New Revision: aeaae5311b8d4bbcfe7ef5cff722ea36b038c0ad URL: https://github.com/llvm/llvm-project/commit/aeaae5311b8d4bbcfe7ef5cff722ea36b038c0ad DIFF: https://github.com/llvm/llvm-project/commit/aeaae5311b8d4bbcfe7ef5cff722ea36b038c0ad.diff

[clang-tools-extra] [clang] [llvm] [XCOFF][obj2yaml] support parsing auxiliary symbols for XCOFF (PR #70642)

2023-12-05 Thread via cfe-commits
@@ -106,6 +126,210 @@ Error XCOFFDumper::dumpSections(ArrayRef Sections) { return Error::success(); } +Error XCOFFDumper::dumpFileAuxSym(XCOFFYAML::Symbol &Sym, + const XCOFFSymbolRef &SymbolEntRef) { + for (uint8_t I = 1; I <= Sym.NumberOfA

[clang] ANDROID: AArch64: Change default max-page-size from 4k to 16k (PR #70251)

2023-12-05 Thread via cfe-commits
pirama-arumuga-nainar wrote: cc: @nico https://github.com/llvm/llvm-project/pull/70251 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Add separate C++23 extension flag for attrs on lambda (PR #74553)

2023-12-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Utkarsh Saxena (usx95) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/74553.diff 4 Files Affected: - (modified) clang/include/clang/Basic/DiagnosticGroups.td (+3-1) - (modified) clang/include/clang/Basic/DiagnosticPa

[clang] [clang] Disable missing definition warning on pure virtual functions (PR #74510)

2023-12-05 Thread via cfe-commits
cor3ntin wrote: Can you add a release note indicating https://github.com/llvm/llvm-project/issues/74016 was fixed? Otherwise LGTM. If you wanted to make a follow up {R to rename `isPure` to `isPureVirtual`, i think that might be helpful (to avoid confusion with the `gnu::pure` attribute) http

[clang] [libc] [llvm] [clang-tools-extra] [compiler-rt] [flang] [clang] Exclude non-template classes when checking if constraint refers to containing template arguments (PR #74265)

2023-12-05 Thread via cfe-commits
https://github.com/antangelo updated https://github.com/llvm/llvm-project/pull/74265 >From a8e841657b9816a78f6eb1520c8513454fe0008b Mon Sep 17 00:00:00 2001 From: Antonio Abbatangelo Date: Tue, 28 Nov 2023 21:19:13 -0500 Subject: [PATCH 1/2] [clang] Exclude non-template classes when checking if

[clang] [clang-format][NFC] Refactor getting first/last non-comment of line (PR #74570)

2023-12-05 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/74570.diff 2 Files Affected: - (modified) clang/lib/Format/TokenAnnotator.h (+5) - (modified) clang/lib/Format/UnwrappedLineFormatter.cpp (+6-13

[clang] [clang] Disable missing definition warning on pure virtual functions (PR #74510)

2023-12-06 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. LGTM, thanks https://github.com/llvm/llvm-project/pull/74510 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [AArch64] Add soft-float ABI (PR #74460)

2023-12-06 Thread via cfe-commits
https://github.com/ostannard updated https://github.com/llvm/llvm-project/pull/74460 >From 316854b6558811aaa03b9f96be1849e0426f8aac Mon Sep 17 00:00:00 2001 From: Oliver Stannard Date: Fri, 1 Dec 2023 10:06:57 + Subject: [PATCH 1/6] [AArch64] Split feature tests for FP and SIMD AArch64Targ

[llvm] [clang] [AArch64] Add soft-float ABI (PR #74460)

2023-12-06 Thread via cfe-commits
@@ -534,7 +540,8 @@ Address AArch64ABIInfo::EmitAAPCSVAArg(Address VAListAddr, QualType Ty, BaseTy = ArrTy->getElementType(); NumRegs = ArrTy->getNumElements(); } - bool IsFPR = BaseTy->isFloatingPointTy() || BaseTy->isVectorTy(); + bool IsFPR = Kind == AArch64ABIK

[llvm] [clang] [AArch64] Add soft-float ABI (PR #74460)

2023-12-06 Thread via cfe-commits
ostannard wrote: > I'm a little surprised we don't need any LLVM backend changes, but I guess in > soft-float mode we basically treat floats as ints anyway, so maybe things > just work. I'd like to see appropriate regression tests, though (if they > don't already exist). Yes, the backend alre

[clang] 6704d6a - [SME2] Add LUTI2 and LUTI4 quad Builtins and Intrinsics (#73317)

2023-12-06 Thread via cfe-commits
Author: Matthew Devereau Date: 2023-12-06T10:08:04Z New Revision: 6704d6aadd34e3b984ef6dbe85b18895beee9831 URL: https://github.com/llvm/llvm-project/commit/6704d6aadd34e3b984ef6dbe85b18895beee9831 DIFF: https://github.com/llvm/llvm-project/commit/6704d6aadd34e3b984ef6dbe85b18895beee9831.diff L

[compiler-rt] [llvm] [clang] [clang-tools-extra] [flang] Use mmap/munmap for allocating memory in emutls when available. (PR #73946)

2023-12-06 Thread via cfe-commits
https://github.com/andre-kempe-arm updated https://github.com/llvm/llvm-project/pull/73946 >From c4293e365638a75e5dcb19c505532279b76271af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Kempe?= Date: Thu, 30 Nov 2023 10:05:28 + Subject: [PATCH] Use mmap/munmap for allocating memory in

[clang] 6b1aa31 - [clang] Substitute alias templates from correct context (#74335)

2023-12-06 Thread via cfe-commits
Author: Mariya Podchishchaeva Date: 2023-12-06T11:14:17+01:00 New Revision: 6b1aa319754e76366edd88e10034e0539710d946 URL: https://github.com/llvm/llvm-project/commit/6b1aa319754e76366edd88e10034e0539710d946 DIFF: https://github.com/llvm/llvm-project/commit/6b1aa319754e76366edd88e10034e0539710d9

[clang] [AArch64][Clang] Fix linker error for function multiversioning (PR #74358)

2023-12-06 Thread via cfe-commits
https://github.com/DanielKristofKiss updated https://github.com/llvm/llvm-project/pull/74358 >From e881c254fbfd5920c4eae895913aa4e6282b2d12 Mon Sep 17 00:00:00 2001 From: Daniel Kiss Date: Mon, 20 Nov 2023 21:21:28 +0100 Subject: [PATCH] [AArch64][Clang] Fix linker error for function multivers

[clang] [AArch64][Clang] Fix linker error for function multiversioning (PR #74358)

2023-12-06 Thread via cfe-commits
https://github.com/DanielKristofKiss updated https://github.com/llvm/llvm-project/pull/74358 >From 4a8fcefbafd5abd5f59545da27b742737dd586b7 Mon Sep 17 00:00:00 2001 From: Daniel Kiss Date: Mon, 20 Nov 2023 21:21:28 +0100 Subject: [PATCH] [AArch64][Clang] Fix linker error for function multivers

[clang] [AArch64][Clang] Fix linker error for function multiversioning (PR #74358)

2023-12-06 Thread via cfe-commits
https://github.com/DanielKristofKiss ready_for_review https://github.com/llvm/llvm-project/pull/74358 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [lldb] [clang][DebugInfo] Revert "emit definitions for constant-initialized static data-members" (PR #74580)

2023-12-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Michael Buch (Michael137) Changes This commit reverts the changes in https://github.com/llvm/llvm-project/pull/71780 and all of its follow-up patches. We got reports of the `.debug_names/.debug_gnu_pubnames/gdb_index/etc.` sections grow

[clang] [lldb] [clang][DebugInfo] Revert "emit definitions for constant-initialized static data-members" (PR #74580)

2023-12-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-debuginfo Author: Michael Buch (Michael137) Changes This commit reverts the changes in https://github.com/llvm/llvm-project/pull/71780 and all of its follow-up patches. We got reports of the `.debug_names/.debug_gnu_pubnames/gdb_index/etc.` sections

[mlir] [compiler-rt] [libc] [flang] [clang] [libcxx] [llvm] [clang-tools-extra] [mlir][nvvm] Introduce `fence.mbarrier.init` (PR #74058)

2023-12-06 Thread via cfe-commits
https://github.com/durga4github approved this pull request. https://github.com/llvm/llvm-project/pull/74058 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [AArch64] Add soft-float ABI (PR #74460)

2023-12-06 Thread via cfe-commits
ktkachov-arm wrote: Changing the ABI through the architecture flags i.e. +nofp has potential to greatly confuse users, who may come from other architectures that have soft-float ABIs already (including 32-bit arm) - Does this also happen when using +nosimd? - What about users like the Linux ke

[clang] [clang][AMDGPU] Update amdgpu_waves_per_eu attr docs (PR #74587)

2023-12-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Pierre van Houtryve (Pierre-vh) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/74587.diff 1 Files Affected: - (modified) clang/include/clang/Basic/AttrDocs.td (+3-2) ``diff diff --git a/clang/include/clang/

[clang] [CUDA][Win32] Add `fma(long double,..)` to math forward declares. (PR #73756)

2023-12-06 Thread via cfe-commits
blinkfrog wrote: I would like to share some thoughts regarding the proposed fix involving the #ifdef _MSC_VER check in the LLVM PR for the fma function ambiguity issue. I am sorry if I say something stupid. In the typical workflow with AdaptiveCpp and CUDA backend on Windows, MSVC is used onl

[clang] [llvm] Irdl (PR #74589)

2023-12-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 50c66600b8c54b24a73e37e0305dd3bf26c19859 7b404ff8ac18a28d161e1deee35ae2e6a053dfe6 --

[clang] [Clang][SVE2p1]Add svboolx2 and svboolx4 types for svcreate, svget, s… (PR #74594)

2023-12-06 Thread via cfe-commits
https://github.com/CarolineConcatto created https://github.com/llvm/llvm-project/pull/74594 …vset According to the PR#257[1] [1]ARM-software/acle#257 Co-authored by: Matthew Devereau >From 037dd51fd05ccd70f10dbf4ca75dd1f45e6548c4 Mon Sep 17 00:00:00 2001 From: Caroline Concatto Date: Wed,

[clang] [Clang][SVE2p1]Add svboolx2 and svboolx4 types for svcreate, svget, s… (PR #74594)

2023-12-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (CarolineConcatto) Changes …vset According to the PR#257[1] [1]ARM-software/acle#257 Co-authored by: Matthew Devereau --- Patch is 21.59 KiB, truncated to 20.00 KiB below, full version: https://github.c

[clang] [llvm] Irdl2 (PR #74596)

2023-12-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 bf454839a1b3e8d2177bec386d81a48ca6dc4733 8e6049c04b61a207f9f209a802bf2bd960261885 --

[clang] 721558a - [OpenACC] Implement 'cache' construct parsing (#74324)

2023-12-06 Thread via cfe-commits
Author: Erich Keane Date: 2023-12-06T06:32:45-08:00 New Revision: 721558ae40ebc996b6a8d51e3d5147f5a8c7d008 URL: https://github.com/llvm/llvm-project/commit/721558ae40ebc996b6a8d51e3d5147f5a8c7d008 DIFF: https://github.com/llvm/llvm-project/commit/721558ae40ebc996b6a8d51e3d5147f5a8c7d008.diff L

[clang] 30faf19 - [SME2] Add LUTI2 and LUTI4 double Builtins and Intrinsics (#73305)

2023-12-06 Thread via cfe-commits
Author: Matthew Devereau Date: 2023-12-06T14:35:11Z New Revision: 30faf19a88c56d064bc372fa325345d35d82902c URL: https://github.com/llvm/llvm-project/commit/30faf19a88c56d064bc372fa325345d35d82902c DIFF: https://github.com/llvm/llvm-project/commit/30faf19a88c56d064bc372fa325345d35d82902c.diff L

[llvm] [clang] [clang-tools-extra] [XCOFF][obj2yaml] support parsing auxiliary symbols for XCOFF (PR #70642)

2023-12-06 Thread via cfe-commits
https://github.com/diggerlin approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/70642 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] Irdl2 (PR #74597)

2023-12-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 721558ae40ebc996b6a8d51e3d5147f5a8c7d008 4e27124fd4a70627a39cf0dd09194e808fb2de69 --

[llvm] [clang] [AArch64] Add soft-float ABI (PR #74460)

2023-12-06 Thread via cfe-commits
ostannard wrote: I originally implemented it this way to avoid making two ABIs valid for one target, but I agree that it would be confusing to have the ABI change automatically. How about we use the `-mabi=` option as you suggest, with values `aapcs` (already accepted by clang) and `aapcs-soft

[clang] [lldb] [clang][DebugInfo] Revert "emit definitions for constant-initialized static data-members" (PR #74580)

2023-12-06 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. Do you need me to merge that for you? https://github.com/llvm/llvm-project/pull/74580 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co

[clang] [lldb] [clang][DebugInfo] Revert "emit definitions for constant-initialized static data-members" (PR #74580)

2023-12-06 Thread via cfe-commits
cor3ntin wrote: See https://github.com/llvm/llvm-project/issues/74070 https://github.com/llvm/llvm-project/pull/74580 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] Test pr (PR #74599)

2023-12-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 a599a6128c2e0032f4b5f05647987f0c8f112932 ffd8053c38ba2d05f70d899dc8605e06cd201bb5 --

[clang] 26f8e14 - [OpenACC] NFC: Stop using 'getSpelling' while parsing OpenACC

2023-12-06 Thread via cfe-commits
Author: erichkeane Date: 2023-12-06T07:12:01-08:00 New Revision: 26f8e1461e24bd71dcd409d1fe88ddc1c7cf5da1 URL: https://github.com/llvm/llvm-project/commit/26f8e1461e24bd71dcd409d1fe88ddc1c7cf5da1 DIFF: https://github.com/llvm/llvm-project/commit/26f8e1461e24bd71dcd409d1fe88ddc1c7cf5da1.diff LO

[clang] c7b3ae5 - [AArch64][SME2] Add multi-vector builtins for cvt (#74450)

2023-12-06 Thread via cfe-commits
Author: Matthew Devereau Date: 2023-12-06T15:35:35Z New Revision: c7b3ae5ab9c8ffc19db00bd6e995d225ac1013e9 URL: https://github.com/llvm/llvm-project/commit/c7b3ae5ab9c8ffc19db00bd6e995d225ac1013e9 DIFF: https://github.com/llvm/llvm-project/commit/c7b3ae5ab9c8ffc19db00bd6e995d225ac1013e9.diff L

[clang] [llvm] Dfp (PR #74604)

2023-12-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 10f7801cff26732b9a757ed42a1e2b89021a61d8 738500fa611d8c730e8b0a6dd4b3539018c99fd4 --

[clang] [analyzer][NFC] Simplify BugType handling in core.BitwiseShift (PR #74609)

2023-12-06 Thread via cfe-commits
https://github.com/DonatNagyE created https://github.com/llvm/llvm-project/pull/74609 Eliminate the `mutable unique_ptr` hack because it's no longer needed. (This cleanup could be done anywhere, I'm doing it here now because it was me who published this checker with the old hack when it was al

[clang] [llvm] Dfp (PR #74606)

2023-12-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 10f7801cff26732b9a757ed42a1e2b89021a61d8 738500fa611d8c730e8b0a6dd4b3539018c99fd4 --

[clang] [analyzer][NFC] Simplify BugType handling in core.BitwiseShift (PR #74609)

2023-12-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (DonatNagyE) Changes Eliminate the `mutable unique_ptr` hack because it's no longer needed. (This cleanup could be done anywhere, I'm doing it here now because it was me who published this checker with the old hack when it was alread

[clang] [analyzer][NFC] Simplify BugType handling in core.BitwiseShift (PR #74609)

2023-12-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 Author: None (DonatNagyE) Changes Eliminate the `mutable unique_ptr` hack because it's no longer needed. (This cleanup could be done anywhere, I'm doing it here now because it was me who published this checker with the old hack

[clang] [llvm] Dlbr (PR #74618)

2023-12-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 1f283a60a4bb896fa2d37ce00a3018924be82b9f f7282698738e75c03f7425c1f9112c80eac7470c --

[llvm] [clang] Dlpr2 (PR #74619)

2023-12-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 1f283a60a4bb896fa2d37ce00a3018924be82b9f 738500fa611d8c730e8b0a6dd4b3539018c99fd4 --

[clang] 8186e15 - [SME2] Add LUTI2 and LUTI4 single Builtins and Intrinsics (#73304)

2023-12-06 Thread via cfe-commits
Author: Matthew Devereau Date: 2023-12-06T16:35:56Z New Revision: 8186e1500b1d9709f10199b7c599274f8a6f8e3a URL: https://github.com/llvm/llvm-project/commit/8186e1500b1d9709f10199b7c599274f8a6f8e3a DIFF: https://github.com/llvm/llvm-project/commit/8186e1500b1d9709f10199b7c599274f8a6f8e3a.diff L

[clang] 565ddde - Revert "[clang] Substitute alias templates from correct context (#74335)"

2023-12-06 Thread via cfe-commits
Author: Podchishchaeva, Mariya Date: 2023-12-06T08:49:17-08:00 New Revision: 565dddec6396d84befa122aa69634b055a60da17 URL: https://github.com/llvm/llvm-project/commit/565dddec6396d84befa122aa69634b055a60da17 DIFF: https://github.com/llvm/llvm-project/commit/565dddec6396d84befa122aa69634b055a60d

[llvm] [clang] [SystemZ] Support i128 as legal type in VRs (PR #74625)

2023-12-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 @llvm/pr-subscribers-llvm-selectiondag Author: Ulrich Weigand (uweigand) Changes On processors supporting vector registers and SIMD instructions, enable i128 as legal type in VRs. This allows many operations to be implemented via native in

[clang] [llvm] [SystemZ] Support i128 as legal type in VRs (PR #74625)

2023-12-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 384f916ea899ea6ac9af4a3fb9d0a5b03937acfe a3e9b3a923df055c5ebe9ec045ed99c909a16dd2 --

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

2023-12-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Balázs Kéri (balazske) Changes A friend template that is in a dependent context is not linked into declaration chains (for example with the definition of the befriended template). This condition was not correctly handled by `ASTImporter`.

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

2023-12-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 7b83f69db4a57c63c230d45ca2dc52b024612c17 cbcb81ebdbc49e3bd11b6f716ac14658a729b787 --

[clang] Add a "don't override" mapping for -fvisibility-from-dllstorageclass (PR #74629)

2023-12-06 Thread via cfe-commits
https://github.com/bd1976bris created https://github.com/llvm/llvm-project/pull/74629 `-fvisibility-from-dllstorageclass` allows for overriding the visibility of globals from their DLL storage class. The visibility to apply can be customised for the different classes of globals via a set of de

[clang] Add a "don't override" mapping for -fvisibility-from-dllstorageclass (PR #74629)

2023-12-06 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver @llvm/pr-subscribers-clang-codegen Author: bd1976bris (bd1976bris) Changes `-fvisibility-from-dllstorageclass` allows for overriding the visibility of globals from their DLL storage class. The visibility to apply can be customised for the

<    6   7   8   9   10   11   12   13   14   15   >