Skip to content

Commit 3a5f4b4

Browse files
committed
Fix buildfail on ToT caused by D116110
Remove unused wrapper to fix buildfail because of attribute removal API change. New class was added in D116110 and wrapping of this case is not trivial so removal of unneeded function is the easiest solution.
1 parent 753ad50 commit 3a5f4b4

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

GenXIntrinsics/include/llvmVCWrapper/IR/Attributes.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,6 @@ removeAttributeAtIndex(llvm::LLVMContext &C,
9494
#endif
9595
}
9696

97-
inline llvm::AttributeList
98-
removeAttributesAtIndex(llvm::LLVMContext &C,
99-
const llvm::AttributeList &AttrList, unsigned Index,
100-
const llvm::AttrBuilder &AttrsToRemove) {
101-
#if VC_INTR_LLVM_VERSION_MAJOR >= 14
102-
return AttrList.removeAttributesAtIndex(C, Index, AttrsToRemove);
103-
#else
104-
return AttrList.removeAttributes(C, Index, AttrsToRemove);
105-
#endif
106-
}
107-
10897
} // namespace AttributeList
10998

11099
} // namespace VCINTR

0 commit comments

Comments
 (0)