[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

2024-10-04 Thread via cfe-commits
llvmbot wrote: Failed to cherry-pick: d2051919bb42087ebde2a8bdcd5b2676ad16d8eb https://github.com/llvm/llvm-project/actions/runs/11181632525 Please manually backport the fix and push it to your github fork. Once this is done, please create a [pull request](https://github.com/llvm/llvm-proje

[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

2024-10-04 Thread via cfe-commits
llvmbot wrote: Failed to cherry-pick: d205191 https://github.com/llvm/llvm-project/actions/runs/11181614249 Please manually backport the fix and push it to your github fork. Once this is done, please create a [pull request](https://github.com/llvm/llvm-project/compare) https://github.com/l

[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

2024-10-04 Thread via cfe-commits
bd1976bris wrote: /cherry-pick d2051919bb42087ebde2a8bdcd5b2676ad16d8eb https://github.com/llvm/llvm-project/pull/110986 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

2024-10-04 Thread via cfe-commits
bd1976bris wrote: /cherry-pick d205191 https://github.com/llvm/llvm-project/pull/110986 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

2024-10-04 Thread via cfe-commits
https://github.com/bd1976bris milestoned https://github.com/llvm/llvm-project/pull/110986 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

2024-10-04 Thread via cfe-commits
https://github.com/bd1976bris closed https://github.com/llvm/llvm-project/pull/110986 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

2024-10-04 Thread Timm Baeder via cfe-commits
tbaederr wrote: Generally LGTM. https://github.com/llvm/llvm-project/pull/110986 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

2024-10-04 Thread via cfe-commits
https://github.com/bd1976bris updated https://github.com/llvm/llvm-project/pull/110986 >From 2579ce88f4e757e068621e1763d3aabb5352a223 Mon Sep 17 00:00:00 2001 From: bd1976bris Date: Thu, 3 Oct 2024 12:33:18 +0100 Subject: [PATCH 1/3] [MSVC] work-around for compile time issue 102513 Disable opt

[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

2024-10-03 Thread Reid Kleckner via cfe-commits
https://github.com/rnk edited https://github.com/llvm/llvm-project/pull/110986 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

2024-10-03 Thread Reid Kleckner via cfe-commits
@@ -1430,6 +1434,10 @@ bool Interpret(InterpState &S, APValue &Result) { } } } +// https://github.com/llvm/llvm-project/issues/102513 +#if defined(_MSC_VER) rnk wrote: Please make the ifdef conditions match, or define your own macro like DEOPTIMIZE_SWIT

[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

2024-10-03 Thread Reid Kleckner via cfe-commits
https://github.com/rnk commented: Thanks! https://github.com/llvm/llvm-project/pull/110986 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

2024-10-03 Thread via cfe-commits
https://github.com/bd1976bris edited https://github.com/llvm/llvm-project/pull/110986 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

2024-10-03 Thread via cfe-commits
https://github.com/bd1976bris updated https://github.com/llvm/llvm-project/pull/110986 >From 2579ce88f4e757e068621e1763d3aabb5352a223 Mon Sep 17 00:00:00 2001 From: bd1976bris Date: Thu, 3 Oct 2024 12:33:18 +0100 Subject: [PATCH 1/2] [MSVC] work-around for compile time issue 102513 Disable opt

[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

2024-10-03 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 7506872afc6c1cc7556eed5128a2030b6eb8ca29 2579ce88f4e757e068621e1763d3aabb5352a223 --e

[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

2024-10-03 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: bd1976bris (bd1976bris) Changes Disable optimizations when building with Microsoft's compiler as it has a bug that causes excessive build times. We do this only when NDEBUG is not defined on the assumption that building without asserts in

[clang] [MSVC] work-around for compile time issue 102513 (PR #110986)

2024-10-03 Thread via cfe-commits
https://github.com/bd1976bris created https://github.com/llvm/llvm-project/pull/110986 Disable optimizations when building with Microsoft's compiler as it has a bug that causes excessive build times. We do this only when NDEBUG is not defined on the assumption that building without asserts ind