aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Unix/Unix.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-07-12 21:25:46 +0200
committerNikita Popov <nikita.ppv@gmail.com>2021-07-12 21:57:26 +0200
commit6ac32872ee2fa02bdce54b25641d9a21cfbcfa9a (patch)
treea14f9547dcb3a79574dc37cbbe2977737e9ddb02 /llvm/lib/Support/Unix/Unix.h
parent279c3a5be3b4f3030584033823f19752325d08ce (diff)
downloadllvm-6ac32872ee2fa02bdce54b25641d9a21cfbcfa9a.zip
llvm-6ac32872ee2fa02bdce54b25641d9a21cfbcfa9a.tar.gz
llvm-6ac32872ee2fa02bdce54b25641d9a21cfbcfa9a.tar.bz2
[Attributes] Replace doesAttrKindHaveArgument() (NFC)
This is now the same as isIntAttrKind(), so use that instead, as it does not require manual maintenance. The naming is also more accurate in that both int and type attributes have an argument, but this method was only targeting int attributes. I initially wanted to tighten the AttrBuilder assertion, but we have some in-tree uses that would violate it.
Diffstat (limited to 'llvm/lib/Support/Unix/Unix.h')
0 files changed, 0 insertions, 0 deletions