mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-30 02:46:06 +00:00

Add hasParamAttribute() and use it instead of hasAttribute(ArgNo+1, Kind) everywhere. The fact that the AttributeList index for an argument is ArgNo+1 should be a hidden implementation detail. NFC llvm-svn: 300272