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

2023-11-17 Thread Michael Buch via cfe-commits
https://github.com/Michael137 created https://github.com/llvm/llvm-project/pull/72730 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). We also d

[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

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

2023-11-17 Thread Michael Buch via cfe-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/72730 >From 6dcb09dcc50a9b9e92640412242927b3e226929e Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Sat, 18 Nov 2023 00:20:05 + Subject: [PATCH 1/4] [clang][DebugInfo][NFC] Create evaluateConstantInitializer

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

2023-11-17 Thread Michael Buch via cfe-commits
Michael137 wrote: @ilovepi https://github.com/llvm/llvm-project/pull/72730 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-11-17 Thread Paul Kirth via cfe-commits
ilovepi wrote: This looks great, thanks for keeping me in the loop. :) https://github.com/llvm/llvm-project/pull/72730 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AVR] make the AVR ABI Swift compatible (PR #72298)

2023-11-17 Thread Carl Peto via cfe-commits
carlos4242 wrote: Thanks, that sounds like it's worth looking into and might avoid issues with AVR. I'm still nowhere near enough of an LLVM expert to follow all the aspects of the discussion. Although from our perspective, I've never seen an issue that I know, using the above patch for the l

[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

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

2023-11-17 Thread via cfe-commits
@@ -0,0 +1,28 @@ +// -*- C++ -*- +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-

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

2023-11-17 Thread via cfe-commits
https://github.com/philnik777 requested changes to this pull request. 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

[clang] [clang] Sema::isSimpleTypeSpecifier return true for _Bool in c99 (PR #72204)

2023-11-17 Thread Carl Peto via cfe-commits
carlos4242 wrote: The dup in Format seems to have already drifted from the one in Sema so putting them together might be a significant change, a bit more than I'm comfortable taking on... I don't want to break or alter behaviour for someone's formatter just to fix a tiny issue I found in a ba

[clang] f603369 - [clang-format][NFC] Remove a redundant isLiteral() call

2023-11-17 Thread Owen Pan via cfe-commits
Author: Owen Pan Date: 2023-11-17T18:18:49-08:00 New Revision: f6033699646b7650123a273c043a93e5eeaac6d8 URL: https://github.com/llvm/llvm-project/commit/f6033699646b7650123a273c043a93e5eeaac6d8 DIFF: https://github.com/llvm/llvm-project/commit/f6033699646b7650123a273c043a93e5eeaac6d8.diff LOG:

[clang] [clang-format] Correctly annotate braces of empty functions (PR #72733)

2023-11-17 Thread Owen Pan via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/72733 Also fixed some existing test cases. Fixed #57305. Fixed #58251. >From 519c21da642026b917c2e51c95cc4347f85163ca Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Fri, 17 Nov 2023 17:51:33 -0800 Subject: [PATCH] [cla

[clang] [clang-format] Correctly annotate braces of empty functions (PR #72733)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Also fixed some existing test cases. Fixed #57305. Fixed #58251. --- Full diff: https://github.com/llvm/llvm-project/pull/72733.diff 3 Files Affected: - (modified) clang/lib/Format/TokenAnnotator.cpp (+

[clang] fix: compatible C++ empty record with align UB with gcc (PR #72197)

2023-11-17 Thread via cfe-commits
https://github.com/hstk30-hw updated https://github.com/llvm/llvm-project/pull/72197 >From 76b86014cb4af9fe5b163d61a96597217d6e843c Mon Sep 17 00:00:00 2001 From: hstk30-hw Date: Sat, 18 Nov 2023 11:00:29 + Subject: [PATCH] fix: empty record size > 64 with align let va_list get out of sync

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

2023-11-17 Thread Stephan T. Lavavej 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: +

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

2023-11-17 Thread Brad Smith via cfe-commits
brad0 wrote: > > -nopie is for the linker. We only use -fno-pie for the compiler. > > OK. Then it seems that the driver option `-nopie` for linking should be > removed even for OpenBSD? Let me check something before I say anything further. https://github.com/llvm/llvm-project/pull/72578 _

[clang-tools-extra] [clangd] Don't show inlay hints for __builtin_dump_struct (PR #71366)

2023-11-17 Thread Younan Zhang via cfe-commits
zyn0217 wrote: > Out of curiosity, I dialled into today's LLVM office hours and asked Aaron > Ballman about this Thank you so much for making the effort on this issue. :) > ...just change the code for building the invented CallExprs to give them an > invalid SourceLocation Interesting idea a

[libc] [clang-tools-extra] [mlir] [compiler-rt] [lld] [libcxx] [clang] [flang] [lldb] [llvm] [MLIR] Enable GPU Dialect to SYCL runtime integration (PR #71430)

2023-11-17 Thread Mehdi Amini via cfe-commits
@@ -61,6 +63,7 @@ registerAllGPUToLLVMIRTranslations(DialectRegistry ®istry) { registerLLVMDialectTranslation(registry); registerNVVMDialectTranslation(registry); registerROCDLDialectTranslation(registry); + registerSPIRVDialectTranslation(registry); jo

[libc] [clang-tools-extra] [mlir] [compiler-rt] [lld] [libcxx] [clang] [flang] [lldb] [llvm] [MLIR] Enable GPU Dialect to SYCL runtime integration (PR #71430)

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

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

2023-11-17 Thread Brad Smith via cfe-commits
https://github.com/brad0 updated https://github.com/llvm/llvm-project/pull/72601 >From 8d478b98effa8b6bb5d59605034ce35086cc0112 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Wed, 15 Nov 2023 14:24:11 -0500 Subject: [PATCH] [flang][Driver] Support -nodefaultlibs, -nostartfiles and -nostdlib -

[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 06eaf30b75ac4209bdb5768511053d648ac55a55 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 c85ae981ba584df754057e89703a7b1c1554e5aa 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 35456a46409862a31014161978e56f9ad184a7f1 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 Nathan Ridge via cfe-commits
HighCommander4 wrote: @sr-tream just so you know, every time you force-push a PR, github sends every subscriber an email notification https://github.com/llvm/llvm-project/pull/72479 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists

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

2023-11-17 Thread via cfe-commits
sr-tream wrote: > @sr-tream just so you know, every time you force-push a PR, github sends > every subscriber an email notification Sorry for flood, I will try to avoid this from now on https://github.com/llvm/llvm-project/pull/72479 ___ cfe-commits

<    1   2   3   4