Skip to content

Commit

Permalink
[NFC][LLVM] clang-format "struct ValID" within LLParser.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulwalker-arm committed Dec 8, 2023
1 parent d5e2cbd commit c64385c
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions llvm/include/llvm/AsmParser/LLParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c64385c

Please sign in to comment.