From c64385cc8c9d05ee70a6d7c03a8c5f312f63060f Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Fri, 8 Dec 2023 13:35:21 +0000 Subject: [NFC][LLVM] clang-format "struct ValID" within LLParser.h. --- llvm/include/llvm/AsmParser/LLParser.h | 25 ++++++++++++++++--------- 1 file 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; -- cgit v1.1