Author: Vlad Serebrennikov Date: 2023-11-06T10:04:21+03:00 New Revision: a5d25708616d692592e705a0913afd78237698af
URL: https://github.com/llvm/llvm-project/commit/a5d25708616d692592e705a0913afd78237698af DIFF: https://github.com/llvm/llvm-project/commit/a5d25708616d692592e705a0913afd78237698af.diff LOG: [clang][NFC] Annotate ``DependentDiagnostic.h` with `preferred_type` Added: Modified: clang/include/clang/AST/DependentDiagnostic.h Removed: ################################################################################ diff --git a/clang/include/clang/AST/DependentDiagnostic.h b/clang/include/clang/AST/DependentDiagnostic.h index 18276d54d540471..cadf970620041e6 100644 --- a/clang/include/clang/AST/DependentDiagnostic.h +++ b/clang/include/clang/AST/DependentDiagnostic.h @@ -113,7 +113,9 @@ class DependentDiagnostic { struct { SourceLocation Loc; + LLVM_PREFERRED_TYPE(AccessSpecifier) unsigned Access : 2; + LLVM_PREFERRED_TYPE(bool) unsigned IsMember : 1; NamedDecl *TargetDecl; CXXRecordDecl *NamingClass; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits