Skip to content

Commit

Permalink
[clang][NFC] Annotate Sema/DelayedDiagnostic.h with preferred_type
Browse files Browse the repository at this point in the history
This helps debuggers to display values in bit-fields in a more helpful way.
  • Loading branch information
Endilll committed Feb 11, 2024
1 parent c2f9885 commit d912433
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clang/include/clang/Sema/DelayedDiagnostic.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ class AccessedEntity {
}

private:
LLVM_PREFERRED_TYPE(AccessSpecifier)
unsigned Access : 2;
LLVM_PREFERRED_TYPE(bool)
unsigned IsMember : 1;
NamedDecl *Target;
CXXRecordDecl *NamingClass;
Expand Down

0 comments on commit d912433

Please sign in to comment.