[clang] [Clang] Drop workaround for old gcc versions (PR #78803)

2024-01-21 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 closed https://github.com/llvm/llvm-project/pull/78803 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Drop workaround for old gcc versions (PR #78803)

2024-01-21 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 updated https://github.com/llvm/llvm-project/pull/78803 >From 6841b80f5baf33ebdf4a9203c9079bffac1d589c Mon Sep 17 00:00:00 2001 From: Yuxuan Chen Date: Fri, 19 Jan 2024 14:41:45 -0800 Subject: [PATCH] Drop workaround for old gcc versions ---

[clang] [Clang] Drop workaround for old gcc versions (PR #78803)

2024-01-21 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 2521e9785dd640920d97b110a8e5b6886e09b851 0587160ab261fed6936481250c0db9d9517ebd49 --

[clang] [Clang] Drop workaround for old gcc versions (PR #78803)

2024-01-21 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 updated https://github.com/llvm/llvm-project/pull/78803 >From f70671fe2c887941e330b1c7a7a2b52ad7926513 Mon Sep 17 00:00:00 2001 From: Yuxuan Chen Date: Fri, 19 Jan 2024 14:41:45 -0800 Subject: [PATCH 1/3] Drop workaround for old gcc versions ---

[clang] [Clang] Drop workaround for old gcc versions (PR #78803)

2024-01-21 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 updated https://github.com/llvm/llvm-project/pull/78803 >From f70671fe2c887941e330b1c7a7a2b52ad7926513 Mon Sep 17 00:00:00 2001 From: Yuxuan Chen Date: Fri, 19 Jan 2024 14:41:45 -0800 Subject: [PATCH 1/2] Drop workaround for old gcc versions ---

[clang] [Clang] Drop workaround for old gcc versions (PR #78803)

2024-01-19 Thread via cfe-commits
@@ -6081,11 +6081,10 @@ QualType TreeTransform::TransformFunctionProtoType(TypeLocBuilder , FunctionProtoTypeLoc TL) { SmallVector ExceptionStorage; - TreeTransform *This = this; // Work around gcc.gnu.org/PR56135.

[clang] [Clang] Drop workaround for old gcc versions (PR #78803)

2024-01-19 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. LGTM modulo nits https://github.com/llvm/llvm-project/pull/78803 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Drop workaround for old gcc versions (PR #78803)

2024-01-19 Thread via cfe-commits
@@ -13637,11 +13636,10 @@ TreeTransform::TransformLambdaExpr(LambdaExpr *E) { auto TransformFunctionProtoTypeLoc = [this](TypeLocBuilder , FunctionProtoTypeLoc FPTL) -> QualType { SmallVector ExceptionStorage; - TreeTransform *This = this; // Work

[clang] [Clang] Drop workaround for old gcc versions (PR #78803)

2024-01-19 Thread via cfe-commits
https://github.com/cor3ntin edited https://github.com/llvm/llvm-project/pull/78803 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Drop workaround for old gcc versions (PR #78803)

2024-01-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Yuxuan Chen (yuxuanchen1997) Changes This workaround existed due to https://gcc.gnu.org/PR56135. The website says that the bug was fixed in GCC 4.8.0 and the latest host toolchain requirement says GCC 7.4. I think it would be very safe

[clang] [Clang] Drop workaround for old gcc versions (PR #78803)

2024-01-19 Thread Yuxuan Chen via cfe-commits
https://github.com/yuxuanchen1997 created https://github.com/llvm/llvm-project/pull/78803 This workaround existed due to https://gcc.gnu.org/PR56135. The website says that the bug was fixed in GCC 4.8.0 and the latest host toolchain requirement says GCC 7.4. I think it would be very safe to