[clang] [clang] Implement type/address discrimination of type_info vtable. (PR #99726)

2024-07-22 Thread Ahmed Bougacha via cfe-commits
https://github.com/ahmedbougacha closed https://github.com/llvm/llvm-project/pull/99726 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Modules] Don't search for modulemaps in the immediate sub-directories of search paths for recent Apple SDKs. (PR #100005)

2024-07-22 Thread Volodymyr Sapsai via cfe-commits
https://github.com/vsapsai created https://github.com/llvm/llvm-project/pull/15 Such searches can be costly and non-intuitive. We've seen complaints from developers that they don't expect clang to find modules on their own and not in search paths that developers provide. Keeping the search

[clang] [Modules] Don't search for modulemaps in the immediate sub-directories of search paths for recent Apple SDKs. (PR #100005)

2024-07-22 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Volodymyr Sapsai (vsapsai) Changes Such searches can be costly and non-intuitive. We've seen complaints from developers that they don't expect clang to find modules on their own and not in search paths that developers provide. Keep

[clang] [Modules] Don't search for modulemaps in the immediate sub-directories of search paths for recent Apple SDKs. (PR #100005)

2024-07-22 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: Volodymyr Sapsai (vsapsai) Changes Such searches can be costly and non-intuitive. We've seen complaints from developers that they don't expect clang to find modules on their own and not in search paths that developers provide. Kee

[clang] [Clang] Introduce 'clang-nvlink-wrapper' to work around 'nvlink' (PR #96561)

2024-07-22 Thread via cfe-commits
dyung wrote: @jhuber6 this change seems to be causing build failures on some bots: - https://lab.llvm.org/buildbot/#/builders/174/builds/2129 - https://lab.llvm.org/buildbot/#/builders/190/builds/2383 Can you take a look? https://github.com/llvm/llvm-project/pull/96561 _

[clang] [Clang] Introduce 'clang-nvlink-wrapper' to work around 'nvlink' (PR #96561)

2024-07-22 Thread via cfe-commits
dyung wrote: > @jhuber6 this change seems to be causing build failures on some bots: > > * https://lab.llvm.org/buildbot/#/builders/174/builds/2129 > * https://lab.llvm.org/buildbot/#/builders/190/builds/2383 > > Can you take a look? Nevermind, I just noticed you already fixed it. Sorry for th

[clang] [Clang] Introduce 'clang-nvlink-wrapper' to work around 'nvlink' (PR #96561)

2024-07-22 Thread Joseph Huber via cfe-commits
jhuber6 wrote: > @jhuber6 this change seems to be causing build failures on some bots: > > * https://lab.llvm.org/buildbot/#/builders/174/builds/2129 > > * https://lab.llvm.org/buildbot/#/builders/190/builds/2383 > > > Can you take a look? Gah, sorry forgot to suppress that error whe

[clang] [HeaderSearch] Make a test independent of the local environment. (PR #100011)

2024-07-22 Thread Volodymyr Sapsai via cfe-commits
https://github.com/vsapsai created https://github.com/llvm/llvm-project/pull/100011 Don't ask the driver to inspect the local environment but use `cc1` directly. >From 190e0a04afb71873c5d398ff08057684ca553d67 Mon Sep 17 00:00:00 2001 From: Volodymyr Sapsai Date: Mon, 22 Jul 2024 16:46:27 -0700

[clang] [HeaderSearch] Make a test independent of the local environment. (PR #100011)

2024-07-22 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Volodymyr Sapsai (vsapsai) Changes Don't ask the driver to inspect the local environment but use `cc1` directly. --- Full diff: https://github.com/llvm/llvm-project/pull/100011.diff 1 Files Affected: - (modified) clang/test/Modules/subd

[clang] [Clang] Loop over FieldDecls instead of all Decls (PR #99574)

2024-07-22 Thread Eli Friedman via cfe-commits
efriedma-quic wrote: Empty fields sometimes don't have a corresponding LLVM field number, in order to make the layout work correctly. We slightly extended the cases where this applies recently; see #96422. https://github.com/llvm/llvm-project/pull/99574 ___

[clang] [HeaderSearch] Make a test independent of the local environment. (PR #100011)

2024-07-22 Thread Volodymyr Sapsai via cfe-commits
vsapsai wrote: Noticed inconsistencies after #15 as I have pre-release Xcode locally. https://github.com/llvm/llvm-project/pull/100011 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi

[clang] [Clang] Introduce 'clang-nvlink-wrapper' to work around 'nvlink' (PR #96561)

2024-07-22 Thread via cfe-commits
dyung wrote: https://lab.llvm.org/buildbot/#/builders/174/builds/2130 Actually I noticed (and I think you already did as well), that there seems to be a test failure of nvwrapper.c after you fixed the build error. Just wanted to let you know in case you were not already aware. https://github.

[clang] [clang][CodeGen] Zero init unspecified fields in initializers in C (#97459) (PR #97121)

2024-07-22 Thread via cfe-commits
https://github.com/yabinc updated https://github.com/llvm/llvm-project/pull/97121 >From 4166d864eaf66113bef884080492ce8d7b3d6b28 Mon Sep 17 00:00:00 2001 From: Yabin Cui Date: Thu, 27 Jun 2024 17:11:52 -0700 Subject: [PATCH] [clang][CodeGen] Zero init unspecified fields in initializers in C (#

[clang] Correct confusing header in HLSLDocs (PR #100017)

2024-07-22 Thread Greg Roth via cfe-commits
https://github.com/pow2clk created https://github.com/llvm/llvm-project/pull/100017 Because AvailabilityDiagnostics.rst mistakenly overlined the "Examples" section, it was included in the generated HLSLDocs page. By demoting it to a subheader, it shouldn't show up as a top-level HLSLDocs page.

[clang] Correct confusing header in HLSLDocs (PR #100017)

2024-07-22 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[clang] Correct confusing header in HLSLDocs (PR #100017)

2024-07-22 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Greg Roth (pow2clk) Changes Because AvailabilityDiagnostics.rst mistakenly overlined the "Examples" section, it was included in the generated HLSLDocs page. By demoting it to a subheader, it shouldn't show up as a top-level HLSLDocs page.

[clang] Correct confusing header in HLSLDocs (PR #100017)

2024-07-22 Thread Greg Roth via cfe-commits
pow2clk wrote: See https://clang.llvm.org/docs/HLSL/HLSLDocs.html to see the effect https://github.com/llvm/llvm-project/pull/100017 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Loop over FieldDecls instead of all Decls (PR #99574)

2024-07-22 Thread Bill Wendling via cfe-commits
bwendling wrote: So is it enough to test if the FieldDecl exists in the CGRecordLayout before asking for the FieldNo? When I do that, there are some other subtle changes that occur, though maybe those are from other changes... https://github.com/llvm/llvm-project/pull/99574 ___

[clang] [clang][headers] Including stddef.h always redefines NULL (PR #99727)

2024-07-22 Thread Ian Anderson via cfe-commits
https://github.com/ian-twilightcoder updated https://github.com/llvm/llvm-project/pull/99727 >From 5e50bd5c4a9ed2f9fd0eea1431a2150886c4a00f Mon Sep 17 00:00:00 2001 From: Ian Anderson Date: Fri, 19 Jul 2024 17:53:44 -0700 Subject: [PATCH] [clang][headers] Including stddef.h always redefines NUL

[clang] [Clang] Introduce 'clang-nvlink-wrapper' to work around 'nvlink' (PR #96561)

2024-07-22 Thread Joseph Huber via cfe-commits
jhuber6 wrote: > https://lab.llvm.org/buildbot/#/builders/174/builds/2130 > > Actually I noticed (and I think you already did as well), that there seems to > be a test failure of nvwrapper.c after you fixed the build error. Just wanted > to let you know in case you were not already aware. Yep

<    2   3   4   5   6   7