diff options
author | Paul Walker <paul.walker@arm.com> | 2023-12-08 13:35:21 +0000 |
---|---|---|
committer | Paul Walker <paul.walker@arm.com> | 2023-12-08 13:49:16 +0000 |
commit | c64385cc8c9d05ee70a6d7c03a8c5f312f63060f (patch) | |
tree | 2a4c99e46abc495f33ea42fd744df84219ebad17 | |
parent | d5e2cbd01a17edeb56aad2f161c76ce3f854676f (diff) | |
download | llvm-c64385cc8c9d05ee70a6d7c03a8c5f312f63060f.zip llvm-c64385cc8c9d05ee70a6d7c03a8c5f312f63060f.tar.gz llvm-c64385cc8c9d05ee70a6d7c03a8c5f312f63060f.tar.bz2 |
[NFC][LLVM] clang-format "struct ValID" within LLParser.h.
-rw-r--r-- | llvm/include/llvm/AsmParser/LLParser.h | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/llvm/include/llvm/AsmParser/LLParser.h b/llvm/include/llvm/AsmParser/LLParser.h index 34bf249..a1f330a 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; |