[clang] [clang][NFC] Annotate `Type` bit-fields with `clang::preferred_type` (PR #70349)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 26 23:06:26 PDT 2023
================
@@ -20,7 +20,7 @@ namespace clang {
/// Describes the different kinds of linkage
/// (C++ [basic.link], C99 6.2.2) that an entity may have.
-enum Linkage : unsigned char {
+enum Linkage : unsigned {
----------------
Endilll wrote:
This case is similar to `TypeDependence` we discuss in another thread, except that I can't find references to this type in data member declaration in our headers, which suggests that bit-field it stored in has hard-coded width, and has nothing to do with underlying type declared here.
https://github.com/llvm/llvm-project/pull/70349
More information about the cfe-commits
mailing list