[llvm] c64385c - [NFC][LLVM] clang-format "struct ValID" within LLParser.h.

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 8 06:07:00 PST 2023


Author: Paul Walker
Date: 2023-12-08T13:49:16Z
New Revision: c64385cc8c9d05ee70a6d7c03a8c5f312f63060f

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

LOG: [NFC][LLVM] clang-format "struct ValID" within LLParser.h.

Added: 
    

Modified: 
    llvm/include/llvm/AsmParser/LLParser.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/AsmParser/LLParser.h b/llvm/include/llvm/AsmParser/LLParser.h
index 34bf249cc6d1e..a1f330acb1c23 100644
--- a/llvm/include/llvm/AsmParser/LLParser.h
+++ b/llvm/include/llvm/AsmParser/LLParser.h
@@ -51,15 +51,22 @@ namespace llvm {
   /// or a symbolic (%var) reference.  This is just a discriminated union.
   struct ValID {
     enum {
-      t_LocalID, t_GlobalID,           // ID in UIntVal.
-      t_LocalName, t_GlobalName,       // Name in StrVal.
-      t_APSInt, t_APFloat,             // Value in APSIntVal/APFloatVal.
-      t_Null, t_Undef, t_Zero, t_None, t_Poison, // No value.
-      t_EmptyArray,                    // No value:  []
-      t_Constant,                      // Value in ConstantVal.
-      t_InlineAsm,                     // Value in FTy/StrVal/StrVal2/UIntVal.
-      t_ConstantStruct,                // Value in ConstantStructElts.
-      t_PackedConstantStruct           // Value in ConstantStructElts.
+      t_LocalID,             // ID in UIntVal.
+      t_GlobalID,            // ID in UIntVal.
+      t_LocalName,           // Name in StrVal.
+      t_GlobalName,          // Name in StrVal.
+      t_APSInt,              // Value in APSIntVal.
+      t_APFloat,             // Value in APFloatVal.
+      t_Null,                // No value.
+      t_Undef,               // No value.
+      t_Zero,                // No value.
+      t_None,                // No value.
+      t_Poison,              // No value.
+      t_EmptyArray,          // No value:  []
+      t_Constant,            // Value in ConstantVal.
+      t_InlineAsm,           // Value in FTy/StrVal/StrVal2/UIntVal.
+      t_ConstantStruct,      // Value in ConstantStructElts.
+      t_PackedConstantStruct // Value in ConstantStructElts.
     } Kind = t_LocalID;
 
     LLLexer::LocTy Loc;


        


More information about the llvm-commits mailing list