We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bcd4d8 commit 2c49301Copy full SHA for 2c49301
llvm/include/llvm/IR/DerivedTypes.h
@@ -330,13 +330,6 @@ class StructType : public Type {
330
/// recursive.
331
Error checkBody(ArrayRef<Type *> Elements);
332
333
- template <typename... Tys>
334
- std::enable_if_t<are_base_of<Type, Tys...>::value, void>
335
- setBody(Type *elt1, Tys *... elts) {
336
- assert(elt1 && "Cannot create a struct type with no elements with this");
337
- setBody(ArrayRef<Type *>({elt1, elts...}));
338
- }
339
-
340
/// Return true if the specified type is valid as a element type.
341
static bool isValidElementType(Type *ElemTy);
342
0 commit comments