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

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 26 22:51:31 PDT 2023


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

Can you explain this change? Making Type bigger than it is can have a pretty large impact on the ressource need of clang.

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


More information about the cfe-commits mailing list