[all-commits] [llvm/llvm-project] d575f8: MCFixup: Make MCFixupKind a type alias
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Jul 5 14:20:03 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d575f802104f8fc28a42268608881cc1ce96033e
https://github.com/llvm/llvm-project/commit/d575f802104f8fc28a42268608881cc1ce96033e
Author: Fangrui Song <i at maskray.me>
Date: 2025-07-05 (Sat, 05 Jul 2025)
Changed paths:
M llvm/include/llvm/MC/MCFixup.h
M llvm/lib/Target/Xtensa/MCTargetDesc/XtensaAsmBackend.cpp
Log Message:
-----------
MCFixup: Make MCFixupKind a type alias
The unscoped enumeration contains a fix generic kinds (e.g. FK_Data_).
However, most fixup kinds are target-specific (including relocation
code) and lead to a lot of casts. Make MCFixupKind a type alias instead.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list