[clang] a5d2570 - [clang][NFC] Annotate ``DependentDiagnostic.h` with `preferred_type`
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 5 23:04:27 PST 2023
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;
More information about the cfe-commits
mailing list