clover/llvm: Fix FTBFS with LLVM 14: hasAttribute() has been removed upstream
hasAttribute()
in llvm::AttributeList
is gone, use hasParamAttr()
instead.
This fixes an FTBFS.
This is similar to !12715 (merged)
Signed-off-by: Kai Wasserbäch kai@dev.carbon-project.org
Edited by Kai Wasserbäch