[clang] [ClangModule] Fix decl-params-determinisim test after serialization change (PR #72572)

2023-11-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Steven Wu (cachemeifyoucan) Changes Fix decl-params-determinisim test after 48be81e1 packed some information in the clang module. The test is to make sure the decls are appearing in a strict ordering and it relies on check the correct fie

[lldb] [clang] [llvm] [clang-tools-extra] Add new API in SBTarget for loading core from SBFile (PR #71769)

2023-11-16 Thread via cfe-commits
@@ -627,7 +628,7 @@ class Target : public std::enable_shared_from_this, // used. const lldb::ProcessSP &CreateProcess(lldb::ListenerSP listener_sp, llvm::StringRef plugin_name, - const FileSpec *cr

[llvm] [clang-tools-extra] [clang] [lldb] Add new API in SBTarget for loading core from SBFile (PR #71769)

2023-11-16 Thread via cfe-commits
https://github.com/GeorgeHuyubo edited https://github.com/llvm/llvm-project/pull/71769 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 066c452 - [AArch64] Add support for Cortex-A520, Cortex-A720 and Cortex-X4 CPUs (#72395)

2023-11-16 Thread via cfe-commits
Author: Jonathan Thackray Date: 2023-11-16T22:08:58Z New Revision: 066c4524bc1d91b49048e7f05dc6e045bb3c9eef URL: https://github.com/llvm/llvm-project/commit/066c4524bc1d91b49048e7f05dc6e045bb3c9eef DIFF: https://github.com/llvm/llvm-project/commit/066c4524bc1d91b49048e7f05dc6e045bb3c9eef.diff

[clang] [Driver] Make ELF -nopie specific to OpenBSD (PR #72578)

2023-11-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Fangrui Song (MaskRay) Changes -no-pie[1]/-nopie is rarely used and among the rare uses almost everwhere uses -no-pie, since GCC does not recognize -nopie. However, OpenBSD seems to prefer -nopie. Therefore, make -nopie specific to O

[clang] f0ad9ea - [clang-format] Handle lambdas in QualifierAlignment (#72456)

2023-11-16 Thread via cfe-commits
Author: Owen Pan Date: 2023-11-16T15:00:09-08:00 New Revision: f0ad9ea36ad65cec8c5e5d1d59c00192b87f287d URL: https://github.com/llvm/llvm-project/commit/f0ad9ea36ad65cec8c5e5d1d59c00192b87f287d DIFF: https://github.com/llvm/llvm-project/commit/f0ad9ea36ad65cec8c5e5d1d59c00192b87f287d.diff LOG:

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

2023-11-16 Thread via cfe-commits
HaohaiWen wrote: I'd like to merge it. Please let me know if you have more concern. https://github.com/llvm/llvm-project/pull/68502 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libunwind] [libcxxabi] [NFC] Remove deprecated warning from cmake files (PR #72595)

2023-11-16 Thread via cfe-commits
https://github.com/AdvenamTacet created https://github.com/llvm/llvm-project/pull/72595 `LIBCXXABI_SYSROOT`, `LIBCXXABI_TARGET_TRIPLE` and `LIBCXXABI_GCC_TOOLCHAIN` are not supported anymore. Based on the comment, the warning should be removed after branching for LLVM 15. >From 5ac6d886dfcbce

[libunwind] [libcxxabi] [NFC] Remove deprecated warning from cmake files (PR #72595)

2023-11-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-libunwind @llvm/pr-subscribers-libcxxabi Author: Tacet (AdvenamTacet) Changes `LIBCXXABI_SYSROOT`, `LIBCXXABI_TARGET_TRIPLE` and `LIBCXXABI_GCC_TOOLCHAIN` are not supported anymore. Based on the comment, the warning should be removed after branching fo

[libunwind] [libcxxabi] Remove deprecated warning from cmake files (PR #72595)

2023-11-16 Thread via cfe-commits
https://github.com/AdvenamTacet edited https://github.com/llvm/llvm-project/pull/72595 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libunwind] 09ac2ec - Remove deprecated warning from cmake files (#72595)

2023-11-16 Thread via cfe-commits
Author: Tacet Date: 2023-11-16T21:20:12-05:00 New Revision: 09ac2ec3ad368f82e6b0814a6427b2cb93591ef6 URL: https://github.com/llvm/llvm-project/commit/09ac2ec3ad368f82e6b0814a6427b2cb93591ef6 DIFF: https://github.com/llvm/llvm-project/commit/09ac2ec3ad368f82e6b0814a6427b2cb93591ef6.diff LOG: Re

[clang] [llvm] Replace getAs with castAs, dyn_cast with cast (NFC) (PR #72600)

2023-11-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-flang-openmp Author: Mike Rice (mikerice1969) Changes Make the code clear that nullptrs are not expected. --- Full diff: https://github.com/llvm/llvm-project/pull/72600.diff 2 Files Affected: - (modified) clang/lib/AST/ASTC

[clang] [flang] [flang][Driver] Support -nodefaultlibs, -nostartfiles and -nostdlib (PR #72601)

2023-11-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-flang-driver @llvm/pr-subscribers-clang Author: Brad Smith (brad0) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/72601.diff 2 Files Affected: - (modified) clang/include/clang/Driver/Options.td (+6-3) - (modified) flang/test/Drive

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

2023-11-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Yuanfang Chen (yuanfang-chen) Changes Supports both v[0] and v.x/v.r/v.s0 syntax. Selecting multiple elements is left as a future work. --- Full diff: https://github.com/llvm/llvm-project/pull/72607.diff 4 Files Affected: - (modified)

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

2023-11-16 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 b034da7dad150a54661557cc3f712948b1e474e4 26a20b1c3594676b138395f91143356d87ec72cd --

[openmp] [libcxx] [llvm] [clang] [libc] [lldb] [flang] [mlir] Fix Logical expression used for merged conditional if in FlattenCFG pass (PR #72522)

2023-11-16 Thread via cfe-commits
@@ -450,9 +450,9 @@ bool FlattenCFGOpt::MergeIfRegion(BasicBlock *BB, IRBuilder<> &Builder) { if (!CompareIfRegionBlock(IfTrue1, IfTrue2, SecondEntryBlock)) return false; } else if (IfTrue1 == FirstEntryBlock) { -// The then-path is empty, so we must use "and"

[lld] [libunwind] [openmp] [libcxx] [llvm] [clang] [libc] [lldb] [compiler-rt] [flang] [mlir] [libcxxabi] Fix Logical expression used for merged conditional if in FlattenCFG pass (PR #72522)

2023-11-16 Thread via cfe-commits
https://github.com/mahtohappy updated https://github.com/llvm/llvm-project/pull/72522 >From ce4f4fc02e25359c8f38ff9ecf2a2d82aa90df72 Mon Sep 17 00:00:00 2001 From: mahtohappy Date: Thu, 16 Nov 2023 06:53:24 -0800 Subject: [PATCH 1/2] Fix Logical expression used for merged conditional if --- l

[lld] [libunwind] [openmp] [libcxx] [llvm] [clang] [libc] [lldb] [compiler-rt] [flang] [mlir] [libcxxabi] Fix Logical expression used for merged conditional if in FlattenCFG pass (PR #72522)

2023-11-16 Thread via cfe-commits
https://github.com/mahtohappy updated https://github.com/llvm/llvm-project/pull/72522 >From ce4f4fc02e25359c8f38ff9ecf2a2d82aa90df72 Mon Sep 17 00:00:00 2001 From: mahtohappy Date: Thu, 16 Nov 2023 06:53:24 -0800 Subject: [PATCH 1/3] Fix Logical expression used for merged conditional if --- l

[clang] [clang][Interp] Implement IntegralAP::{div, rem} (PR #72614)

2023-11-16 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/72614.diff 2 Files Affected: - (modified) clang/lib/AST/Interp/IntegralAP.h (+8-4) - (modified) clang/test/AST/Interp/intap.cpp (+18) `

[clang] 3defe8f - [clang][Interp] Implement __builtin_bitreverse (#71687)

2023-11-16 Thread via cfe-commits
Author: Timm Baeder Date: 2023-11-17T08:29:13+01:00 New Revision: 3defe8facc55431c040f964802588473e2d4452b URL: https://github.com/llvm/llvm-project/commit/3defe8facc55431c040f964802588473e2d4452b DIFF: https://github.com/llvm/llvm-project/commit/3defe8facc55431c040f964802588473e2d4452b.diff L

[clang] ea31662 - [clang] Add bitint classification for __builtin_classify_type (#72036)

2023-11-16 Thread via cfe-commits
Author: Timm Baeder Date: 2023-11-17T08:31:25+01:00 New Revision: ea316625d1c984d63610a580b138c800115bfd86 URL: https://github.com/llvm/llvm-project/commit/ea316625d1c984d63610a580b138c800115bfd86 DIFF: https://github.com/llvm/llvm-project/commit/ea316625d1c984d63610a580b138c800115bfd86.diff L

[clang] [clang] fix emitvaarg when struct is null (PR #72624)

2023-11-17 Thread via cfe-commits
https://github.com/Jolyon0202 created https://github.com/llvm/llvm-project/pull/72624 Fix bug when emit null struct with attribute aligned(16) and ICE of debugbuild. >From f0245b42534f423edaba45c2b3b2dffeb86e3074 Mon Sep 17 00:00:00 2001 From: Jian Yang Date: Wed, 15 Nov 2023 15:44:35 +0800 Su

[clang] [clang] fix emitvaarg when struct is null (PR #72624)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-codegen Author: Jolyon (Jolyon0202) Changes Fix bug when emit null struct with attribute aligned(16) and ICE of debugbuild. --- Full diff: https://github.com/llvm/llvm-project/pull/72624.diff 1 Files Affected: - (modi

[clang] [clang] fix emitvaarg when struct is null (PR #72624)

2023-11-17 Thread via cfe-commits
Jolyon0202 wrote: demo: ``` #include extern void *memset (void *__s, int __c, size_t __n); typedef __builtin_va_list va_list; struct S94 { struct __attribute__((aligned(16))) { } a; }; struct S94 s94; void check94va(int z, ...) { va_list ap; __builtin_va_start(ap, z); struct S94 arg

[clang-tools-extra] fd2d5ad - [include-cleaner] Make sure exports of stdlib also works for physical files (#72246)

2023-11-17 Thread via cfe-commits
Author: kadir çetinkaya Date: 2023-11-17T10:11:21+01:00 New Revision: fd2d5add437b2b324492b1bc29374699fe7b614b URL: https://github.com/llvm/llvm-project/commit/fd2d5add437b2b324492b1bc29374699fe7b614b DIFF: https://github.com/llvm/llvm-project/commit/fd2d5add437b2b324492b1bc29374699fe7b614b.dif

[clang] [clang][analyzer] Support `fgetc` in StreamChecker (PR #72627)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-static-analyzer-1 Author: Ben Shi (benshi001) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/72627.diff 4 Files Affected: - (modified) clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp (+52-18) -

[libcxxabi] [libcxx] [lld] [clang-tools-extra] [lldb] [compiler-rt] [mlir] [libunwind] [clang] [libc] [llvm] [flang] [lldb][test] Add the ability to extract the variable value out of the summary. (PR

2023-11-17 Thread via cfe-commits
https://github.com/santhoshe447 created https://github.com/llvm/llvm-project/pull/72631 When it comes to test infrastructure the test (TestDAP_variables.py: test_scopes_variables_setVariable_evaluate_with_descriptive_summaries) will fail if the variable has a summary along with value. I just

[libcxxabi] [libcxx] [lld] [clang-tools-extra] [lldb] [compiler-rt] [mlir] [libunwind] [clang] [libc] [llvm] [flang] [lldb][test] Add the ability to extract the variable value out of the summary. (PR

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: None (santhoshe447) Changes When it comes to test infrastructure the test (TestDAP_variables.py: test_scopes_variables_setVariable_evaluate_with_descriptive_summaries) will fail if the variable has a summary along with value. I just tried

[compiler-rt] [lldb] [clang-tools-extra] [llvm] [libc] [libcxx] [clang] [libcxxabi] [libunwind] [lld] [flang] [mlir] [lldb][test] Add the ability to extract the variable value out of the summary. (PR

2023-11-17 Thread via cfe-commits
https://github.com/santhoshe447 edited https://github.com/llvm/llvm-project/pull/72631 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clangd] Add way to remove file from CDB via LSP (PR #72635)

2023-11-17 Thread via cfe-commits
https://github.com/sr-tream created https://github.com/llvm/llvm-project/pull/72635 Currently, impossible to remove irrelevant files from CDB via LSP notification `workspace/didChangeConfiguration`. This PR change clangd behavior to remove file from CDB, when LSP pass empty parameters for them

[clang-tools-extra] [clangd] Add way to remove file from CDB via LSP (PR #72635)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: SR_team (sr-tream) Changes Currently, impossible to remove irrelevant files from CDB via LSP notification `workspace/didChangeConfiguration`. This PR change clangd behavior to remove file from CDB, when LSP pass empty parameters for them

[flang] [clang] [Flang] Add code-object-version option (PR #72638)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver @llvm/pr-subscribers-flang-driver Author: Dominik Adamski (DominikAdamski) Changes Information about code object version can be configured by the user for AMD GPU target and it needs to be placed in LLVM IR generated by Flang. Information

[flang] [clang] [Flang] Add code-object-version option (PR #72638)

2023-11-17 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 a67b85ef63c7ec29c2076294e3f7c7f923144a53 eb2710b0f736860dac62cc2ff8907fcefc64a8d6 --

[clang] b2d62c9 - [clang] Ensure fixed point conversions work in C++ (#68344)

2023-11-17 Thread via cfe-commits
Author: PiJoules Date: 2023-11-16T13:11:15-08:00 New Revision: b2d62c9a58433e2a2ca8d2c9cd6b0b612dca2e76 URL: https://github.com/llvm/llvm-project/commit/b2d62c9a58433e2a2ca8d2c9cd6b0b612dca2e76 DIFF: https://github.com/llvm/llvm-project/commit/b2d62c9a58433e2a2ca8d2c9cd6b0b612dca2e76.diff LOG:

[clang] 066c452 - [AArch64] Add support for Cortex-A520, Cortex-A720 and Cortex-X4 CPUs (#72395)

2023-11-17 Thread via cfe-commits
Author: Jonathan Thackray Date: 2023-11-16T22:08:58Z New Revision: 066c4524bc1d91b49048e7f05dc6e045bb3c9eef URL: https://github.com/llvm/llvm-project/commit/066c4524bc1d91b49048e7f05dc6e045bb3c9eef DIFF: https://github.com/llvm/llvm-project/commit/066c4524bc1d91b49048e7f05dc6e045bb3c9eef.diff

[clang] f0ad9ea - [clang-format] Handle lambdas in QualifierAlignment (#72456)

2023-11-17 Thread via cfe-commits
Author: Owen Pan Date: 2023-11-16T15:00:09-08:00 New Revision: f0ad9ea36ad65cec8c5e5d1d59c00192b87f287d URL: https://github.com/llvm/llvm-project/commit/f0ad9ea36ad65cec8c5e5d1d59c00192b87f287d DIFF: https://github.com/llvm/llvm-project/commit/f0ad9ea36ad65cec8c5e5d1d59c00192b87f287d.diff LOG:

[clang] [Clang][C++26] Implement Pack Indexing (P2662R3). (PR #72644)

2023-11-17 Thread via cfe-commits
https://github.com/cor3ntin created https://github.com/llvm/llvm-project/pull/72644 https://isocpp.org/files/papers/P2662R3.pdf Because there is a slight chance the syntax might change slightly (see https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2994r0.html), the feature is not exp

[clang] [Clang][C++26] Implement Pack Indexing (P2662R3). (PR #72644)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen @llvm/pr-subscribers-clang-modules Author: cor3ntin (cor3ntin) Changes https://isocpp.org/files/papers/P2662R3.pdf Because there is a slight chance the syntax might change slightly (see https://www.open-std.org/jtc1/sc22/wg21/docs/papers/

[clang] [Clang][C++26] Implement Pack Indexing (P2662R3). (PR #72644)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-debuginfo Author: cor3ntin (cor3ntin) Changes https://isocpp.org/files/papers/P2662R3.pdf Because there is a slight chance the syntax might change slightly (see https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2994r0.html), the feature is not

[clang] [Clang][C++26] Implement Pack Indexing (P2662R3). (PR #72644)

2023-11-17 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 ec42d547eba5c0ad0bddbecc8902d35383968e78 ac0f8313637763fe0ffcaf7f45cf803babe1b65b --

[clang-tools-extra] [clangd] Allow "move function body out-of-line" in non-header files (PR #69704)

2023-11-17 Thread via cfe-commits
ckandeler wrote: > Would you mind evolving the patch (and the infra) to work for > method-definitions inside anon namespaces? Of course not; I didn't even now it wasn't working. I suppose the main point is to determine the insertion location such that it is still within the original namespace

[clang] [Clang][C++26] Implement Pack Indexing (P2662R3). (PR #72644)

2023-11-17 Thread via cfe-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/72644 >From d3be2f228ce9d395e539a8827192da3f9b1be676 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Tue, 13 Sep 2022 18:29:34 +0200 Subject: [PATCH] [Clang][C++26] Implement Pack Indexing (P2662R3). https://isoc

[clang] f049395 - [APINotes] Upstream APINotesManager

2023-11-17 Thread via cfe-commits
Author: Egor Zhdan Date: 2023-11-17T13:28:51Z New Revision: f049395fc8d6d8bbbc711c7a2ce293210c580240 URL: https://github.com/llvm/llvm-project/commit/f049395fc8d6d8bbbc711c7a2ce293210c580240 DIFF: https://github.com/llvm/llvm-project/commit/f049395fc8d6d8bbbc711c7a2ce293210c580240.diff LOG: [A

[clang] 9c0e649 - [Offloading][NFC] Refactor handling of offloading entries (#72544)

2023-11-17 Thread via cfe-commits
Author: Joseph Huber Date: 2023-11-17T08:26:20-06:00 New Revision: 9c0e64999b23046d0b8987a48ddc41a4c6129f9d URL: https://github.com/llvm/llvm-project/commit/9c0e64999b23046d0b8987a48ddc41a4c6129f9d DIFF: https://github.com/llvm/llvm-project/commit/9c0e64999b23046d0b8987a48ddc41a4c6129f9d.diff

[clang] ff219ea - [OpenACC] Initial commits to support OpenACC (#70234)

2023-11-17 Thread via cfe-commits
Author: Erich Keane Date: 2023-11-17T06:29:02-08:00 New Revision: ff219ea9ca80f46ff85dbdb94622ffb319a0d237 URL: https://github.com/llvm/llvm-project/commit/ff219ea9ca80f46ff85dbdb94622ffb319a0d237 DIFF: https://github.com/llvm/llvm-project/commit/ff219ea9ca80f46ff85dbdb94622ffb319a0d237.diff L

[mlir] [libunwind] [clang-tools-extra] [lld] [lldb] [compiler-rt] [libcxxabi] [clang] [llvm] [libc] [flang] [libcxx] PR#72453 : Exceeding maximum file name length (PR #72654)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis Author: Shahid Iqbal (shahidiqbal13) Changes This issue is raised by @DrTodd13 The code in include/llvm/Analysis/DOTGraphTraitsPass.h will exceed most normal file system's maximum filename length of 255 if, e.g., the function's name is t

[mlir] [libunwind] [clang-tools-extra] [lld] [lldb] [compiler-rt] [libcxxabi] [clang] [llvm] [libc] [flang] [libcxx] PR#72453 : Exceeding maximum file name length (PR #72654)

2023-11-17 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 44af5924b1cbbb395e7e71250a5445053c4ec4a3 7662d4f177d32c3159c1c48b11ce3884e4ea78c8 --

[clang] [clang][Interp] Fix float->int casts overflowing (PR #72658)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes If S.noteUndefinedBehavior() returns true, we will continue evaluation and need a value on the stack. --- Full diff: https://github.com/llvm/llvm-project/pull/72658.diff 2 Files Affected: - (modified) cla

[clang] [clang][Interp] Decay pointers to the first element (PR #72660)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes I _think_ this makes sense to do here. This way we have a pointer to the first element on the stack. --- Full diff: https://github.com/llvm/llvm-project/pull/72660.diff 2 Files Affected: - (modified) clan

[clang] [OpenACC] Implement initial parsing for Construct/Directive Names (PR #72661)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Erich Keane (erichkeane) Changes As the first real parsing effort for the OpenACC implementation effort, this implements the parsing for construct/directive names. This does not do any semantic analysis, nor any parsing for the parens for

[clang] 965d301 - [clang][Interp] Implement __builtin_classify_type (#71972)

2023-11-17 Thread via cfe-commits
Author: Timm Baeder Date: 2023-11-17T16:13:23+01:00 New Revision: 965d301dff1837e2a7a0671c549bcf7ddb350486 URL: https://github.com/llvm/llvm-project/commit/965d301dff1837e2a7a0671c549bcf7ddb350486 DIFF: https://github.com/llvm/llvm-project/commit/965d301dff1837e2a7a0671c549bcf7ddb350486.diff L

[clang] [OpenACC] Implement initial parsing for Construct/Directive Names (PR #72661)

2023-11-17 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 8f81c605f5f450c4b4b641f805935a85b9409d98 01fc81b37ad744a265f712b26fd6c3a85430c719 --

[clang] [Tooling/Inclusion] Avoid narrowing conversions in macro expansion (PR #72664)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Krzysztof Parzyszek (kparzysz) Changes ``` clang/lib/Tooling/Inclusions/Stdlib/StandardLibrary.cpp:144:65: warning: narrowing conversion of ‘llvm::StringRef(((const char*)"std::experimental::filesystem::")).llvm::StringRef::size()’ from

[clang] 7d1a9e8 - [OpenACC] Rename ParseOpenACCDirective to ParseOpenACCDirectiveDecl

2023-11-17 Thread via cfe-commits
Author: erichkeane Date: 2023-11-17T07:28:33-08:00 New Revision: 7d1a9e81b0b59d020a52c789d659acb5ee5fdc41 URL: https://github.com/llvm/llvm-project/commit/7d1a9e81b0b59d020a52c789d659acb5ee5fdc41 DIFF: https://github.com/llvm/llvm-project/commit/7d1a9e81b0b59d020a52c789d659acb5ee5fdc41.diff LO

[clang] [Clang] Warn on deprecated specializations used in system headers. (PR #70353)

2023-11-17 Thread via cfe-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/70353 >From be2381c9e795af6dc6eec9a3eb9a0ef467edfe5c Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Thu, 26 Oct 2023 18:40:15 +0200 Subject: [PATCH] [Clang] Warn on deprecated specializations used in system head

[clang-tools-extra] [clangd] Allow "move function body out-of-line" in non-header files (PR #69704)

2023-11-17 Thread via cfe-commits
https://github.com/ckandeler updated https://github.com/llvm/llvm-project/pull/69704 >From b88cdbcd106e27d3e594dc06824df10d77f9402b Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Thu, 19 Oct 2023 17:51:11 +0200 Subject: [PATCH] [clangd] Allow "move function body out-of-line" in non-hea

[clang] [Clang] Warn on deprecated specializations used in system headers. (PR #70353)

2023-11-17 Thread via cfe-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/70353 >From be2381c9e795af6dc6eec9a3eb9a0ef467edfe5c Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Thu, 26 Oct 2023 18:40:15 +0200 Subject: [PATCH 1/2] [Clang] Warn on deprecated specializations used in system

[clang-tools-extra] [clangd] Allow "move function body out-of-line" in non-header files (PR #69704)

2023-11-17 Thread via cfe-commits
ckandeler wrote: The new patch set inserts at the end of the namespace block for the same-file case. https://github.com/llvm/llvm-project/pull/69704 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinf

[clang] c601be9 - [coroutines] Introduce [[clang::coro_return_type]] and [[clang::coro_wrapper]] (#71945)

2023-11-17 Thread via cfe-commits
Author: Utkarsh Saxena Date: 2023-11-17T17:29:30+01:00 New Revision: c601be9c8400929f7b5c015a2bceae57e3aab550 URL: https://github.com/llvm/llvm-project/commit/c601be9c8400929f7b5c015a2bceae57e3aab550 DIFF: https://github.com/llvm/llvm-project/commit/c601be9c8400929f7b5c015a2bceae57e3aab550.diff

[clang-tools-extra] [clangd] Add includes from source to non-self-contained headers (PR #72479)

2023-11-17 Thread via cfe-commits
https://github.com/sr-tream updated https://github.com/llvm/llvm-project/pull/72479 >From 032fddf0fbb03f0e3da86505aa81634a8a8e1cbc Mon Sep 17 00:00:00 2001 From: SR_team Date: Thu, 16 Nov 2023 07:15:10 +0200 Subject: [PATCH] Add includes from source to non-self-contained headers --- clang-too

[clang] 764c3af - [Tooling/Inclusion] Avoid narrowing conversions in macro expansion (#72664)

2023-11-17 Thread via cfe-commits
Author: Krzysztof Parzyszek Date: 2023-11-17T10:53:43-06:00 New Revision: 764c3afd43128f7ccddb070953c330b340ebe811 URL: https://github.com/llvm/llvm-project/commit/764c3afd43128f7ccddb070953c330b340ebe811 DIFF: https://github.com/llvm/llvm-project/commit/764c3afd43128f7ccddb070953c330b340ebe811

[clang] [clang codegen][regression] Add dso_local/hidden/etc. markings to VTT definitions and declarations (PR #72452)

2023-11-17 Thread via cfe-commits
bd1976bris wrote: > I'd prefer not to call setGVProperties() twice on the same variable; under > what conditions is the first call not sufficient? The test-case I posted is one such scenario: https://godbolt.org/z/s4rPffsrK. I suspect it may be related to whether there is a key function presen

[clang] aafad2d - [Clang] Warn on deprecated specializations used in system headers. (#70353)

2023-11-17 Thread via cfe-commits
Author: cor3ntin Date: 2023-11-17T18:16:34+01:00 New Revision: aafad2d214246bae4d53ce3178b11486ebc83890 URL: https://github.com/llvm/llvm-project/commit/aafad2d214246bae4d53ce3178b11486ebc83890 DIFF: https://github.com/llvm/llvm-project/commit/aafad2d214246bae4d53ce3178b11486ebc83890.diff LOG:

[clang] [Clang] Warn on deprecated specializations used in system headers. (PR #70353)

2023-11-17 Thread via cfe-commits
https://github.com/cor3ntin closed https://github.com/llvm/llvm-project/pull/70353 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 6e31709 - [ClangModule] Fix decl-params-determinisim test after serialization change (#72572)

2023-11-17 Thread via cfe-commits
Author: Steven Wu Date: 2023-11-17T09:17:15-08:00 New Revision: 6e31709283478aec409af924d9e9c13843f13c42 URL: https://github.com/llvm/llvm-project/commit/6e31709283478aec409af924d9e9c13843f13c42 DIFF: https://github.com/llvm/llvm-project/commit/6e31709283478aec409af924d9e9c13843f13c42.diff LOG

[clang] 3ce5c04 - Replace getAs with castAs, dyn_cast with cast (NFC) (#72600)

2023-11-17 Thread via cfe-commits
Author: Mike Rice Date: 2023-11-17T09:22:33-08:00 New Revision: 3ce5c04ad0585e5e14ba9d2f594492a257edf7b1 URL: https://github.com/llvm/llvm-project/commit/3ce5c04ad0585e5e14ba9d2f594492a257edf7b1 DIFF: https://github.com/llvm/llvm-project/commit/3ce5c04ad0585e5e14ba9d2f594492a257edf7b1.diff LOG

[clang] [NFC] Fix CSPGO clang pass manager test (PR #72681)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Ellis Hoag (ellishg) Changes Fix a `CHECK-NOT` line in a cspgo clang test --- Full diff: https://github.com/llvm/llvm-project/pull/72681.diff 1 Files Affected: - (modified) clang/test/CodeGen/cspgo-instrumentation_thinlto.c (+2-2) `

[clang-tools-extra] [clangd] Add includes from source to non-self-contained headers (PR #72479)

2023-11-17 Thread via cfe-commits
https://github.com/sr-tream updated https://github.com/llvm/llvm-project/pull/72479 >From 7b0b07e4a9adc5229226addd2700588bc0985c59 Mon Sep 17 00:00:00 2001 From: SR_team Date: Thu, 16 Nov 2023 07:15:10 +0200 Subject: [PATCH] Add includes from source to non-self-contained headers --- clang-too

[clang-tools-extra] [clangd] Add includes from source to non-self-contained headers (PR #72479)

2023-11-17 Thread via cfe-commits
https://github.com/sr-tream updated https://github.com/llvm/llvm-project/pull/72479 >From 580ad92c5cbaa88d402b71436ec90b6de325b1d2 Mon Sep 17 00:00:00 2001 From: SR_team Date: Thu, 16 Nov 2023 07:15:10 +0200 Subject: [PATCH] Add includes from source to non-self-contained headers --- clang-too

[clang] 64b6ef0 - [OpenACC] Implement initial parsing for `parallel` construct (#72661)

2023-11-17 Thread via cfe-commits
Author: Erich Keane Date: 2023-11-17T10:47:42-08:00 New Revision: 64b6ef02e263a8ee48bd91f8b06dd3945eb9be44 URL: https://github.com/llvm/llvm-project/commit/64b6ef02e263a8ee48bd91f8b06dd3945eb9be44 DIFF: https://github.com/llvm/llvm-project/commit/64b6ef02e263a8ee48bd91f8b06dd3945eb9be44.diff L

[clang-tools-extra] [llvm] [compiler-rt] [flang] [clang] [clang] Add support for new loop attribute [[clang::code_align()]] (PR #70762)

2023-11-17 Thread via cfe-commits
@@ -322,6 +322,73 @@ static Attr *handleUnlikely(Sema &S, Stmt *St, const ParsedAttr &A, return ::new (S.Context) UnlikelyAttr(S.Context, A); } +CodeAlignAttr *Sema::BuildCodeAlignAttr(const AttributeCommonInfo &CI, +Expr *E) { + if

[clang] 9bd5f80 - [OpenACC] Implement 'trivial' construct/directive parsing.

2023-11-17 Thread via cfe-commits
Author: erichkeane Date: 2023-11-17T11:26:22-08:00 New Revision: 9bd5f808ccacef0acc84529a0bdd22b448d06e4a URL: https://github.com/llvm/llvm-project/commit/9bd5f808ccacef0acc84529a0bdd22b448d06e4a DIFF: https://github.com/llvm/llvm-project/commit/9bd5f808ccacef0acc84529a0bdd22b448d06e4a.diff LO

[clang] [OpenACC] Implement compound construct parsing (PR #72692)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Erich Keane (erichkeane) Changes This patch implements the compound construct parsing, which allows 'parallel loop', 'serial loop', and 'kernel loop' to act as their own constructs. Note that this doesn't end up making any changes to the

[clang-tools-extra] [llvm] [compiler-rt] [flang] [clang] [clang] Add support for new loop attribute [[clang::code_align()]] (PR #70762)

2023-11-17 Thread via cfe-commits
@@ -322,6 +322,77 @@ static Attr *handleUnlikely(Sema &S, Stmt *St, const ParsedAttr &A, return ::new (S.Context) UnlikelyAttr(S.Context, A); } +CodeAlignAttr *Sema::BuildCodeAlignAttr(const AttributeCommonInfo &CI, +Expr *E) { + if

[clang] [llvm] [compiler-rt] [clang-tools-extra] [flang] [clang] Add support for new loop attribute [[clang::code_align()]] (PR #70762)

2023-11-17 Thread via cfe-commits
@@ -322,6 +322,77 @@ static Attr *handleUnlikely(Sema &S, Stmt *St, const ParsedAttr &A, return ::new (S.Context) UnlikelyAttr(S.Context, A); } +CodeAlignAttr *Sema::BuildCodeAlignAttr(const AttributeCommonInfo &CI, +Expr *E) { + if

[clang-tools-extra] [clangd] Add includes from source to non-self-contained headers (PR #72479)

2023-11-17 Thread via cfe-commits
https://github.com/sr-tream updated https://github.com/llvm/llvm-project/pull/72479 >From 76bb83ad49840ceb92be2db5bfe7849f5280d6d3 Mon Sep 17 00:00:00 2001 From: SR_team Date: Thu, 16 Nov 2023 07:15:10 +0200 Subject: [PATCH] Add includes from source to non-self-contained headers --- clang-too

[clang-tools-extra] [llvm] [compiler-rt] [flang] [clang] [clang] Add support for new loop attribute [[clang::code_align()]] (PR #70762)

2023-11-17 Thread via cfe-commits
@@ -0,0 +1,164 @@ +// RUN: %clang_cc1 -fsyntax-only -verify=expected,c-local -x c %s +// RUN: %clang_cc1 -fsyntax-only -verify=expected,cpp-local -pedantic -x c++ -std=c++11 %s + +void foo() { + int i; + int a[10], b[10]; + + [[clang::code_align(8)]] + for (i = 0; i < 10; ++i

[clang-tools-extra] [clangd] Add includes from source to non-self-contained headers (PR #72479)

2023-11-17 Thread via cfe-commits
https://github.com/sr-tream updated https://github.com/llvm/llvm-project/pull/72479 >From bd6a6d0bd766813c770b47115c48333ad7a992cd Mon Sep 17 00:00:00 2001 From: SR_team Date: Thu, 16 Nov 2023 07:15:10 +0200 Subject: [PATCH] Add includes from source to non-self-contained headers --- clang-too

[clang-tools-extra] [clangd] Add includes from source to non-self-contained headers (PR #72479)

2023-11-17 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 144b2f579ef06e663cf233431d291a913b895074 76bb83ad49840ceb92be2db5bfe7849f5280d6d3 --

[clang-tools-extra] [clangd] Add includes from source to non-self-contained headers (PR #72479)

2023-11-17 Thread via cfe-commits
https://github.com/sr-tream updated https://github.com/llvm/llvm-project/pull/72479 >From 225ca71650e880e9584fe2d49e03baba34690883 Mon Sep 17 00:00:00 2001 From: SR_team Date: Thu, 16 Nov 2023 07:15:10 +0200 Subject: [PATCH] Add includes from source to non-self-contained headers --- clang-too

[llvm] [clang] [Offload] Initial support for registering offloading entries on COFF targets (PR #72697)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Joseph Huber (jhuber6) Changes Summary: This patch provides the initial support to allow handling the new driver's offloading entries. Normally, the ELF target can emit varibles at C-identifier named sections and the linker will provide a p

[llvm] [clang-tools-extra] [clang] [compiler-rt] [flang] [clang] Add support for new loop attribute [[clang::code_align()]] (PR #70762)

2023-11-17 Thread via cfe-commits
https://github.com/smanna12 edited https://github.com/llvm/llvm-project/pull/70762 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [clang-tidy] Improve performance of misc-const-correctness (PR #72705)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 @llvm/pr-subscribers-clang-tidy Author: Piotr Zegar (PiotrZSL) Changes Replaced certain AST matchers in ExprMutationAnalyzer with a more direct utilization of AST classes. The primary bottleneck was identified in the canResolveT

[clang-tools-extra] 12bdbe2 - [clang-tidy][NFC][DOC] Add missing HICPP rule id's (#72553)

2023-11-17 Thread via cfe-commits
Author: Björn Svensson Date: 2023-11-17T22:37:42+01:00 New Revision: 12bdbe2792b53ee1253c508b44f24d43735e7de9 URL: https://github.com/llvm/llvm-project/commit/12bdbe2792b53ee1253c508b44f24d43735e7de9 DIFF: https://github.com/llvm/llvm-project/commit/12bdbe2792b53ee1253c508b44f24d43735e7de9.diff

[clang] 2402b14 - Fix python SyntaxWarnings in check-all output (#72538)

2023-11-17 Thread via cfe-commits
Author: Georgios Eleftheriou Date: 2023-11-17T16:40:21-05:00 New Revision: 2402b14046b9628b584c07789830d7ed481f7d74 URL: https://github.com/llvm/llvm-project/commit/2402b14046b9628b584c07789830d7ed481f7d74 DIFF: https://github.com/llvm/llvm-project/commit/2402b14046b9628b584c07789830d7ed481f7d7

[clang] 6168337 - [OpenACC] Handle lack of construct/directive

2023-11-17 Thread via cfe-commits
Author: erichkeane Date: 2023-11-17T13:48:50-08:00 New Revision: 6168337640addcf137c780d83770bd5e6e06a8c2 URL: https://github.com/llvm/llvm-project/commit/6168337640addcf137c780d83770bd5e6e06a8c2 DIFF: https://github.com/llvm/llvm-project/commit/6168337640addcf137c780d83770bd5e6e06a8c2.diff LO

[clang] 5679f55 - [clang-format] Fix crashes in AlignArrayOfStructures (#72520)

2023-11-17 Thread via cfe-commits
Author: Owen Pan Date: 2023-11-17T14:35:30-08:00 New Revision: 5679f5515b8ba83c804ad871452a95565af76e19 URL: https://github.com/llvm/llvm-project/commit/5679f5515b8ba83c804ad871452a95565af76e19 DIFF: https://github.com/llvm/llvm-project/commit/5679f5515b8ba83c804ad871452a95565af76e19.diff LOG:

[clang] 10025d9 - [NFC] Fix CSPGO clang pass manager test (#72681)

2023-11-17 Thread via cfe-commits
Author: Ellis Hoag Date: 2023-11-17T16:55:18-06:00 New Revision: 10025d947c0b6bfc60a8b0c0f2af40585d173485 URL: https://github.com/llvm/llvm-project/commit/10025d947c0b6bfc60a8b0c0f2af40585d173485 DIFF: https://github.com/llvm/llvm-project/commit/10025d947c0b6bfc60a8b0c0f2af40585d173485.diff LO

[clang] [clang][NFC] Reorder Atomic builtins to be consistent. (PR #72718)

2023-11-17 Thread via cfe-commits
https://github.com/Logikable created https://github.com/llvm/llvm-project/pull/72718 None >From 37a08f6b2f0d2bd4e20f14798738a0cbc69bc59e Mon Sep 17 00:00:00 2001 From: Sean Luchen Date: Fri, 17 Nov 2023 23:07:28 + Subject: [PATCH] [clang][NFC] Reorder Atomic builtins to be consistent. ---

[clang] [clang][NFC] Reorder Atomic builtins to be consistent. (PR #72718)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen @llvm/pr-subscribers-clang Author: None (Logikable) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/72718.diff 1 Files Affected: - (modified) clang/lib/CodeGen/CGAtomic.cpp (+83-83) ``diff diff --git a/clang

[clang] [clang-format] Option to ignore PP directives (PR #70338)

2023-11-17 Thread via cfe-commits
https://github.com/mydeveloperday edited https://github.com/llvm/llvm-project/pull/70338 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Option to ignore PP directives (PR #70338)

2023-11-17 Thread via cfe-commits
https://github.com/mydeveloperday commented: Something here doesn't feel right https://github.com/llvm/llvm-project/pull/70338 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Option to ignore PP directives (PR #70338)

2023-11-17 Thread via cfe-commits
@@ -24153,6 +24153,113 @@ TEST_F(FormatTest, WhitespaceSensitiveMacros) { verifyNoChange("FOO(String-ized&Messy+But: :Still=Intentional);", Style); } +TEST_F(FormatTest, IgnorePPDefinitions) { + FormatStyle Style = getLLVMStyle(); + Style.IgnorePPDefinitions = true; + + v

[clang] [clang-format][NFC] Skip alignArrayInitializers() for 1-row matrices (PR #72166)

2023-11-17 Thread via cfe-commits
https://github.com/mydeveloperday approved this pull request. https://github.com/llvm/llvm-project/pull/72166 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format]: Split alignment of declarations around assignment (PR #69340)

2023-11-17 Thread via cfe-commits
https://github.com/mydeveloperday approved this pull request. https://github.com/llvm/llvm-project/pull/69340 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [lldb] [BOLT][DWARF] Fix handling of DWARF5 DWP (PR #72729)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver @llvm/pr-subscribers-clang Author: Alexander Yermolovich (ayermolo) Changes Fixed handling of DWP as input. Before BOLT crashed. Now it will write out correct CU, and all the TUs. Potential future improvement is to scan all the TUs used in t

[clang] [clang][DebugInfo] Attach DW_AT_const_value to static data-member definitions if available (PR #72730)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Michael Buch (Michael137) Changes In https://github.com/llvm/llvm-project/pull/71780 we started emitting definitions for all static data-members with constant initialisers, even if they were constants (i.e., didn't have a location

[clang] [clang][DebugInfo] Attach DW_AT_const_value to static data-member definitions if available (PR #72730)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-debuginfo Author: Michael Buch (Michael137) Changes In https://github.com/llvm/llvm-project/pull/71780 we started emitting definitions for all static data-members with constant initialisers, even if they were constants (i.e., didn't have a location). W

[libcxx] [libunwind] [llvm] [libc++] Allow running the test suite with optimizations (PR #68753)

2023-11-17 Thread via cfe-commits
@@ -87,6 +87,21 @@ def getStdFlag(cfg, std): return "-std=" + fallbacks[std] return None +def getSpeedOptimizationFlag(cfg): +if _isClang(cfg) or _isAppleClang(cfg) or _isGCC(cfg): +return "-O3" +elif _isMSVC(cfg): +return "/O2" +else: +

[llvm] [libcxx] [libunwind] [libc++] Allow running the test suite with optimizations (PR #68753)

2023-11-17 Thread via cfe-commits
https://github.com/philnik777 edited https://github.com/llvm/llvm-project/pull/68753 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

<    14   15   16   17   18   19   20   21   22   23   >