[PATCH] D108723: [M68k][NFC] Fix enum references in the asm parser
Ricky Taylor via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 25 12:53:28 PDT 2021
ricky26 created this revision.
ricky26 added a reviewer: myhsu.
Herald added a subscriber: hiraditya.
ricky26 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Replace references to enum values such as `Kind::Value` with
`MyStruct::Kind::Value` where the struct contains a field like
`Kind Kind;`.
This fixes compilation of the parser on GCC 5, where the ambiguity
is an error.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108723
Files:
llvm/lib/Target/M68k/AsmParser/M68kAsmParser.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108723.368709.patch
Type: text/x-patch
Size: 4059 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210825/1cde9fc9/attachment.bin>
More information about the llvm-commits
mailing list