OSDN Git Service

[NFC] Factor out function to detect if an attribute has an argument.
authorTyker <tyker1@outlook.com>
Sun, 2 Feb 2020 13:47:00 +0000 (14:47 +0100)
committerTyker <tyker1@outlook.com>
Sun, 2 Feb 2020 13:50:31 +0000 (14:50 +0100)
commitff1b9add2ffd47abc649895e33b3e5c30d6f2079
tree30a02a6ab95e2cd3e9262a61d5b2cef0d2a75aff
parent2ff5602cb52969d3273062f36340fe95ac4e82da
[NFC] Factor out function to detect if an attribute has an argument.

Reviewers: jdoerfert

Reviewed By: jdoerfert

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72884
llvm/include/llvm/IR/Attributes.h
llvm/lib/IR/AttributeImpl.h
llvm/lib/IR/Attributes.cpp
llvm/lib/IR/Verifier.cpp
llvm/lib/Transforms/Utils/KnowledgeRetention.cpp