[clang] b89aadf - [clang][NFC] Annotate `TemplateName.h` with `preferred_type`

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 5 22:36:04 PST 2023


Author: Vlad Serebrennikov
Date: 2023-11-06T09:35:57+03:00
New Revision: b89aadf084feb025c2625f7bf7e206d666035ab1

URL: https://github.com/llvm/llvm-project/commit/b89aadf084feb025c2625f7bf7e206d666035ab1
DIFF: https://github.com/llvm/llvm-project/commit/b89aadf084feb025c2625f7bf7e206d666035ab1.diff

LOG: [clang][NFC] Annotate `TemplateName.h` with `preferred_type`

Added: 
    

Modified: 
    clang/include/clang/AST/TemplateName.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/AST/TemplateName.h b/clang/include/clang/AST/TemplateName.h
index d56361b50059637..b7732e54ba1079f 100644
--- a/clang/include/clang/AST/TemplateName.h
+++ b/clang/include/clang/AST/TemplateName.h
@@ -55,7 +55,7 @@ class UncommonTemplateNameStorage {
   };
 
   struct BitsTag {
-    /// A Kind.
+    LLVM_PREFERRED_TYPE(Kind)
     unsigned Kind : 2;
 
     // The template parameter index.


        


More information about the cfe-commits mailing list