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

via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 9 07:13:31 PST 2023


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Nathan Sidwell (urnathan)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/74893.diff


1 Files Affected:

- (modified) clang/include/clang/Basic/TargetInfo.h (-1) 


``````````diff
diff --git a/clang/include/clang/Basic/TargetInfo.h b/clang/include/clang/Basic/TargetInfo.h
index 41f3c2e403cbef..ec0189627dfbd2 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;

``````````

</details>


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


More information about the cfe-commits mailing list