[PATCH] D152069: [1/11][Clang][Type] Expand BuiltinTypeBits from 8 to 9 bits

Yueh-Ting (eop) Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 8 09:39:17 PDT 2023


eopXD updated this revision to Diff 529640.
eopXD added a comment.

Rebase upon landing of D152429 <https://reviews.llvm.org/D152429>.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152069/new/

https://reviews.llvm.org/D152069

Files:
  clang/include/clang/AST/Type.h


Index: clang/include/clang/AST/Type.h
===================================================================
--- clang/include/clang/AST/Type.h
+++ clang/include/clang/AST/Type.h
@@ -1649,7 +1649,7 @@
     unsigned : NumTypeBits;
 
     /// The kind (BuiltinType::Kind) of builtin type this is.
-    static constexpr unsigned NumOfBuiltinTypeBits = 8;
+    static constexpr unsigned NumOfBuiltinTypeBits = 9;
     unsigned Kind : NumOfBuiltinTypeBits;
   };
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152069.529640.patch
Type: text/x-patch
Size: 457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230608/0fba0056/attachment.bin>


More information about the cfe-commits mailing list