Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[M68k][NFC] Rename M68kOperand::Kind to KindTy #112

Merged

Commits on Aug 25, 2021

  1. [M68k][NFC] Rename M68kOperand::Kind to KindTy

    Rename the M68kOperand::Type enumeration to KindTy to avoid ambiguity
    with the Kind field when referencing enumeration values e.g.
    `Kind::Value`.
    
    This works around a compilation error under GCC 5, where GCC won't
    lookup enum class values if you have a similarly named field
    (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60994).
    
    The error in question is:
    `M68kAsmParser.cpp:857:8: error: 'Kind' is not a class, namespace, or enumeration`
    
    Differential Revision: https://reviews.llvm.org/D108723
    ricky26 committed Aug 25, 2021
    Configuration menu
    Copy the full SHA
    3619e1b View commit details
    Browse the repository at this point in the history