[clang] ba0d351 - [clang][NFC] Annotate `CGCall.h` with `preferred_type`
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 11 01:05:05 PST 2024
Author: Vlad Serebrennikov
Date: 2024-02-11T12:04:55+03:00
New Revision: ba0d35181cef094209306207dc6e3fa816ddde36
URL: https://github.com/llvm/llvm-project/commit/ba0d35181cef094209306207dc6e3fa816ddde36
DIFF: https://github.com/llvm/llvm-project/commit/ba0d35181cef094209306207dc6e3fa816ddde36.diff
LOG: [clang][NFC] Annotate `CGCall.h` with `preferred_type`
This helps debuggers to display values in bit-fields in a more helpful way.
Added:
Modified:
clang/lib/CodeGen/CGCall.h
Removed:
################################################################################
diff --git a/clang/lib/CodeGen/CGCall.h b/clang/lib/CodeGen/CGCall.h
index 1c0d15dc932ad8..1bd48a07259307 100644
--- a/clang/lib/CodeGen/CGCall.h
+++ b/clang/lib/CodeGen/CGCall.h
@@ -357,8 +357,11 @@ class ReturnValueSlot {
Address Addr = Address::invalid();
// Return value slot flags
+ LLVM_PREFERRED_TYPE(bool)
unsigned IsVolatile : 1;
+ LLVM_PREFERRED_TYPE(bool)
unsigned IsUnused : 1;
+ LLVM_PREFERRED_TYPE(bool)
unsigned IsExternallyDestructed : 1;
public:
More information about the cfe-commits
mailing list