[clang] 1ee8107 - [clang][NFC] Annotate `ASTReader.h` with `preferred_type`
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 11 00:52:23 PST 2024
Author: Vlad Serebrennikov
Date: 2024-02-11T11:52:10+03:00
New Revision: 1ee81076388078cb0cb1fbc90ad374fceafd0c98
URL: https://github.com/llvm/llvm-project/commit/1ee81076388078cb0cb1fbc90ad374fceafd0c98
DIFF: https://github.com/llvm/llvm-project/commit/1ee81076388078cb0cb1fbc90ad374fceafd0c98.diff
LOG: [clang][NFC] Annotate `ASTReader.h` with `preferred_type`
This helps debuggers to display values in bit-fields in a more helpful way.
Added:
Modified:
clang/include/clang/Serialization/ASTReader.h
Removed:
################################################################################
diff --git a/clang/include/clang/Serialization/ASTReader.h b/clang/include/clang/Serialization/ASTReader.h
index a4c7f54ab9e8b5..2002bf23c9595f 100644
--- a/clang/include/clang/Serialization/ASTReader.h
+++ b/clang/include/clang/Serialization/ASTReader.h
@@ -721,6 +721,7 @@ class ASTReader
unsigned ID;
/// Whether this is a wildcard export.
+ LLVM_PREFERRED_TYPE(bool)
unsigned IsWildcard : 1;
/// String data.
More information about the cfe-commits
mailing list