[clang] [clang] Adjust TargetInfo bitfield (PR #74893)

Nathan Sidwell via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 8 14:47:28 PST 2023


https://github.com/urnathan created https://github.com/llvm/llvm-project/pull/74893

An 8 bit bitfield with preferred bool type? Seems confused.

>From f7cac332123f6ea6c78dcffbcac2d58f356b6396 Mon Sep 17 00:00:00 2001
From: Nathan Sidwell <nathan at acm.org>
Date: Fri, 8 Dec 2023 17:43:22 -0500
Subject: [PATCH] [clang] Adjust TargetInfo bitfield

An 8 bit bitfield with preferred bool type? Seems confused.
---
 clang/include/clang/Basic/TargetInfo.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/clang/include/clang/Basic/TargetInfo.h b/clang/include/clang/Basic/TargetInfo.h
index 41f3c2e403cbe..ec0189627dfbd 100644
--- a/clang/include/clang/Basic/TargetInfo.h
+++ b/clang/include/clang/Basic/TargetInfo.h
@@ -266,7 +266,6 @@ class TargetInfo : public TransferrableTargetInfo,
   LLVM_PREFERRED_TYPE(bool)
   unsigned AllowAMDGPUUnsafeFPAtomics : 1;
 
-  LLVM_PREFERRED_TYPE(bool)
   unsigned ARMCDECoprocMask : 8;
 
   unsigned MaxOpenCLWorkGroupSize;



More information about the cfe-commits mailing list