[clang] Enclose code in nondebug in #ifndef NDEBUG/#endif (PR #142189)

2025-05-30 Thread Walter Lee via cfe-commits
https://github.com/googlewalt closed https://github.com/llvm/llvm-project/pull/142189 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Variable is unused when opt mode is on and assert is turned off (PR #142049)

2025-05-29 Thread Walter Lee via cfe-commits
https://github.com/googlewalt closed https://github.com/llvm/llvm-project/pull/142049 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [HLSL] Implement `SpirvType` and `SpirvOpaqueType` (PR #134034)

2025-05-28 Thread Walter Lee via cfe-commits
googlewalt wrote: Never mind. Fixed by https://github.com/llvm/llvm-project/commit/f3b404be973507432cf86c177978d9de708d850c. https://github.com/llvm/llvm-project/pull/134034 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.o

[clang] [HLSL] Implement `SpirvType` and `SpirvOpaqueType` (PR #134034)

2025-05-28 Thread Walter Lee via cfe-commits
googlewalt wrote: This doesn't build with -Werror, as seen in llvm-ci build https://lab.llvm.org/buildbot/#/builders/145/builds/7332. Can you please take a look? ``` FAILED: tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangBuiltinTemplatesEmitter.cpp.o ccache /home/buildbots/llv

[clang] Revert "[clang] Fix handle_cxx.cpp after 9e306ad4" (PR #141532)

2025-05-26 Thread Walter Lee via cfe-commits
https://github.com/googlewalt closed https://github.com/llvm/llvm-project/pull/141532 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[clang] Fix handle_cxx.cpp after 9e306ad4" (PR #141532)

2025-05-26 Thread Walter Lee via cfe-commits
https://github.com/googlewalt created https://github.com/llvm/llvm-project/pull/141532 This reverts commit d25f95fdbc5314f30618912e18f00ad4dd720fa0, after 9e306ad4 was rolled back in e2a88553 (r576388). >From 95dc425f757d1f0a895612bca6aaf8e80f44cf9e Mon Sep 17 00:00:00 2001 From: Walter Lee D

[clang] Add tests for driver to propagate module map flags for layering check (PR #75827)

2023-12-21 Thread Walter Lee via cfe-commits
https://github.com/googlewalt closed https://github.com/llvm/llvm-project/pull/75827 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Add tests for driver to propagate module map flags for layering check (PR #75827)

2023-12-21 Thread Walter Lee via cfe-commits
https://github.com/googlewalt edited https://github.com/llvm/llvm-project/pull/75827 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Add tests for driver to propagate module map flags even without -fmod… (PR #75827)

2023-12-20 Thread Walter Lee via cfe-commits
@@ -57,6 +57,14 @@ // CHECK-MODULE-MAP-FILES: "-fmodule-map-file=foo.map" // CHECK-MODULE-MAP-FILES: "-fmodule-map-file=bar.map" +// RUN: %clang -fno-modules -fmodule-name=foo -c -### %s 2>&1 | FileCheck -check-prefix=CHECK-PROPAGATE-MODULE-NAME %s googlewalt

[clang] Add tests for driver to propagate module map flags even without -fmod… (PR #75827)

2023-12-20 Thread Walter Lee via cfe-commits
https://github.com/googlewalt updated https://github.com/llvm/llvm-project/pull/75827 >From eefa77a7cc7c671ef1551239e473f0267527dfa3 Mon Sep 17 00:00:00 2001 From: Walter Lee Date: Mon, 18 Dec 2023 11:41:43 -0500 Subject: [PATCH 1/2] Add tests for driver to propagate module map flags when -fno

[clang] Add tests for driver to propagate module map flags even without -fmod… (PR #75827)

2023-12-19 Thread Walter Lee via cfe-commits
https://github.com/googlewalt updated https://github.com/llvm/llvm-project/pull/75827 >From eefa77a7cc7c671ef1551239e473f0267527dfa3 Mon Sep 17 00:00:00 2001 From: Walter Lee Date: Mon, 18 Dec 2023 11:41:43 -0500 Subject: [PATCH] Add tests for driver to propagate module map flags when -fno-mod

[clang] Add tests for driver to propagate module map flags even without -fmod… (PR #75827)

2023-12-19 Thread Walter Lee via cfe-commits
https://github.com/googlewalt updated https://github.com/llvm/llvm-project/pull/75827 >From 308e72ed9735f739a0993062415301fea0f47b77 Mon Sep 17 00:00:00 2001 From: Walter Lee Date: Mon, 18 Dec 2023 11:41:43 -0500 Subject: [PATCH] Add tests for driver to propagate module map flags when -fno-mod

[llvm] [clang] [clang-tools-extra] [compiler-rt] [libc] [flang] [libcxx] Add tests for driver to propagate module map flags even without -fmod… (PR #75827)

2023-12-19 Thread Walter Lee via cfe-commits
https://github.com/googlewalt updated https://github.com/llvm/llvm-project/pull/75827 >From 308e72ed9735f739a0993062415301fea0f47b77 Mon Sep 17 00:00:00 2001 From: Walter Lee Date: Mon, 18 Dec 2023 11:41:43 -0500 Subject: [PATCH] Add tests for driver to propagate module map flags when -fno-mod

[clang] Add tests for driver to propagate module map flags even without -fmod… (PR #75827)

2023-12-19 Thread Walter Lee via cfe-commits
@@ -57,6 +57,14 @@ // CHECK-MODULE-MAP-FILES: "-fmodule-map-file=foo.map" // CHECK-MODULE-MAP-FILES: "-fmodule-map-file=bar.map" +// RUN: %clang -fno-modules -fmodule-name=foo -c -### %s 2>&1 | FileCheck -check-prefix=CHECK-PROPAGATE-MODULE-NAME %s googlewalt

[clang] Add tests for driver to propagate module map flags even without -fmod… (PR #75827)

2023-12-19 Thread Walter Lee via cfe-commits
https://github.com/googlewalt updated https://github.com/llvm/llvm-project/pull/75827 >From 308e72ed9735f739a0993062415301fea0f47b77 Mon Sep 17 00:00:00 2001 From: Walter Lee Date: Mon, 18 Dec 2023 11:41:43 -0500 Subject: [PATCH] Add tests for driver to propagate module map flags when -fno-mod

[clang] Add tests for driver to propagate module map flags even without -fmod… (PR #75827)

2023-12-19 Thread Walter Lee via cfe-commits
https://github.com/googlewalt updated https://github.com/llvm/llvm-project/pull/75827 >From 303bcd180e438abd570bd9abd55582959d313ae3 Mon Sep 17 00:00:00 2001 From: Walter Lee Date: Mon, 18 Dec 2023 11:41:43 -0500 Subject: [PATCH] Add tests for driver to propagate module map flags when -fno-mod

[clang] Add tests for driver to propagate module map flags even without -fmod… (PR #75827)

2023-12-18 Thread Walter Lee via cfe-commits
https://github.com/googlewalt created https://github.com/llvm/llvm-project/pull/75827 …ules We use this to verify properties of our build graph, even when modules are off. Xcode 14.3.1 seems to have dropped these flags so we are creating a unit test to reproduce the issue. >From 0e83c457b51

[clang] 66c6bbe - Put code that avoids heapifying local blocks behind a flag

2021-09-14 Thread Walter Lee via cfe-commits
Author: Walter Lee Date: 2021-09-14T14:06:05-04:00 New Revision: 66c6bbe7ff56441706d6cbb349fde9a02e248c9a URL: https://github.com/llvm/llvm-project/commit/66c6bbe7ff56441706d6cbb349fde9a02e248c9a DIFF: https://github.com/llvm/llvm-project/commit/66c6bbe7ff56441706d6cbb349fde9a02e248c9a.diff LO

r332635 - [sanitizer] Don't add --export-dynamic for Myriad

2018-05-17 Thread Walter Lee via cfe-commits
Author: waltl Date: Thu May 17 11:04:39 2018 New Revision: 332635 URL: http://llvm.org/viewvc/llvm-project?rev=332635&view=rev Log: [sanitizer] Don't add --export-dynamic for Myriad This is to work around a bug in some versions of gnu ld, where --export-dynamic implies -shared even if -static is

r324420 - [Myriad] Define __ma2x5x and __ma2x8x

2018-02-06 Thread Walter Lee via cfe-commits
Author: waltl Date: Tue Feb 6 14:39:47 2018 New Revision: 324420 URL: http://llvm.org/viewvc/llvm-project?rev=324420&view=rev Log: [Myriad] Define __ma2x5x and __ma2x8x Summary: Add architecture defines for ma2x5x and ma2x8x. Reviewers: jyknight Subscribers: fedor.sergeev, MartinO Differentia

r322023 - [Myriad] Remove invalidated -elf flag for MoviAsm

2018-01-08 Thread Walter Lee via cfe-commits
Author: waltl Date: Mon Jan 8 12:36:08 2018 New Revision: 322023 URL: http://llvm.org/viewvc/llvm-project?rev=322023&view=rev Log: [Myriad] Remove invalidated -elf flag for MoviAsm Summary: The flag has been deprecated, and is becoming invalid in the latest MDK. Reviewers: jyknight Subscribers

r321082 - Add renamed .o files that were omitted by "git llvm push" command

2017-12-19 Thread Walter Lee via cfe-commits
Author: waltl Date: Tue Dec 19 08:34:13 2017 New Revision: 321082 URL: http://llvm.org/viewvc/llvm-project?rev=321082&view=rev Log: Add renamed .o files that were omitted by "git llvm push" command Original commit is at: https://reviews.llvm.org/D41295. Added: cfe/trunk/test/Driver/Inputs/

r321080 - Rename sparc-myriad-elf triplet to sparc-myriad-rtems

2017-12-19 Thread Walter Lee via cfe-commits
Author: waltl Date: Tue Dec 19 08:19:11 2017 New Revision: 321080 URL: http://llvm.org/viewvc/llvm-project?rev=321080&view=rev Log: Rename sparc-myriad-elf triplet to sparc-myriad-rtems Summary: This is to be consistent with latest Movidius MDK releases. Also, don't inherit any gcc paths for shav

r314706 - Add support for Myriad ma2x8x series of CPUs

2017-10-02 Thread Walter Lee via cfe-commits
Author: waltl Date: Mon Oct 2 11:50:57 2017 New Revision: 314706 URL: http://llvm.org/viewvc/llvm-project?rev=314706&view=rev Log: Add support for Myriad ma2x8x series of CPUs Summary: Also: - Add support for some older Myriad CPUs that were missing. - Fix some incorrect compiler defines for exi

r309815 - Define _GNU_SOURCE for RTEMS c++

2017-08-02 Thread Walter Lee via cfe-commits
Author: waltl Date: Wed Aug 2 07:36:52 2017 New Revision: 309815 URL: http://llvm.org/viewvc/llvm-project?rev=309815&view=rev Log: Define _GNU_SOURCE for RTEMS c++ Summary: This is required by the libc++ locale support. Reviewers: jyknight Subscribers: fedor.sergeev Differential Revision: htt

r309626 - Move RTEMS to OSTargets.h

2017-07-31 Thread Walter Lee via cfe-commits
Author: waltl Date: Mon Jul 31 14:00:16 2017 New Revision: 309626 URL: http://llvm.org/viewvc/llvm-project?rev=309626&view=rev Log: Move RTEMS to OSTargets.h Differential Revision: https://reviews.llvm.org/D36106 Modified: cfe/trunk/lib/Basic/Targets/OSTargets.h cfe/trunk/lib/Basic/Targe