[llvm] [clang] [clang][NFC] Annotate `Type` bit-fields with `clang::preferred_type` (PR #70349)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 31 08:13:29 PDT 2023


================
@@ -49,7 +49,7 @@ struct ExprDependenceScope {
 using ExprDependence = ExprDependenceScope::ExprDependence;
 
 struct TypeDependenceScope {
-  enum TypeDependence : uint8_t {
+  enum TypeDependence : unsigned {
----------------
Endilll wrote:

Yeah, I'm putting this on hold for a bit, and refactor enumerations in NFC commits, so that this PR lands without "holes" because some enums are not complete at the point where I put `preferred_type`. After that underlying type changes this PR does shouldn't be necessary anymore.

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


More information about the cfe-commits mailing list