[clang] [Clang] Defer the instantiation of explicit-specifier until constraint checking completes (PR #70548)

2023-10-30 Thread via cfe-commits
@@ -3553,6 +3553,56 @@ static unsigned getPackIndexForParam(Sema &S, llvm_unreachable("parameter index would not be produced from template"); } +// if `Specialization` is a `CXXConstructorDecl` or `CXXConversionDecl` +// we try to instantiate and update its explicit specifie

[clang] [Clang] Defer the instantiation of explicit-specifier until constraint checking completes (PR #70548)

2023-10-30 Thread via cfe-commits
https://github.com/LYP951018 updated https://github.com/llvm/llvm-project/pull/70548 From a5929ddc33057416cee75d91f13a1252f4357524 Mon Sep 17 00:00:00 2001 From: letrec Date: Sat, 28 Oct 2023 18:05:36 +0800 Subject: [PATCH 1/3] Defer the instantiation of explicit-specifier after constraint che

[clang] a1b4005 - [clang][Module] Mark test unsupported since objc doesn't have xcoff/g… (#70661)

2023-10-30 Thread via cfe-commits
Author: Jake Egan Date: 2023-10-30T13:06:49-04:00 New Revision: a1b4005bae860af92ffd895bd5f2e9ba6c0a70aa URL: https://github.com/llvm/llvm-project/commit/a1b4005bae860af92ffd895bd5f2e9ba6c0a70aa DIFF: https://github.com/llvm/llvm-project/commit/a1b4005bae860af92ffd895bd5f2e9ba6c0a70aa.diff LOG

[clang-tools-extra] [openmp] Add memory diff dump for kernel record-replay (PR #70667)

2023-10-30 Thread via cfe-commits
nmustakin wrote: @ggeorgakoudis To reduce the memory consumption for kernel tuning using record/replay. https://github.com/llvm/llvm-project/pull/70667 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[clang] [openmp] Add memory diff dump for kernel record-replay (PR #70667)

2023-10-30 Thread via cfe-commits
nmustakin wrote: @ggeorgakoudis To reduce the memory consumption for kernel tuning using record/replay. https://github.com/llvm/llvm-project/pull/70667 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[clang-tools-extra] [openmp] Add memory diff dump for kernel record-replay (PR #70667)

2023-10-30 Thread via cfe-commits
https://github.com/nmustakin edited https://github.com/llvm/llvm-project/pull/70667 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [openmp] Add memory diff dump for kernel record-replay (PR #70667)

2023-10-30 Thread via cfe-commits
https://github.com/nmustakin edited https://github.com/llvm/llvm-project/pull/70667 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libc] Adding a version of memset with software prefetching (PR #70493)

2023-10-30 Thread via cfe-commits
https://github.com/doshimili updated https://github.com/llvm/llvm-project/pull/70493 >From 6c313955185c0d59564f6535b6f1580dca168bea Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 24 Oct 2023 21:15:23 + Subject: [PATCH 1/5] Add software prefetching to memset --- libc/src/string/memory

[clang-tools-extra] [libc] Adding a version of memset with software prefetching (PR #70493)

2023-10-30 Thread via cfe-commits
https://github.com/doshimili updated https://github.com/llvm/llvm-project/pull/70493 >From 6c313955185c0d59564f6535b6f1580dca168bea Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 24 Oct 2023 21:15:23 + Subject: [PATCH 1/5] Add software prefetching to memset --- libc/src/string/memory

[clang] [Release] Build compiler-rt during Phase 1 on AIX (PR #70672)

2023-10-30 Thread via cfe-commits
https://github.com/azhan92 updated https://github.com/llvm/llvm-project/pull/70672 >From 691672671fb29bf8e98df22444c428f1392798be Mon Sep 17 00:00:00 2001 From: Alison Zhang Date: Mon, 30 Oct 2023 11:27:43 -0400 Subject: [PATCH] build clang-rt on AIX --- llvm/utils/release/test-release.sh | 6

[clang] [clang] Better bitfield access units (PR #65742)

2023-10-30 Thread via cfe-commits
yonghong-song wrote: With this pull request, I tried to build linux kernel and kernel bpf selftest and run the selftest, and didn't find any issues. So presumably the implementation is correct. I tried a particular kernel bpf selftest: https://github.com/torvalds/linux/blob/master/tools/tes

[clang] [libc] Adding a version of memset with software prefetching (PR #70493)

2023-10-30 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 08e9c462eaa900449c2250c7ae84d9d303de9fb4 9fe0041c2bb8ba1d522538c79ac1ebae7d0632bb --

[clang-tools-extra] [libc] Adding a version of memset with software prefetching (PR #70493)

2023-10-30 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 08e9c462eaa900449c2250c7ae84d9d303de9fb4 9fe0041c2bb8ba1d522538c79ac1ebae7d0632bb --

[clang] [libc] Adding a version of memset with software prefetching (PR #70493)

2023-10-30 Thread via cfe-commits
https://github.com/doshimili updated https://github.com/llvm/llvm-project/pull/70493 >From 6c313955185c0d59564f6535b6f1580dca168bea Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 24 Oct 2023 21:15:23 + Subject: [PATCH 1/6] Add software prefetching to memset --- libc/src/string/memory

[clang-tools-extra] [openmp] Add memory diff dump for kernel record-replay (PR #70667)

2023-10-30 Thread via cfe-commits
https://github.com/nmustakin updated https://github.com/llvm/llvm-project/pull/70667 >From 153c6d812939cd23bb71e53c71378117ed5b23c7 Mon Sep 17 00:00:00 2001 From: Nafis Mustakin Date: Mon, 30 Oct 2023 07:50:59 -0700 Subject: [PATCH 1/3] Add memory diff dump for kernel record-replay --- .../Pl

[clang] [openmp] Add memory diff dump for kernel record-replay (PR #70667)

2023-10-30 Thread via cfe-commits
https://github.com/nmustakin updated https://github.com/llvm/llvm-project/pull/70667 >From 153c6d812939cd23bb71e53c71378117ed5b23c7 Mon Sep 17 00:00:00 2001 From: Nafis Mustakin Date: Mon, 30 Oct 2023 07:50:59 -0700 Subject: [PATCH 1/3] Add memory diff dump for kernel record-replay --- .../Pl

[clang] [openmp] Add memory diff dump for kernel record-replay (PR #70667)

2023-10-30 Thread via cfe-commits
https://github.com/nmustakin edited https://github.com/llvm/llvm-project/pull/70667 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [openmp] Add memory diff dump for kernel record-replay (PR #70667)

2023-10-30 Thread via cfe-commits
https://github.com/nmustakin edited https://github.com/llvm/llvm-project/pull/70667 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] b45236f - [clang] Implement constexpr bit_cast for vectors (#66894)

2023-10-30 Thread via cfe-commits
Author: DaPorkchop_ Date: 2023-10-30T11:15:36-07:00 New Revision: b45236f13391dbe03fb9ea029b1a42e6dd989de4 URL: https://github.com/llvm/llvm-project/commit/b45236f13391dbe03fb9ea029b1a42e6dd989de4 DIFF: https://github.com/llvm/llvm-project/commit/b45236f13391dbe03fb9ea029b1a42e6dd989de4.diff L

[clang-tools-extra] [InstCombine] Convert or concat to fshl if opposite or concat exists (PR #68502)

2023-10-30 Thread via cfe-commits
goldsteinn wrote: > Any more comments? I'd like to merge it if no objection. I think there are outstanding objections, or at least blocking concerns from nikic. https://github.com/llvm/llvm-project/pull/68502 ___ cfe-commits mailing list cfe-commits@

[clang] [InstCombine] Convert or concat to fshl if opposite or concat exists (PR #68502)

2023-10-30 Thread via cfe-commits
goldsteinn wrote: > Any more comments? I'd like to merge it if no objection. I think there are outstanding objections, or at least blocking concerns from nikic. https://github.com/llvm/llvm-project/pull/68502 ___ cfe-commits mailing list cfe-commits@

[clang-tools-extra] [libc] Adding a version of memset with software prefetching (PR #70493)

2023-10-30 Thread via cfe-commits
https://github.com/doshimili updated https://github.com/llvm/llvm-project/pull/70493 >From 6c313955185c0d59564f6535b6f1580dca168bea Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 24 Oct 2023 21:15:23 + Subject: [PATCH 1/7] Add software prefetching to memset --- libc/src/string/memory

[clang] [libc] Adding a version of memset with software prefetching (PR #70493)

2023-10-30 Thread via cfe-commits
https://github.com/doshimili updated https://github.com/llvm/llvm-project/pull/70493 >From 6c313955185c0d59564f6535b6f1580dca168bea Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 24 Oct 2023 21:15:23 + Subject: [PATCH 1/7] Add software prefetching to memset --- libc/src/string/memory

[clang-tools-extra] [clang-tidy] Fix crash in modernize-use-trailing-return-type (PR #70709)

2023-10-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: Piotr Zegar (PiotrZSL) Changes Resolved the crash that occurred during the use of a user-defined C-style string literal. The fix entails checking whether the identifier is non-empty before attempting to read its name. --- Full diff:

[clang-tools-extra] [llvm-objcopy] Add --gap-fill and --pad-to options (PR #65815)

2023-10-30 Thread via cfe-commits
https://github.com/quic-akaryaki updated https://github.com/llvm/llvm-project/pull/65815 >From 21ba98fbed6ef3b9bbbef96feb6dfeb0679f7ce8 Mon Sep 17 00:00:00 2001 From: Alexey Karyakin Date: Tue, 5 Sep 2023 15:46:34 -0700 Subject: [PATCH 1/4] [llvm-objcopy] Add --gap-fill and --pad-to options `-

[clang] [llvm-objcopy] Add --gap-fill and --pad-to options (PR #65815)

2023-10-30 Thread via cfe-commits
https://github.com/quic-akaryaki updated https://github.com/llvm/llvm-project/pull/65815 >From 21ba98fbed6ef3b9bbbef96feb6dfeb0679f7ce8 Mon Sep 17 00:00:00 2001 From: Alexey Karyakin Date: Tue, 5 Sep 2023 15:46:34 -0700 Subject: [PATCH 1/4] [llvm-objcopy] Add --gap-fill and --pad-to options `-

[clang] [llvm-objcopy] Add --gap-fill and --pad-to options (PR #65815)

2023-10-30 Thread via cfe-commits
@@ -2635,9 +2635,36 @@ template Error ELFWriter::finalize() { } Error BinaryWriter::write() { - for (const SectionBase &Sec : Obj.allocSections()) + SmallVector LoadableSections; + for (const SectionBase &Sec : Obj.allocSections()) { +if (Sec.Type != SHT_NOBITS) +

[clang] [llvm-objcopy] Add --gap-fill and --pad-to options (PR #65815)

2023-10-30 Thread via cfe-commits
@@ -0,0 +1,94 @@ +# RUN: yaml2obj %s -o %t + +# RUN: not llvm-objcopy --pad-to=1 %t 2>&1 | FileCheck %s --check-prefix=NOT-BINARY +# NOT-BINARY: error: '--pad-to' is only supported for binary output + +# RUN: not llvm-objcopy -O binary --pad-to= %t 2>&1 | FileCheck %s --check-pr

[clang-tools-extra] [llvm-objcopy] Add --gap-fill and --pad-to options (PR #65815)

2023-10-30 Thread via cfe-commits
@@ -738,6 +738,37 @@ objcopy::parseObjcopyOptions(ArrayRef RawArgsArr, if (auto Arg = InputArgs.getLastArg(OBJCOPY_extract_partition)) Config.ExtractPartition = Arg->getValue(); + if (const auto *A = InputArgs.getLastArg(OBJCOPY_gap_fill)) { +if (Config.OutputForma

[clang-tools-extra] [llvm-objcopy] Add --gap-fill and --pad-to options (PR #65815)

2023-10-30 Thread via cfe-commits
quic-akaryaki wrote: I created another PR related to missing argument values: https://github.com/llvm/llvm-project/pull/70710. It is a problem in objdump as the LLVM args parser detects a missing value, but objdump (and many other tools) ignores it. That will be a breaking change. https://gith

[clang] [clang][AST] Fix printing `TagDecl`s. (PR #69971)

2023-10-30 Thread via cfe-commits
isuckatcs wrote: It seems I found one more issue. ```c++ struct A { int x; }; struct Foo { struct obj { int x; } *(*next)(struct A *q); }; ``` ```c++ error: 'Foo::obj' cannot be defined in the result type of a function 6 | struct obj { | ^ struct A { int x; };

[clang-tools-extra] [llvm-objcopy] Add --gap-fill and --pad-to options (PR #65815)

2023-10-30 Thread via cfe-commits
https://github.com/quic-akaryaki updated https://github.com/llvm/llvm-project/pull/65815 >From 21ba98fbed6ef3b9bbbef96feb6dfeb0679f7ce8 Mon Sep 17 00:00:00 2001 From: Alexey Karyakin Date: Tue, 5 Sep 2023 15:46:34 -0700 Subject: [PATCH 1/5] [llvm-objcopy] Add --gap-fill and --pad-to options `-

[clang] [Profile] Refactor profile correlation. (PR #70712)

2023-10-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Zequan Wu (ZequanWu) Changes Refactor some code from https://github.com/llvm/llvm-project/pull/69493. Rebase of https://github.com/llvm/llvm-project/pull/69656 on top of main as it was messed up. --- Patch is 38.04 KiB, truncat

[clang-tools-extra] create new clang-tidy check to add namespaces to symbol references (PR #70621)

2023-10-30 Thread via cfe-commits
https://github.com/daltairwalter updated https://github.com/llvm/llvm-project/pull/70621 >From f44d7746a990a3bd8e53de047a30baee4da2c790 Mon Sep 17 00:00:00 2001 From: Daniel Walter Date: Mon, 30 Oct 2023 00:08:56 -0500 Subject: [PATCH 1/5] Initial commit of add new check before changes --- ..

[clang] [time-trace] Add a new time trace scope variable named "ParseDeclarationOrFunctionDefinition". (PR #65268)

2023-10-30 Thread via cfe-commits
https://github.com/MaggieYingYi updated https://github.com/llvm/llvm-project/pull/65268 >From 8ff407fc56d9725cc630172c6536f1d565e095fe Mon Sep 17 00:00:00 2001 From: Ying Yi Date: Fri, 1 Sep 2023 15:30:44 +0100 Subject: [PATCH] [Clang] Add two time-trace scope variables. A time trace scope var

[clang] [clang][modules] Don't prevent translation of FW_Private includes when explicitly building FW (PR #70714)

2023-10-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: Jan Svoboda (jansvoboda11) Changes We prevent translating `#include ` into an import of FW_Private when compiling the implementation of FW or FW_Private. This is specified via `-fmodule-name=` on the TU command

[clang] [Clang] Fix a crash when using ast-dump=json (PR #70224)

2023-10-30 Thread via cfe-commits
https://github.com/agozillon updated https://github.com/llvm/llvm-project/pull/70224 >From f4559a402d92fd6ab394b586b1c5f3f6d740c3a8 Mon Sep 17 00:00:00 2001 From: Elizabeth Andrews Date: Mon, 30 Oct 2023 13:07:48 -0700 Subject: [PATCH] [Clang] Fix a crash when using ast-dump=json CXXDeductionG

[clang] [Clang] Fix a crash when using ast-dump=json (PR #70224)

2023-10-30 Thread via cfe-commits
https://github.com/elizabethandrews updated https://github.com/llvm/llvm-project/pull/70224 >From f4559a402d92fd6ab394b586b1c5f3f6d740c3a8 Mon Sep 17 00:00:00 2001 From: Elizabeth Andrews Date: Mon, 30 Oct 2023 13:07:48 -0700 Subject: [PATCH] [Clang] Fix a crash when using ast-dump=json CXXDed

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

2023-10-30 Thread via cfe-commits
@@ -3426,6 +3426,29 @@ def fpass_plugin_EQ : Joined<["-"], "fpass-plugin=">, MetaVarName<"">, HelpText<"Load pass plugin from a dynamic shared object file (only with new pass manager).">, MarshallingInfoStringVector>; +def mtocdata : Flag<["-"], "mtocdata">, + Visibilit

[clang] [Clang] Fix a crash when using ast-dump=json (PR #70224)

2023-10-30 Thread via cfe-commits
elizabethandrews wrote: I apologize for the force push. I had a strange Git error I was trying to get rid of. I also squashed my commits for the same reason. It doesn't look like it has helped though. I see the first test bot checking formatting fails with ``` Run python llvm/utils/git/code-f

[clang] [Clang] Fix a crash when using ast-dump=json (PR #70224)

2023-10-30 Thread via cfe-commits
elizabethandrews wrote: I've applied all the review comments. I'm not sure what to do about the failing code format bot though. Should I open a new PR or can I ignore that bot since I've run clang-format locally? https://github.com/llvm/llvm-project/pull/70224

[clang] [libc] Adding a version of memset with software prefetching (PR #70493)

2023-10-30 Thread via cfe-commits
https://github.com/doshimili updated https://github.com/llvm/llvm-project/pull/70493 >From 6c313955185c0d59564f6535b6f1580dca168bea Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 24 Oct 2023 21:15:23 + Subject: [PATCH 1/8] Add software prefetching to memset --- libc/src/string/memory

[libunwind] Implement libcxx ranges contains (PR #70258)

2023-10-30 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/70258 >From 02e9afd761228f401df4d9f8dfaaca44ffae0c6e Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 31 Aug 2023 20:08:32 + Subject: [PATCH 01/16] [libc++] Implement ranges::contains Differential Revision

[clang] [Clang] Defer the instantiation of explicit-specifier until constraint checking completes (PR #70548)

2023-10-30 Thread via cfe-commits
https://github.com/LYP951018 edited https://github.com/llvm/llvm-project/pull/70548 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Defer the instantiation of explicit-specifier until constraint checking completes (PR #70548)

2023-10-30 Thread via cfe-commits
@@ -3553,6 +3553,49 @@ static unsigned getPackIndexForParam(Sema &S, llvm_unreachable("parameter index would not be produced from template"); } +// if `Specialization` is a `CXXConstructorDecl` or `CXXConversionDecl` +// we try to instantiate and update its explicit specifie

[clang-tools-extra] create new clang-tidy check to add namespaces to symbol references (PR #70621)

2023-10-30 Thread via cfe-commits
@@ -0,0 +1,22 @@ +// RUN: %check_clang_tidy %s readability-use-explicit-namespaces %t + daltairwalter wrote: Are there tools or resources for this? I locally have done a lot more testing, but it is very clear how to turn this into test cases. https://github.co

[clang-tools-extra] create new clang-tidy check to add namespaces to symbol references (PR #70621)

2023-10-30 Thread via cfe-commits
@@ -0,0 +1,24 @@ +.. title:: clang-tidy - readability-use-explicit-namespaces + +readability-use-explicit-namespaces +=== + +This check detects and fixes references to members of namespaces where the namespace is not explicity specified in the refe

[llvm] [clang] [flang] [lldb] [libcxxabi] [mlir] [libcxx] [Clang][LoongArch] Support builtin functions for LSX and LASX (PR #70404)

2023-10-30 Thread via cfe-commits
https://github.com/yjijd closed https://github.com/llvm/llvm-project/pull/70404 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Use new interpreter in EvaluateAsConstantExpr if requested (PR #70763)

2023-10-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes EvaluateAsConstantExpr() uses ::EvaluateInPlace() directly, which does not use the new interpreter if requested. Do it here, which is the same pattern we use in EvaluateAsInitializer. --- Full diff: https:/

[clang] [clang] Use new interpreter in EvaluateAsConstantExpr if requested (PR #70763)

2023-10-30 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 ae7f7f2ef2033a48fb9db3cb70b88ad62019f40b e71ed498d0d46af26f72e08706415f21b7deb30e --

[clang-tools-extra] a396fb2 - [clang-tidy] Fix crash in modernize-use-trailing-return-type (#70709)

2023-10-30 Thread via cfe-commits
Author: Piotr Zegar Date: 2023-10-31T06:52:40+01:00 New Revision: a396fb247e0719f56a830a9e4aab0449be7f843a URL: https://github.com/llvm/llvm-project/commit/a396fb247e0719f56a830a9e4aab0449be7f843a DIFF: https://github.com/llvm/llvm-project/commit/a396fb247e0719f56a830a9e4aab0449be7f843a.diff L

[clang] [clang-format] Treat empty for/while loops as short loops (PR #70768)

2023-10-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes A for/while loop with only a semicolon as its body should be treated as an empty loop. Fixes #61708. --- Full diff: https://github.com/llvm/llvm-project/pull/70768.diff 2 Files Affected: - (modified) c

[clang] [clang][Interp] Handle std::move etc. builtins (PR #70772)

2023-10-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes Only light testing here since I'm not sure how to properly test this. --- Full diff: https://github.com/llvm/llvm-project/pull/70772.diff 2 Files Affected: - (modified) clang/lib/AST/Interp/InterpBuiltin.c

[clang] [time-trace] Add a new time trace scope variable named "ParseDeclarationOrFunctionDefinition". (PR #65268)

2023-10-31 Thread via cfe-commits
https://github.com/MaggieYingYi updated https://github.com/llvm/llvm-project/pull/65268 >From 5b750383cace7db24144d16ce8a9ca0864c37613 Mon Sep 17 00:00:00 2001 From: Ying Yi Date: Fri, 1 Sep 2023 15:30:44 +0100 Subject: [PATCH] [Clang] Add two time-trace scope variables. A time trace scope var

[clang] Perf/lexer faster slow get char and size (PR #70543)

2023-10-31 Thread via cfe-commits
serge-sans-paille wrote: recommited as 8116b6dce70ef284f9a0895b0f9f45bfa9a3ade7 https://github.com/llvm/llvm-project/pull/70543 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] bbd61d8 - [clang][dataflow][NFC] Move `parseAll()` to TestingSupport and rename `parseFormulas()` (#70437)

2023-10-31 Thread via cfe-commits
Author: martinboehme Date: 2023-10-31T10:04:30+01:00 New Revision: bbd61d807f86e0b043976eb39a1b0ad13f306a9c URL: https://github.com/llvm/llvm-project/commit/bbd61d807f86e0b043976eb39a1b0ad13f306a9c DIFF: https://github.com/llvm/llvm-project/commit/bbd61d807f86e0b043976eb39a1b0ad13f306a9c.diff

[clang] [clang][dataflow][NFC] Move `parseAll()` to TestingSupport and rename `parseFormulas()` (PR #70437)

2023-10-31 Thread via cfe-commits
https://github.com/martinboehme closed https://github.com/llvm/llvm-project/pull/70437 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [time-trace] Add a new time trace scope variable named "ParseDeclarationOrFunctionDefinition". (PR #65268)

2023-10-31 Thread via cfe-commits
https://github.com/MaggieYingYi closed https://github.com/llvm/llvm-project/pull/65268 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [time-trace] Add a new time trace scope variable named "ParseDeclarationOrFunctionDefinition". (PR #65268)

2023-10-31 Thread via cfe-commits
MaggieYingYi wrote: I tried to use `squash and merge` but the commit message using the wrong email address. Therefore, I have committed the changes using the git command. https://github.com/llvm/llvm-project/pull/65268 ___ cfe-commits mailing list cf

[clang] [time-trace] Add a new time trace scope variable named "ParseDeclarationOrFunctionDefinition". (PR #65268)

2023-10-31 Thread via cfe-commits
https://github.com/MaggieYingYi reopened https://github.com/llvm/llvm-project/pull/65268 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [time-trace] Add a new time trace scope variable named "ParseDeclarationOrFunctionDefinition". (PR #65268)

2023-10-31 Thread via cfe-commits
MaggieYingYi wrote: Hi @nikic, thanks for spotting the issue and reverted the commit. Hi @AaronBallman, As @nikic mentioned that the issue is that the used strings may be expensive to compute. If we remove the change to record the function name and function location, I think the issue will be

[clang] 4f5d463 - Remove malformed brief commands in comments (NFC) (#70746)

2023-10-31 Thread via cfe-commits
Author: Mike Rice Date: 2023-10-31T03:49:53-07:00 New Revision: 4f5d463505b3e313cd3943132e7b2784a65c39d9 URL: https://github.com/llvm/llvm-project/commit/4f5d463505b3e313cd3943132e7b2784a65c39d9 DIFF: https://github.com/llvm/llvm-project/commit/4f5d463505b3e313cd3943132e7b2784a65c39d9.diff LOG

[clang] [clang] Fix clang++ crash on assertions when compiling source (PR #70594)

2023-10-31 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 4f5d463505b3e313cd3943132e7b2784a65c39d9 efea75d1ae4a1da80b16b3e743a15a82b5f8d971 --

[clang] c280bed - [clang-format] Fix annotating annotations after requires clause

2023-10-31 Thread via cfe-commits
Author: Björn Schäpers Date: 2023-10-31T13:10:46+01:00 New Revision: c280bed85a8b9cd6ebf48f9f2923890edc7039f0 URL: https://github.com/llvm/llvm-project/commit/c280bed85a8b9cd6ebf48f9f2923890edc7039f0 DIFF: https://github.com/llvm/llvm-project/commit/c280bed85a8b9cd6ebf48f9f2923890edc7039f0.diff

[clang] [analyzer] Fix uninitialized base class with initializer list when ctor is not declared in the base class (#70464) (PR #70792)

2023-10-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 Author: Ella Ma (Snape3058) Changes When ctor is not declared in the base class, initializing the base class with the initializer list will not trigger a proper assignment of the base region, as a CXXConstructExpr doing that is

[clang] ab1c97b - [AMDGPU] Accept/Ignore any -mcmodel arguments. (#70760)

2023-10-31 Thread via cfe-commits
Author: Pravin Jagtap Date: 2023-10-31T18:07:40+05:30 New Revision: ab1c97b6510c4ce4643469191080a16b4007244d URL: https://github.com/llvm/llvm-project/commit/ab1c97b6510c4ce4643469191080a16b4007244d DIFF: https://github.com/llvm/llvm-project/commit/ab1c97b6510c4ce4643469191080a16b4007244d.diff

[clang-tools-extra] [Clangd] Sanitize path before recording into IncludeStructure during buildPreamble (PR #70798)

2023-10-31 Thread via cfe-commits
https://github.com/Maddobun created https://github.com/llvm/llvm-project/pull/70798 Addresses https://github.com/clangd/clangd/issues/1800, where mismatching drive letter case can cause command inference for header files to fail on windows. >From 65c1b38c4eb83469794e53328caed492e956a728 Mon Se

[clang] [StackProtector] Do not emit the stack protector on GPU architectures (PR #70799)

2023-10-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Joseph Huber (jhuber6) Changes Summary: This patch changes the code generation to not emit the stack protector metadata on unsupported architectures. The issue was caused by system toolchains emitting stack protector option by default which

[clang] 9ca6bf3 - [LoongArch] Fix ABI mismatch with gcc/g++ about empty structs passing (#70320)

2023-10-31 Thread via cfe-commits
Author: Lu Weining Date: 2023-10-31T21:18:06+08:00 New Revision: 9ca6bf3fb7b7df373723b3275730f101f9ff816b URL: https://github.com/llvm/llvm-project/commit/9ca6bf3fb7b7df373723b3275730f101f9ff816b DIFF: https://github.com/llvm/llvm-project/commit/9ca6bf3fb7b7df373723b3275730f101f9ff816b.diff LO

[clang-tools-extra] [Clangd] Sanitize path before recording into IncludeStructure during buildPreamble (PR #70798)

2023-10-31 Thread via cfe-commits
https://github.com/Maddobun edited https://github.com/llvm/llvm-project/pull/70798 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [StackProtector] Do not emit the stack protector on GPU architectures (PR #70799)

2023-10-31 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 562ce8bbd23d96ee64992bcda041bf67e7c51057 c1c5174d9a9bb82ba42de0aabd0a3e129cc87aa5 --

[clang-tools-extra] [Clangd] Sanitize path before recording into IncludeStructure during buildPreamble (PR #70798)

2023-10-31 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 562ce8bbd23d96ee64992bcda041bf67e7c51057 65c1b38c4eb83469794e53328caed492e956a728 --

[clang-tools-extra] [Clangd] Sanitize path before recording into IncludeStructure during buildPreamble (PR #70798)

2023-10-31 Thread via cfe-commits
https://github.com/Maddobun updated https://github.com/llvm/llvm-project/pull/70798 >From f2dd9b98a6dab3bf6c1cc06df8262313d62ecbe0 Mon Sep 17 00:00:00 2001 From: Leo Zhu Date: Tue, 31 Oct 2023 09:27:47 -0400 Subject: [PATCH] Sanitize path before recording into IncludeStructure addresses https:

[clang-tools-extra] Apply format only if --format is specified (PR #70801)

2023-10-31 Thread via cfe-commits
https://github.com/kuganv created https://github.com/llvm/llvm-project/pull/70801 clang-apply-replacements is now applying format even when --format is not specified. Methods like createReplacementsForHeaders only takes the Spec.Style and would re-order the headers even when it was not reques

[clang-tools-extra] [clang-apply-replacements] Apply format only if --format is specified (PR #70801)

2023-10-31 Thread via cfe-commits
https://github.com/kuganv edited https://github.com/llvm/llvm-project/pull/70801 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 913a1d5 - [NFC][tests] Fix target OS check for module test

2023-10-31 Thread via cfe-commits
Author: Jake Egan Date: 2023-10-31T09:38:45-04:00 New Revision: 913a1d5a5a1ba6e85144b21cde82a27a9c7e1a70 URL: https://github.com/llvm/llvm-project/commit/913a1d5a5a1ba6e85144b21cde82a27a9c7e1a70 DIFF: https://github.com/llvm/llvm-project/commit/913a1d5a5a1ba6e85144b21cde82a27a9c7e1a70.diff LOG

[clang] [analyzer] Improve reports from ArrayBoundCheckerV2 (PR #70056)

2023-10-31 Thread via cfe-commits
=?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy Message-ID: In-Reply-To: https://github.com/DonatNagyE updated https://github.com/llvm/llvm-project/pull/70056 >From 77143e74edda6177248bebdf0424db915aa68a05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Don=C3=A1t=20Nagy?= Date: Mon, 2 Oct 2023 13:

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

2023-10-31 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] 4b383d0 - [Profile] Refactor profile correlation. (#70712)

2023-10-31 Thread via cfe-commits
Author: Zequan Wu Date: 2023-10-31T10:41:01-04:00 New Revision: 4b383d0af93136b80841fc140da0823dfc441dd4 URL: https://github.com/llvm/llvm-project/commit/4b383d0af93136b80841fc140da0823dfc441dd4 DIFF: https://github.com/llvm/llvm-project/commit/4b383d0af93136b80841fc140da0823dfc441dd4.diff LOG

[clang] [analyzer] Improve reports from ArrayBoundCheckerV2 (PR #70056)

2023-10-31 Thread via cfe-commits
=?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy Message-ID: In-Reply-To: @@ -174,9 +176,119 @@ compareValueToThreshold(ProgramStateRef State, NonLoc Value, NonLoc Threshold, return {nullptr, nullptr}; } -void ArrayBoundCheckerV2::checkLocation(SVal location, bool isLoad,

[clang] [Clang] Defer the instantiation of explicit-specifier until constraint checking completes (PR #70548)

2023-10-31 Thread via cfe-commits
@@ -3553,6 +3553,49 @@ static unsigned getPackIndexForParam(Sema &S, llvm_unreachable("parameter index would not be produced from template"); } +// if `Specialization` is a `CXXConstructorDecl` or `CXXConversionDecl` +// we try to instantiate and update its explicit specifie

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

2023-10-31 Thread via cfe-commits
@@ -4016,7 +4016,63 @@ Clang expects the GCC executable "gcc.exe" compiled for AIX ^^^ +TOC Data Transformation +""" +TOC data transformation is off by default (``-mno-tocdata``). +When ``-mtocdata`` is specified, the TOC data transformation will be applied

[clang] [clang][driver] Add \/../include/c++/v1 to include path on Darwin (PR #70817)

2023-10-31 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Liviu Ionescu (ilg-ul) Changes On macOS, when clang is invoked via a symlink, since the InstalledDir is where the link is located, the C++ headers are not identified and the default system headers are used. ```console % ln -s /Use

[llvm] [clang] [clang-tools-extra] [llvm-objcopy] Add --gap-fill and --pad-to options (PR #65815)

2023-10-31 Thread via cfe-commits
https://github.com/quic-akaryaki updated https://github.com/llvm/llvm-project/pull/65815 >From 21ba98fbed6ef3b9bbbef96feb6dfeb0679f7ce8 Mon Sep 17 00:00:00 2001 From: Alexey Karyakin Date: Tue, 5 Sep 2023 15:46:34 -0700 Subject: [PATCH 1/6] [llvm-objcopy] Add --gap-fill and --pad-to options `-

[llvm] [clang] [clang-tools-extra] [llvm-objcopy] Add --gap-fill and --pad-to options (PR #65815)

2023-10-31 Thread via cfe-commits
@@ -2636,30 +2636,30 @@ template Error ELFWriter::finalize() { } Error BinaryWriter::write() { - SmallVector LoadableSections; + SmallVector BitsSections; quic-akaryaki wrote: Done. https://github.com/llvm/llvm-project/pull/65815

[llvm] [clang-tools-extra] [clang] [llvm-objcopy] Add --gap-fill and --pad-to options (PR #65815)

2023-10-31 Thread via cfe-commits
@@ -67,12 +67,18 @@ using namespace llvm::object; // The name this program was invoked as. static StringRef ToolName; -static ErrorSuccess reportWarning(Error E) { +namespace llvm { +namespace objcopy { + +ErrorSuccess reportWarning(Error E) { quic-akaryaki wr

[llvm] [clang] [clang-tools-extra] [llvm-objcopy] Add --gap-fill and --pad-to options (PR #65815)

2023-10-31 Thread via cfe-commits
@@ -163,8 +163,8 @@ Sections: EntSize: 0x0001 Content: 4743433A -## In this test, output sections are defined out of in respect to their load -## addresses. Verify that gaps are still correctly filled. +## In this test, output sections are defined out o

[clang] b099709 - [StackProtector] Do not emit the stack protector on GPU architectures (#70799)

2023-10-31 Thread via cfe-commits
Author: Joseph Huber Date: 2023-10-31T10:41:59-05:00 New Revision: b0997097355b3578c8061373899770928096f36b URL: https://github.com/llvm/llvm-project/commit/b0997097355b3578c8061373899770928096f36b DIFF: https://github.com/llvm/llvm-project/commit/b0997097355b3578c8061373899770928096f36b.diff

[clang] [Clang] Defer the instantiation of explicit-specifier until constraint checking completes (PR #70548)

2023-10-31 Thread via cfe-commits
https://github.com/LYP951018 updated https://github.com/llvm/llvm-project/pull/70548 From a5929ddc33057416cee75d91f13a1252f4357524 Mon Sep 17 00:00:00 2001 From: letrec Date: Sat, 28 Oct 2023 18:05:36 +0800 Subject: [PATCH 1/4] Defer the instantiation of explicit-specifier after constraint che

[clang] e107c94 - [clang-scan-deps] [P1689] Keep consistent behavior for make dependencies with clang (#69551)

2023-10-31 Thread via cfe-commits
Author: Chuanqi Xu Date: 2023-10-31T23:59:47+08:00 New Revision: e107c9468b9c734fba016166fccc82a7e2b6527b URL: https://github.com/llvm/llvm-project/commit/e107c9468b9c734fba016166fccc82a7e2b6527b DIFF: https://github.com/llvm/llvm-project/commit/e107c9468b9c734fba016166fccc82a7e2b6527b.diff LO

[clang] [Clang] Defer the instantiation of explicit-specifier until constraint checking completes (PR #70548)

2023-10-31 Thread via cfe-commits
@@ -3553,6 +3553,49 @@ static unsigned getPackIndexForParam(Sema &S, llvm_unreachable("parameter index would not be produced from template"); } +// if `Specialization` is a `CXXConstructorDecl` or `CXXConversionDecl` +// we try to instantiate and update its explicit specifie

[clang] [Clang] Defer the instantiation of explicit-specifier until constraint checking completes (PR #70548)

2023-10-31 Thread via cfe-commits
https://github.com/LYP951018 edited https://github.com/llvm/llvm-project/pull/70548 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Defer the instantiation of explicit-specifier until constraint checking completes (PR #70548)

2023-10-31 Thread via cfe-commits
https://github.com/LYP951018 updated https://github.com/llvm/llvm-project/pull/70548 From a5929ddc33057416cee75d91f13a1252f4357524 Mon Sep 17 00:00:00 2001 From: letrec Date: Sat, 28 Oct 2023 18:05:36 +0800 Subject: [PATCH 1/4] Defer the instantiation of explicit-specifier after constraint che

[clang] [Clang] Defer the instantiation of explicit-specifier until constraint checking completes (PR #70548)

2023-10-31 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 39b939555f959b93061b3c4c8fffc13a63737074 991212294aefaff304610213baaee927634a6c55 --

[clang] [Clang] Defer the instantiation of explicit-specifier until constraint checking completes (PR #70548)

2023-10-31 Thread via cfe-commits
https://github.com/LYP951018 updated https://github.com/llvm/llvm-project/pull/70548 From a5929ddc33057416cee75d91f13a1252f4357524 Mon Sep 17 00:00:00 2001 From: letrec Date: Sat, 28 Oct 2023 18:05:36 +0800 Subject: [PATCH 1/4] Defer the instantiation of explicit-specifier after constraint che

[clang] [Clang] Defer the instantiation of explicit-specifier until constraint checking completes (PR #70548)

2023-10-31 Thread via cfe-commits
@@ -3553,6 +3553,49 @@ static unsigned getPackIndexForParam(Sema &S, llvm_unreachable("parameter index would not be produced from template"); } +// if `Specialization` is a `CXXConstructorDecl` or `CXXConversionDecl` +// we try to instantiate and update its explicit specifie

[clang] [Clang] Defer the instantiation of explicit-specifier until constraint checking completes (PR #70548)

2023-10-31 Thread via cfe-commits
https://github.com/LYP951018 edited https://github.com/llvm/llvm-project/pull/70548 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Defer the instantiation of explicit-specifier until constraint checking completes (PR #70548)

2023-10-31 Thread via cfe-commits
https://github.com/LYP951018 updated https://github.com/llvm/llvm-project/pull/70548 From b62beb7553f098488e64c81995558c19cd36d785 Mon Sep 17 00:00:00 2001 From: letrec Date: Sat, 28 Oct 2023 18:05:36 +0800 Subject: [PATCH 1/4] Defer the instantiation of explicit-specifier after constraint che

[clang] [analyzer] Improve reports from ArrayBoundCheckerV2 (PR #70056)

2023-10-31 Thread via cfe-commits
=?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy Message-ID: In-Reply-To: @@ -174,9 +176,119 @@ compareValueToThreshold(ProgramStateRef State, NonLoc Value, NonLoc Threshold, return {nullptr, nullptr}; } -void ArrayBoundCheckerV2::checkLocation(SVal location, bool isLoad,

[clang] [analyzer] Improve diagnostics from ArrayBoundCheckerV2 (PR #70056)

2023-10-31 Thread via cfe-commits
=?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy Message-ID: In-Reply-To: https://github.com/DonatNagyE edited https://github.com/llvm/llvm-project/pull/70056 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailm

<    20   21   22   23   24   25   26   27   28   29   >