Author: Vlad Serebrennikov Date: 2024-02-11T11:46:51+03:00 New Revision: 956722698172a806652ca8e2dba0a783a1c3d593
URL: https://github.com/llvm/llvm-project/commit/956722698172a806652ca8e2dba0a783a1c3d593 DIFF: https://github.com/llvm/llvm-project/commit/956722698172a806652ca8e2dba0a783a1c3d593.diff LOG: [clang][NFC] Annotate `CodeCompletionConsumer.h` with `preferred_type` This helps debuggers to display values in bit-fields in a more helpful way. Added: Modified: clang/include/clang/Sema/CodeCompleteConsumer.h Removed: ################################################################################ diff --git a/clang/include/clang/Sema/CodeCompleteConsumer.h b/clang/include/clang/Sema/CodeCompleteConsumer.h index 274eaac819af1b..a2028e40f83d54 100644 --- a/clang/include/clang/Sema/CodeCompleteConsumer.h +++ b/clang/include/clang/Sema/CodeCompleteConsumer.h @@ -581,6 +581,7 @@ class CodeCompletionString { unsigned Priority : 16; /// The availability of this code-completion result. + LLVM_PREFERRED_TYPE(CXAvailabilityKind) unsigned Availability : 2; /// The name of the parent context. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits