Skip to content

Commit d912433

Browse files
committed
[clang][NFC] Annotate Sema/DelayedDiagnostic.h with preferred_type
This helps debuggers to display values in bit-fields in a more helpful way.
1 parent c2f9885 commit d912433

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/include/clang/Sema/DelayedDiagnostic.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ class AccessedEntity {
111111
}
112112

113113
private:
114+
LLVM_PREFERRED_TYPE(AccessSpecifier)
114115
unsigned Access : 2;
116+
LLVM_PREFERRED_TYPE(bool)
115117
unsigned IsMember : 1;
116118
NamedDecl *Target;
117119
CXXRecordDecl *NamingClass;

0 commit comments

Comments
 (0)