This is an archive of the discontinued LLVM Phabricator instance.

[LLD] NFC: Fixed GCC warning in ELF/Arch/RISCV.cpp
ClosedPublic

Authored by dendibakh on Jul 8 2019, 4:24 PM.

Details

Summary

GCC emits warning on this line:
error: enumeral and non-enumeral type in conditional
expression [-Werror=extra]

Diff Detail

Event Timeline

dendibakh created this revision.Jul 8 2019, 4:24 PM
Herald added a project: Restricted Project. · View Herald Transcript
MaskRay accepted this revision.Jul 8 2019, 5:29 PM
This revision is now accepted and ready to land.Jul 8 2019, 5:29 PM