This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Factor out function to detect if an attribute has an argument.
ClosedPublic

Authored by Tyker on Jan 16 2020, 3:10 PM.

Diff Detail

Event Timeline

Tyker created this revision.Jan 16 2020, 3:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 16 2020, 3:10 PM
jdoerfert accepted this revision.Jan 16 2020, 3:58 PM

LGTM with one small nit

llvm/include/llvm/IR/Attributes.h
114

Nit: iff means if and only if usually, just remove one f

This revision is now accepted and ready to land.Jan 16 2020, 3:58 PM
Tyker updated this revision to Diff 239443.Jan 21 2020, 3:24 PM
This revision was automatically updated to reflect the committed changes.